gsxdsm
ac87b1e8e4
FN-7281: fix folded terminal viewport baselines
Keep mobile terminals sized against the settled folded viewport before keyboard overlap is applied.
- Re-baseline terminal keyboard metrics when folded devices settle to a new closed-posture width.
- Avoid replacing the baseline from focused keyboard-open samples that would erase real keyboard overlap.
- Cover TerminalModal and SessionTerminal mobile keyboard spacing behavior with regression tests.
- Document the folded-phone terminal spacing fix and add a patch changeset.
Files changed:
.changeset/fn-7281-mobile-terminal-spacing.md | 7 ++
.../mobile-terminal-folded-viewport-baseline.md | 56 +++++++++++++++
.../dashboard/app/components/TerminalModal.tsx | 57 ++++++++++++++--
.../__tests__/SessionTerminal.mobile.test.tsx | 39 +++++++++++
.../components/__tests__/TerminalModal.test.tsx | 79 ++++++++++++++++++++++
.../app/hooks/__tests__/useMobileKeyboard.test.ts | 53 ++++++++++++++-
packages/dashboard/app/hooks/useMobileKeyboard.ts | 31 +++++++--
7 files changed, 309 insertions(+), 13 deletions(-)
Fusion-Task-Id: FN-7281
Fusion-Task-Lineage: 90ab7398-c583-4312-8cf6-0ef7d6328c8d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-06-30 09:09:29 -07:00
..
2026-06-03 20:02:03 -07:00
2026-06-06 01:42:57 -07:00
2026-06-05 14:23:27 -07:00
2026-06-11 21:26:59 -07:00
2026-06-13 11:53:44 -07:00
2026-06-13 11:22:07 -07:00
2026-06-13 10:29:24 -07:00
2026-06-13 10:14:11 -07:00
2026-06-30 09:09:29 -07:00
2026-06-13 16:30:28 -07:00
2026-06-09 22:44:30 -07:00
2026-06-17 01:22:21 -07:00
2026-06-20 00:41:36 -07:00
2026-06-03 15:05:40 -07:00
2026-06-16 23:21:14 -07:00
2026-06-13 17:26:12 -07:00
2026-06-18 13:19:43 -07:00
2026-06-20 21:02:51 -07:00