gsxdsm
16b6e5decb
FN-6638: stabilize mobile terminal font metrics
Stabilize terminal font metric remeasurement across mobile and attach surfaces.
- Add a shared terminal font metric wait helper that falls back from full font stacks to concrete individual font families before remeasurement.
- Reapply font options, refit, resize, and refresh SessionTerminal after font metrics settle to cover attached CLI terminals.
- Pin text-size adjustment on xterm measurement subtrees so mobile WebKit cannot inflate ASCII cell metrics.
- Extend terminal preference and rendering tests, documentation, and changeset coverage for the recurrence.
Files changed:
.changeset/fn-6638-terminal-render.md | 5 +
.../xterm-async-font-remeasure-paste-dedupe.md | 20 +++-
.../dashboard/app/__tests__/terminal-input.test.ts | 26 +++++
.../dashboard/app/components/SessionTerminal.css | 10 ++
.../dashboard/app/components/SessionTerminal.tsx | 29 ++++++
.../dashboard/app/components/TerminalModal.css | 10 ++
.../dashboard/app/components/TerminalModal.tsx | 24 ++---
.../components/__tests__/SessionTerminal.test.tsx | 41 +++++++-
.../components/__tests__/TerminalModal.test.tsx | 38 ++++++++
.../utils/__tests__/terminalPreferences.test.ts | 29 +++++-
.../dashboard/app/utils/terminalPreferences.ts | 107 +++++++++++++++++++++
11 files changed, 319 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-6638
Fusion-Task-Lineage: edbf071d-a0c1-4955-95ff-83e6996f4674
2026-06-18 13:19:43 -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-13 16:30:28 -07:00
2026-06-09 22:44:30 -07:00
2026-06-17 01:22:21 -07:00
2026-06-16 21:25:39 -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-17 18:48:53 -07:00