.
>
-
+
- #{{ 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 @@
+
+
+
+
+ {{ value > 99 ? '99+' : value }}
+
+
+
+
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
.
.
@click="deactivate"
@click.prevent
style="
- vertical-align: middle;
cursor: pointer;
"
:style="[workflow.node.logRecords?.length ? {opacity: 1} : {opacity: 0.3}]"
diff --git a/src/components/cylc/tree/GScanTreeItem.vue b/src/components/cylc/tree/GScanTreeItem.vue
index d29779b2d..9778bb1ee 100644
--- a/src/components/cylc/tree/GScanTreeItem.vue
+++ b/src/components/cylc/tree/GScanTreeItem.vue
@@ -47,37 +47,22 @@ along with this program. If not, see .