Compact header and phone drawer: follow-ups from the merge review
Follow-ups from the merge pass's review of #3430 (compact header and phone drawer), Codex route: team proxy, and omo:
- MEDIUM: PC load details are no longer reachable. Before, PC load in the sidebar showed each connected PC's memory, load averages, uptime and disks; the header now shows only three percentages for the selected PC, and only when the desktop status bar is visible (a phone shows none).
- (fixed in round 2 for two-line rows) on a phone with two or more PCs and "Two lines" sidebar rows, the drawer has no New workspace button (
src/components/Machines.css:221hides every PC's+at <=768 px). - (fixed in the merge pass's round 2: aria-owns + focus trap) the phone drawer is
aria-modal, but Tab moves focus to the header's close and new-workspace buttons outside it, and its only close button (.drawer-toggle) sits outside the dialog. - (fixed in round 2) tab description ids (
tab-desc-<tab_id>,TabStrip.tsx:576) repeat when two split slots show the same workspace or two PCs share a tab id; include the slot and PC. - LOW: on desktop the palette button is hidden whenever the drawer toggle shares its row (always); "Move tab left/right" stays enabled in the desktop tab menu on a watching device (the server refuses it); an unreachable
compactbranch inMachineSidebar.tsx:521; the close-confirm sentence appends the pane title outside the translation; rename drafts kept after their tabs close.
Confirming point 1 on a real phone.
- Device: Samsung Galaxy S24 FE, Android, using the Ovis Android app.
- Settings -> Devices and PCs -> PC load in the status bar is enabled.
- Several PCs are connected and listed in the drawer.
- No CPU / memory / disk figures appear anywhere in the phone UI.
This matches the regression described in point 1: after #3430 the PC load meters moved to the desktop status bar, and a phone renders no status bar, so enabling the setting has nothing to draw into on mobile.
Can provide screenshots or a device-side log if that helps diagnose it. Thanks for taking a look.
Re-checked on main df6bd8ab7 (lane oi-settings-ui):
- 1 (PC load unreachable on a phone): still true. Demo at 390 px with PC load on: no status bar, no load figures, none in the drawer;
MachineStatsis drawn nowhere, while desktop shows "CPU 20% · Memory 35% · Disk 44%". A new phone surface, so the maintainer's call (also confirmed on a real Android phone above). - 2, 3, 4: fixed (4: description ids are
${useId()}-desc-${tab_id}, unique per strip). - 5: "Move tab left/right" on a watching device and the unreachable
compactbranch are fixed. Still true: the palette button is hidden on desktop (one in the DOM, none visible at 1440 px; the More menu and the shortcut remain), and the close-confirm sentence appends the pane title outside the translation (e.g. a Korean sentence followed by "Fix the flaky retry test"); both change what the user sees. Rename drafts kept after their tabs close: reproduced (a new tab reusing the closed tab's id opened its rename with "half typed") and fixed in #4992.
#4992 is merged (62fe66928): a closed tab's unfinished rename is no longer offered to a new tab that reuses its id. The other open items here (1, 5a, 5d) change what the user sees and stay for the maintainer.