fix(cockpit): scope the centred phone row and keep Stories unread in Cockpit

The centred Display/Radio row now applies only inside the phone shell
(720 px and below) on flight and bridge views; satellite and provider
cockpits, narrow short windows (under 390x450) and very short windows
(under 240 px) keep main's right-anchored place, so the row no longer
lands on the desktop rail, orbital zoom, LOOK AHEAD, Reset or the Stories
button. The row sizes to its launchers instead of spanning the width.

The first-visit Stories announcement stays hidden and unread while
Cockpit is open: a Stories tap that Cockpit refuses no longer marks it
seen, so it shows again after Exit.

The unit tests and the Cockpit QA cover the phone boundary, glyph and
side taps, the destination cue, short and narrow windows and the
announcement's return.
This commit is contained in:
German Khokhlov committed 2026-11-20 11:39:45 +04:00
1 parent 0c828095ad
commit 49785e423d
7 files changed
+204 -69

No files matched your search

@@ -1,5 +1,9 @@
- Keep the phone Cockpit's Display and Radio launchers off the flight
instruments. At 760 px wide and below, the collapsed row now sits centred on
the Reset/Exit axis between the roll scale and the reticle, instead of
right-anchored over the ground speed and altitude telemetry, and stays on
screen on short landscape phones (Denis Groshev, @ZloyS, #1549).
instruments. In the phone layout (720 px wide and below), the collapsed row
of the flight and bridge views now sits centred on the Reset/Exit axis
above the reticle, clear of the destination cue, instead of right-anchored
over the ground speed and altitude readouts. On short landscape phones it
stays on screen and tappable below the vision controls, though it may cover
the top of the readouts. Very short or narrow split-screen windows keep
the old place above Reset/Exit. The first-visit Stories announcement waits until
Cockpit closes (Denis Groshev, @ZloyS, #1549).