ovis icon indicating copy to clipboard operation
ovis copied to clipboard

Compact header and phone drawer: follow-ups from the merge review

Open devswha opened this issue 3 weeks ago • 3 comments

Follow-ups from the merge pass's review of #3430 (compact header and phone drawer), Codex route: team proxy, and omo:

  1. 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).
  2. (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:221 hides every PC's + at <=768 px).
  3. (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.
  4. (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.
  5. 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 compact branch in MachineSidebar.tsx:521; the close-confirm sentence appends the pane title outside the translation; rename drafts kept after their tabs close.

devswha avatar Nov 09 '26 08:11 devswha

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.

NicoLeo13 avatar Nov 16 '26 22:11 NicoLeo13

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; MachineStats is 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 compact branch 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.

devswha avatar Nov 28 '26 18:11 devswha

#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.

devswha avatar Nov 28 '26 20:11 devswha