- `FileBrowserModal`: adds full file browser to modal view with multi-select, row/grid/list view toggle, sorting, path breadcrumb navigation, and inline path editing; wires it into `TaskDetailModal` attachment panel - `TaskDetailModal`: adds attachment management tab with drag-and-drop file picker backed by the new FileBrowserModal; includes responsive CSS reflow for attachment list - `QuickChatFAB`: restyles the FAB toggle and collapse animation; adds compact header control variant with consistent icon/button sizing - `TaskDetailModal.css`, `QuickChatFAB.css`, `FileBrowser.css`: sizing and alignment refinements across header controls and FAB transitions - `task.ts`: adds `getFilesDiff()` helper exported for use by the dashboard attachment panel - Tests added for `FileBrowserModal`, `QuickChatFAB`, and `TaskDetailModal` attachment flow; `task.test.ts` covers the new `getFilesDiff()` function - Minor `docs/cli-reference.md` update Commits merged: - feat(FN-2972): complete Step 3 — align header control sizing - fix(FN-2972): complete Step 2 — align header toggle control sizing - test(FN-2972): complete Step 3 — cover compact header controls - feat(FN-2972): complete Step 2 — compact quick chat header controls - feat(FN-2972): complete Step 1 — move mode toggle into header actions - feat(FN-2973): merge fusion/fn-2973 - feat(FN-2924): merge fusion/fn-2924 Files changed: docs/cli-reference.md | 3 +- packages/cli/src/commands/__tests__/task.test.ts | 44 ++++- packages/cli/src/commands/task.ts | 55 ++++++ packages/dashboard/app/components/FileBrowser.css | 65 +++++-- .../dashboard/app/components/FileBrowserModal.tsx | 106 ++++++++++- packages/dashboard/app/components/QuickChatFAB.css | 60 +++++-- packages/dashboard/app/components/QuickChatFAB.tsx | 65 +++---- .../dashboard/app/components/TaskDetailModal.css | 40 +++++ .../dashboard/app/components/TaskDetailModal.tsx | 82 ++++++++- .../components/__tests__/FileBrowserModal.test.tsx | 195 +++++++++++++++++++++ .../app/components/__tests__/QuickChatFAB.test.tsx | 32 ++++ .../components/__tests__/TaskDetailModal.test.tsx | 81 ++++++++- 12 files changed, 761 insertions(+), 67 deletions(-) Fusion-Task-Id: FN-2972
24 KiB
24 KiB