Skip to content

fix(ui): status bar survives tall docks; Video undocked; Device Logs docked on old saves - #71

Merged
dev-josias merged 2 commits into
mainfrom
fix/vertical-overflow-and-video
Jul 3, 2026
Merged

fix(ui): status bar survives tall docks; Video undocked; Device Logs docked on old saves#71
dev-josias merged 2 commits into
mainfrom
fix/vertical-overflow-and-video

Conversation

@dev-josias

Copy link
Copy Markdown
Contributor

Two dogfooding fixes (found on macOS) + one gap-close for Windows:

Status bar disappearing (macOS)

Expanding the emulator accordion pushed the status bar off the bottom window edge: the root column (title/workbench/status) had no vertical overflow protection, and the macOS panel's device lists (20+ iOS simulators) inflate the workbench's min-content height. Windows never saw it — one Pixel in the list. Fix is the vertical twin of the #59 horizontal fix: workbench gets min_height(0) (shrinks instead of overflowing), the status bar gets flex_shrink(0) (never crushed/pushed out). Cross-platform safe.

Live-verified on macOS: accordion collapsed → expanded, footer stays.

Video panel undocked (user call)

Its DEBUG_CONSOLE icon duplicated Device Logs' in the pickers, and the right dock is meant to be the emulator column. RightBottom is now empty by default; the demo panel stays openable on demand. Verified live: no Video icon in the right dock.

v5 migration (PANEL_LAYOUT_VERSION = 5)

  • Drops Video from RightBottom on saved orders.
  • Docks Device Logs beside the terminal on orders saved before the panel existed — fresh defaults already carry it (feat(panel): Device Logs — native device logs (logcat + simctl) in the IDE #67), but both dev machines' saved orders would never have shown its tab.
  • Idempotent; additive-only for customized layouts (arrangements respected). Tests cover every source shape incl. the v4 dev-box state.

…docked on old saves

Two dogfooding fixes plus one gap-close, all found on macOS:

- Status bar disappeared when the emulator accordion expanded: the root window
  column (title/workbench/status) had no vertical overflow protection, so the
  macOS emulator panel's tall device lists (20+ iOS simulators) inflated the
  workbench's min-content height and pushed the status bar off the bottom
  window edge. Windows never saw it (one Pixel in the list). Fix is the
  vertical twin of the #59 horizontal one: workbench gets min_height(0) so it
  shrinks instead of overflowing, the status bar gets flex_shrink(0) so it can
  never be crushed or pushed out.
- The Video demo panel is undocked from the right dock: its console icon
  duplicated Device Logs' (same DEBUG_CONSOLE glyph under the terminal), and
  the dock is meant to be the emulator column. Still openable on demand.
- The v5 migration also docks Device Logs beside the terminal on orders saved
  before the panel existed — fresh defaults already had it, but both dev
  machines' saved orders would never have shown its tab.

PANEL_LAYOUT_VERSION -> 5; migration is idempotent and additive-only for
customized layouts (arrangements are respected). Tests cover every source
shape incl. the v4 dev-box state.
@dev-josias
dev-josias merged commit 6f5c58f into main Jul 3, 2026
7 checks passed
@dev-josias
dev-josias deleted the fix/vertical-overflow-and-video branch July 3, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant