From 9d2b25cc3964faf906899e298b99acf9217e2512 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Tue, 10 Dec 2024 11:38:34 -0600 Subject: [PATCH] add bg color to disabled tabs and move badge out to tabs-end slot --- .../WorkflowInvocationState.vue | 63 ++++++++----------- 1 file changed, 27 insertions(+), 36 deletions(-) diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue index facd043fdffd..741702b1cdc2 100644 --- a/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue +++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue @@ -78,11 +78,11 @@ const tabsDisabled = computed( const disabledTabTooltip = computed(() => { const state = invocationState.value; if (state != "scheduled") { - return `This workflow is not currently scheduled. The current state is ${state}. Once the workflow is fully scheduled and jobs have complete this option will become available.`; + return `This workflow is not currently scheduled. The current state is ${state}. Once the workflow is fully scheduled and jobs have complete any disabled tabs will become available.`; } else if (runningCount.value != 0) { - return `The workflow invocation still contains ${runningCount.value} running job(s). Once these jobs have completed this option will become available.`; + return `The workflow invocation still contains ${runningCount.value} running job(s). Once these jobs have completed any disabled tabs will become available.`; } else { - return "Steps for this workflow are still running. This option will be available once complete."; + return "Steps for this workflow are still running. Any disabled tabs will be available once complete."; } }); @@ -332,33 +332,14 @@ async function onCancel() { --> - - - +
@@ -367,17 +348,27 @@ async function onCancel() {
@@ -397,7 +388,7 @@ async function onCancel() { .invocation-report-tab, .invocation-export-tab { .nav-link.disabled { - pointer-events: auto !important; + background-color: #e9edf0; } }