gsxdsm
02ae5a9340
FN-6213: prevent keyboard from forcing mobile layout
Keep tablet and desktop layouts stable when the virtual keyboard shrinks viewport height.
- Gate short-height mobile detection on phone-class physical screen size.
- Reuse the shared mobile viewport helper across board, terminal, and workflow editor layout decisions.
- Cover tablet keyboard and landscape phone viewport behavior with regression tests and document the UI bug pattern.
- Preserve quarantine exclusions while resolving the squash merge conflict.
Files changed:
.../ui-bugs/tablet-keyboard-viewport-mode-flip.md | 54 +++++++++++++
packages/dashboard/app/components/Board.tsx | 4 +-
.../dashboard/app/components/SessionTerminal.tsx | 16 +---
.../app/components/WorkflowNodeEditor.tsx | 41 +++++-----
.../__tests__/SessionTerminal.mobile.test.tsx | 57 ++++++++++----
.../app/hooks/__tests__/useViewportMode.test.ts | 90 +++++++++++++++++++++-
packages/dashboard/app/hooks/useViewportMode.ts | 26 ++++++-
packages/engine/vitest.config.ts | 1 +
scripts/lib/test-quarantine.json | 5 ++
9 files changed, 239 insertions(+), 55 deletions(-)
Fusion-Task-Id: FN-6213
Fusion-Task-Lineage: 01af6489-8c34-4318-9cff-1bceb1fa5a5d