From 762bd34f74afb36245ab5075f8c11d24fc3b6792 Mon Sep 17 00:00:00 2001 From: indigo Date: Sun, 19 Jul 2026 00:00:11 +0800 Subject: [PATCH] Redesign note display as message cards; fix reply and Textarea v-model bugs - NoteItem.vue: render each note as a rounded card (own notes tinted) instead of a flat list row. - TaskNotes.vue: show a "Replying to X" banner with cancel and auto-focus the composer when Reply is clicked, so replying is actually visible instead of silently setting hidden state. - ShotDetailPanel/ShotBrowser/TaskDetailPanel: carry the target note id through select-task so replying from the shot-level aggregated notes view pre-fills the reply in the destination task's panel instead of just switching tabs. - Textarea.vue: fix v-model, which was never wired up (modelValue/ update:modelValue fell through as dead attrs on the native textarea), so typed content never reached the bound ref anywhere it's used - notes, submissions, and shot/asset/episode/project description fields. - AssetDetailPanel/ShotDetailPanel/TaskDetailPanel: drop the header status badge and switch tab labels to icons (with an unread-style badge on Notes), fixing the TabsTrigger clipping/vertical alignment it introduced. --- .../src/components/asset/AssetDetailPanel.vue | 37 ++-- frontend/src/components/shot/ShotBrowser.vue | 6 +- .../src/components/shot/ShotDetailPanel.vue | 166 ++++++++++++------ frontend/src/components/task/NoteItem.vue | 62 ++++--- .../src/components/task/TaskDetailPanel.vue | 49 ++++-- frontend/src/components/task/TaskNotes.vue | 59 ++++++- .../src/components/ui/tabs/TabsTrigger.vue | 2 +- .../src/components/ui/textarea/Textarea.vue | 14 +- 8 files changed, 262 insertions(+), 133 deletions(-) diff --git a/frontend/src/components/asset/AssetDetailPanel.vue b/frontend/src/components/asset/AssetDetailPanel.vue index 69a7327..30fac7c 100644 --- a/frontend/src/components/asset/AssetDetailPanel.vue +++ b/frontend/src/components/asset/AssetDetailPanel.vue @@ -13,13 +13,6 @@