Make pending task images compact and inspectable across task creation surfaces. - Extract shared pending-image thumbnail controls for Quick Add, Task Form, and inline creation. - Open full images in a responsive, movable, resizable FloatingWindow with Escape focus restoration. - Add styling, coverage, operator documentation, and a minor changeset. Files changed: .changeset/fn-8037-image-preview-modal.md | 7 ++ docs/dashboard-guide.md | 4 +- .../quick-entry-image-preview-modal.test.tsx | 60 ++++++++++ .../dashboard/app/components/FloatingWindow.css | 22 ++++ .../dashboard/app/components/InlineCreateCard.css | 14 ++- .../dashboard/app/components/InlineCreateCard.tsx | 26 ++--- .../app/components/PendingImagePreviews.css | 35 ++++++ .../app/components/PendingImagePreviews.tsx | 121 +++++++++++++++++++++ .../dashboard/app/components/QuickEntryBox.tsx | 27 ++--- packages/dashboard/app/components/TaskForm.tsx | 26 ++--- 10 files changed, 280 insertions(+), 62 deletions(-) Fusion-Task-Id: FN-8037 Fusion-Task-Lineage: 3d92f695-67c9-4791-bfcc-ad25f6aa56f4 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
6.2 KiB
6.2 KiB