From 9d8a5d0c8715ad8f198a22b50c4d5fc1f82602ac Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Aug 2026 15:51:49 +0000 Subject: [PATCH] Add compact single-line layout for Events panel, fix ticket button label Events was the only workflow panel without a compact variant, so it rendered the full card inline on the thread list instead of a streamlined row like the other workflows. Also "View tickets" should be singular since it links to one ticket. --- src/components/WorkflowPanel.vue | 6 +++--- src/components/panels/EventsPanel.vue | 25 ++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/src/components/WorkflowPanel.vue b/src/components/WorkflowPanel.vue index ac51c1e..d493f12 100644 --- a/src/components/WorkflowPanel.vue +++ b/src/components/WorkflowPanel.vue @@ -88,7 +88,7 @@ const showUnsubscribeFooter = computed(() => - +
@@ -119,7 +119,7 @@ const showUnsubscribeFooter = computed(() => - +
Don't want emails like this? @@ -148,7 +148,7 @@ const showUnsubscribeFooter = computed(() => - + diff --git a/src/components/panels/EventsPanel.vue b/src/components/panels/EventsPanel.vue index ac061d6..f196785 100644 --- a/src/components/panels/EventsPanel.vue +++ b/src/components/panels/EventsPanel.vue @@ -4,7 +4,7 @@ import type { EventsData } from '@/types/server' import { useClipboard } from '@/composables/useClipboard' import { formatResourceDate, dayKey } from '@/lib/resourceDate' -const props = defineProps<{ data: EventsData }>() +const props = defineProps<{ data: EventsData; compact?: boolean }>() const { copied, copy } = useClipboard() const typeLabel: Record = { @@ -40,7 +40,26 @@ const eventDateLabel = computed(() => {