From f2385fc97516a170dc1dcda2053c89fd01a23844 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Mon, 6 Oct 2025 14:56:40 +0100 Subject: [PATCH 1/2] Fix hit area of task/job icons --- src/components/cylc/table/Table.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/cylc/table/Table.vue b/src/components/cylc/table/Table.vue index 3f66c3ff1..87df61e4a 100644 --- a/src/components/cylc/table/Table.vue +++ b/src/components/cylc/table/Table.vue @@ -33,14 +33,14 @@ along with this program. If not, see . :class="{ 'flow-none': isFlowNone(item.task.node.flowNums) }" :data-cy-task-name="item.task.name" > -
+
-
+
. >
-
+
- #{{ job.node.submitNum }}
+ #{{ job.node.submitNum }}
{{ job.node.platform }} @@ -288,6 +288,11 @@ const taskRunTimes = computed(() => new Map( ]) )) +const jobIconParentProps = { + class: ['d-flex', 'align-center'], + style: { width: '2em' }, +} + const itemsPerPageOptions = [ { value: 10, title: '10' }, { value: 20, title: '20' }, From 94ffc6783587aceb9703560654f8995134a6faa7 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Mon, 6 Oct 2025 15:00:05 +0100 Subject: [PATCH 2/2] Replace task state icons with badges in sidebar --- src/components/cylc/TaskStateBadge.vue | 45 ++++++ src/components/cylc/WarningIcon.vue | 4 +- src/components/cylc/tree/GScanTreeItem.vue | 57 ++----- src/components/cylc/workspace/Toolbar.vue | 2 +- src/styles/cylc/_job.scss | 173 ++++++++------------- 5 files changed, 130 insertions(+), 151 deletions(-) create mode 100644 src/components/cylc/TaskStateBadge.vue diff --git a/src/components/cylc/TaskStateBadge.vue b/src/components/cylc/TaskStateBadge.vue new file mode 100644 index 000000000..6ab4fa288 --- /dev/null +++ b/src/components/cylc/TaskStateBadge.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/src/components/cylc/WarningIcon.vue b/src/components/cylc/WarningIcon.vue index 51eeeb6f3..ef06b6013 100644 --- a/src/components/cylc/WarningIcon.vue +++ b/src/components/cylc/WarningIcon.vue @@ -26,9 +26,8 @@ along with this program. If not, see .