gsxdsm
1aef3c9899
FN-5817: prevent blank dashboard after auto-merge toggle
Ensure viewport mode updates stay in sync so toggling auto-merge no longer blanks the dashboard.
- update useViewportMode to initialize safely and react consistently to viewport/media-query changes
- add focused hook coverage for initial mode detection and transition behavior
- add dashboard/app regression tests to confirm the board remains rendered after auto-merge toggles
- add a changeset for @runfusion/fusion patch release
Files changed:
.changeset/fn-5817-auto-merge-toggle-mobile.md | 5 ++
.../app/components/__tests__/App.test.tsx | 66 ++++++++++++++++++++++
.../__tests__/board-mobile-initial-render.test.tsx | 30 ++++++++++
.../app/hooks/__tests__/useViewportMode.test.ts | 34 +++++++++++
packages/dashboard/app/hooks/useViewportMode.ts | 28 +++++++--
5 files changed, 159 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-5817
Fusion-Task-Lineage: 2fc044b1-5f37-44de-b70e-c60364a3d69c
2026-06-01 01:30:34 -07:00
..
2026-05-31 08:32:01 -07:00
2026-05-31 08:32:01 -07:00
2026-06-01 01:30:34 -07:00
2026-05-14 15:25:08 -07:00
2026-06-01 01:30:34 -07:00
2026-05-26 17:19:34 -07:00
2026-05-08 00:19:17 -07:00
2026-05-08 11:36:26 -07:00
2026-05-17 22:16:27 -07:00
2026-05-29 21:03:12 -07:00
2026-05-12 07:47:10 -07:00
2026-05-07 19:29:54 -07:00
2026-05-29 21:03:12 -07:00
2026-05-29 11:25:11 -07:00
2026-05-29 20:05:14 -07:00
2026-05-17 22:10:58 -07:00
2026-04-30 03:43:21 -07:00
2026-05-07 23:21:05 -07:00
2026-05-07 23:21:05 -07:00
2026-05-08 00:40:15 -07:00
2026-05-20 19:58:49 -07:00
2026-05-28 19:50:53 -07:00
2026-05-08 07:38:50 -07:00
2026-05-17 19:11:59 -07:00
2026-05-08 11:30:20 -07:00