From 68f8411f06eb6564a27d67dea99a54f536babad3 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Fri, 21 Oct 2022 17:25:23 +0100 Subject: [PATCH 1/4] Use logical order for task state filter dropdown Simplify filtering code --- src/components/cylc/tree/Tree.vue | 66 ++++-------- tests/e2e/specs/tree.cy.js | 36 ++----- .../components/cylc/tree/tree.vue.spec.js | 102 +----------------- 3 files changed, 35 insertions(+), 169 deletions(-) diff --git a/src/components/cylc/tree/Tree.vue b/src/components/cylc/tree/Tree.vue index 1b4bd35dc..f63e7cf7b 100644 --- a/src/components/cylc/tree/Tree.vue +++ b/src/components/cylc/tree/Tree.vue @@ -70,19 +70,19 @@ along with this program. If not, see . @change="filterTasks" > @@ -159,9 +159,8 @@ along with this program. If not, see . diff --git a/src/components/cylc/table/Table.vue b/src/components/cylc/table/Table.vue index 0132cefd6..7714e0b86 100644 --- a/src/components/cylc/table/Table.vue +++ b/src/components/cylc/table/Table.vue @@ -29,62 +29,7 @@ along with this program. If not, see . v-if="filterable" class="" > - - - - - - - - - - - + . diff --git a/src/components/cylc/tree/Tree.vue b/src/components/cylc/tree/Tree.vue index 63924f8ab..871df4852 100644 --- a/src/components/cylc/tree/Tree.vue +++ b/src/components/cylc/tree/Tree.vue @@ -29,64 +29,7 @@ along with this program. If not, see . v-if="filterable" class="grow" > - - - - - - - - - - - + .