From f81c38df84b5e86cf8bb28c18ec0a6ba3317e964 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sat, 28 Mar 2026 00:38:04 -0400 Subject: [PATCH] =?UTF-8?q?feat:=20redesign=20BriefingView=20into=203-colu?= =?UTF-8?q?mn=20layout=20(weather=20=C2=B7=20chat=20=C2=B7=20news)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Left column: weather loaded independently via /api/briefing/weather - Center column: chat messages with input bar (unchanged behavior) - Right column: news panel loaded from /api/briefing/news (last 2 days) - Auto-scroll to bottom on mount and after streaming - Background refresh also refreshes news panel - Responsive: stacks to single column on narrow screens - Fix TaskCard.vue to include 'cancelled' in status records Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/TaskCard.vue | 6 + frontend/src/views/BriefingView.vue | 407 ++++++++++++++++++--------- 2 files changed, 274 insertions(+), 139 deletions(-) diff --git a/frontend/src/components/TaskCard.vue b/frontend/src/components/TaskCard.vue index 3a272db..f109e7e 100644 --- a/frontend/src/components/TaskCard.vue +++ b/frontend/src/components/TaskCard.vue @@ -20,18 +20,21 @@ const statusCycle: Record = { todo: "in_progress", in_progress: "done", done: "todo", + cancelled: "todo", }; const statusDotClass: Record = { todo: "dot-todo", in_progress: "dot-in-progress", done: "dot-done", + cancelled: "dot-cancelled", }; const statusTitle: Record = { todo: "Todo — click to mark In Progress", in_progress: "In Progress — click to mark Done", done: "Done — click to mark Todo", + cancelled: "Cancelled — click to mark Todo", }; function cycleStatus() { @@ -152,6 +155,9 @@ function isOverdue(): boolean { .dot-done { background: var(--color-status-done, #22c55e); } +.dot-cancelled { + background: var(--color-status-cancelled, #6b7280); +} .task-title-compact { font-size: 0.9rem; diff --git a/frontend/src/views/BriefingView.vue b/frontend/src/views/BriefingView.vue index 894a868..397c8bf 100644 --- a/frontend/src/views/BriefingView.vue +++ b/frontend/src/views/BriefingView.vue @@ -1,11 +1,12 @@