diff --git a/ui/src/workflows/WorkflowEditor.vue b/ui/src/workflows/WorkflowEditor.vue index 4840639f1..8c624c17d 100644 --- a/ui/src/workflows/WorkflowEditor.vue +++ b/ui/src/workflows/WorkflowEditor.vue @@ -297,6 +297,9 @@ const parsed = computed(() => parseWorkflowYaml(yaml.value, vocabulary.value)); const stored = computed(() => collection.value.definitions.find((entry) => entry.id === selected.value)?.yaml); const dirty = computed(() => yaml.value !== (stored.value ?? "")); const changes = computed(() => (dirty.value ? workflowChanges(stored.value ?? "", yaml.value) : [])); +// Disabled buttons swallow hover, so the reason sits on a wrapper's title. +const publishBlocked = computed(() => + archieWorking.value ? "Archie is editing" : !parsed.value.ok ? validationLabel(parsed.value) : !changes.value.length ? "No changes" : undefined); const view = ref("canvas"); // What each step lacks, read the way its editor reads it. const problems = computed(() => @@ -434,8 +437,10 @@ function syncScroll(event: Event): void { Delete workflow - + + +

Loading recent runs…