From 172e05af3e5644d05ae0e8e3658d83a243ebbb27 Mon Sep 17 00:00:00 2001 From: indigo Date: Mon, 20 Jul 2026 11:11:32 +0800 Subject: [PATCH] Redesign shot detail panel notes: aggregated composer, filters, submission notes Extracts a new ShotNotes.vue component (mirroring TaskNotes.vue) with a pinned bottom composer, multi-select task filter, newest/oldest sort, and toggleable client-only / submission-notes filters. Notes now merge production notes with each task's submission notes into one chronological, absolute-timestamped (y/m/d H:M:S) list. Required restructuring ShotDetailPanel's outer layout to the same bounded flex-column pattern TaskDetailPanel already uses, since a properly pinned composer needs a min-h-0 flex chain that the old single-scroll wrapper didn't provide. NoteItem.vue gains optional dateFormat and hideClientBadge props (both default to prior behavior, so TaskDetailPanel is unaffected), compacts Edit/Delete to icon-only, and the Client badge is now orange/white instead of a plain outline. Co-Authored-By: Claude Sonnet 5 --- .../src/components/shot/ShotDetailPanel.vue | 151 ++----- frontend/src/components/shot/ShotNotes.vue | 372 ++++++++++++++++++ frontend/src/components/task/NoteItem.vue | 24 +- 3 files changed, 425 insertions(+), 122 deletions(-) create mode 100644 frontend/src/components/shot/ShotNotes.vue diff --git a/frontend/src/components/shot/ShotDetailPanel.vue b/frontend/src/components/shot/ShotDetailPanel.vue index ad872f3..c8aaa80 100644 --- a/frontend/src/components/shot/ShotDetailPanel.vue +++ b/frontend/src/components/shot/ShotDetailPanel.vue @@ -10,8 +10,8 @@ /> -
- +
+