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-17 06:12:06 +08:00
2026-06-03 15:26:49 -07:00
2026-06-21 03:10:21 -07:00
2026-06-24 15:35:49 -07:00
2026-06-04 15:56:04 -07:00
2026-06-27 09:28:31 -07:00
2026-06-23 15:44:52 -07:00
2026-06-05 14:32:04 -07:00
2026-06-30 09:09:29 -07:00