From 53c6b3e4136830fd24cf8c5f8d6208a29d1fc4d6 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Fri, 6 Nov 2026 23:52:25 +1100 Subject: [PATCH] fix(ui): disabled reasons and truncated values reachable without hover (#1752) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disabled New run and task-row buttons now carry their reason in a Tooltip on a focusable wrapper (disabled buttons cannot take focus), and New run says when the task list has not loaded. Truncated values (binding filter and failure reason, activity rows, live alerts, event-type rule summaries, source URLs, mapping field paths) are focusable spans whose full text is in a Tooltip. The org switcher has distinct loading ('…' tile, 'Loading…') and failed ('!' tile, 'Organisations unavailable') states. --- ui/src/bindings/BindingRow.vue | 25 +++++++++++++---------- ui/src/captures/EventTypesCard.vue | 11 +++------- ui/src/components/TeamSwitcher.vue | 4 ++-- ui/src/dashboard/ActivityRow.vue | 12 ++++++----- ui/src/dashboard/LiveActivityCard.vue | 23 ++++++++++++--------- ui/src/mappings/MappingFieldRow.vue | 5 ++--- ui/src/sources/SourcesPanel.vue | 2 +- ui/src/tasks/StartNewRun.vue | 29 +++++++++++++++++---------- ui/src/tasks/TaskRowActions.vue | 18 ++++++++--------- 9 files changed, 69 insertions(+), 60 deletions(-) diff --git a/ui/src/bindings/BindingRow.vue b/ui/src/bindings/BindingRow.vue index e4e7eb2b0..9e1066635 100644 --- a/ui/src/bindings/BindingRow.vue +++ b/ui/src/bindings/BindingRow.vue @@ -3,6 +3,7 @@ import { computed } from "vue"; import { Check, Pause, Pencil, Play, Trash2 } from "@lucide/vue"; import { Badge } from "@/components/ui/badge"; +import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"; import { Button } from "@/components/ui/button"; import { DropdownMenuItem } from "@/components/ui/dropdown-menu"; import { MoreMenu } from "@/components/ui/more-menu"; @@ -51,22 +52,24 @@ const emit = defineEmits<{ Unsigned - - {{ props.binding.filter || "–" }} + + + + {{ props.binding.filter || "–" }} + + {{ props.binding.filter }} +
{{ props.binding.workflow || "–" }} Disabled - Not dispatching + + + Not dispatching + + {{ props.binding.last_outcome?.reason }} +
{{ diff --git a/ui/src/captures/EventTypesCard.vue b/ui/src/captures/EventTypesCard.vue index 1362a5c7a..81a19cace 100644 --- a/ui/src/captures/EventTypesCard.vue +++ b/ui/src/captures/EventTypesCard.vue @@ -1,5 +1,6 @@