gsxdsm
fde3b76a8c
FN-8602: enable tablet touch resizing for task modals
Enable touch-driven resizing for task modals on tablet viewports.
- Add tablet touch resize handles and pointer interactions for task and new-task modals.
- Preserve responsive modal sizing while keeping phone layouts fullscreen.
- Add unit, browser, and visual regression coverage with updated documentation.
Files changed:
.changeset/fn-8602-tablet-touch-resize.md | 7 +
docs/dashboard-guide.md | 6 +-
docs/testing.md | 4 +
packages/dashboard/app/components/NewTaskModal.css | 70 ++++++++++
packages/dashboard/app/components/NewTaskModal.tsx | 19 ++-
.../dashboard/app/components/TaskDetailModal.css | 12 ++
.../dashboard/app/components/TaskDetailModal.tsx | 7 +-
.../app/components/__tests__/NewTaskModal.test.tsx | 4 +
...etailModal.responsive-and-dependencies.test.tsx | 1 +
.../hooks/__tests__/useModalResizePersist.test.tsx | 10 +-
.../app/hooks/__tests__/useViewportMode.test.ts | 26 +++-
.../dashboard/app/hooks/useModalResizePersist.ts | 26 +++-
packages/dashboard/app/hooks/useViewportMode.ts | 13 ++
packages/dashboard/app/styles.css | 16 +++
.../app/task-modal-touch-resize-e2e-fixture.html | 5 +
.../app/task-modal-touch-resize-e2e-fixture.tsx | 60 ++++++++
.../__screenshots__/fn-8602/phone-fullscreen.png | Bin 0 -> 43987 bytes
.../e2e/__screenshots__/fn-8602/tablet-after.png | Bin 0 -> 52549 bytes
.../e2e/__screenshots__/fn-8602/tablet-before.png | Bin 0 -> 11500 bytes
.../task-modal-touch-resize-browser.test.ts | 154 +++++++++++++++++++++
20 files changed, 424 insertions(+), 16 deletions(-)
Fusion-Task-Id: FN-8602
Fusion-Task-Lineage: f07ce22f-f529-4be3-ba1b-04063154a1b0
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-26 12:12:35 -07:00
..
2026-07-25 23:44:56 -07:00
2026-07-25 21:06:33 -07:00
2026-07-26 12:08:03 -07:00
2026-07-26 12:12:35 -07:00
2026-07-25 21:06:33 -07:00
2026-07-25 21:06:33 -07:00
2026-07-26 12:08:03 -07:00
2026-07-25 22:52:53 -07:00
2026-07-25 21:06:33 -07:00
2026-07-25 21:06:33 -07:00
2026-07-25 21:06:33 -07:00