uncrash

Ticket 035: Optimize workspace tabs bar layout and compact display without scrolling

Goal and scope

Optimize the workspaces / machines tabs bar (#workspacesBar, #workspacesChips) in the Uncrash dashboard (src/uncrash/web_ui.py):

  1. Compact & Non-scrolling Layout (Wrap Mode by Default):
    • Provide a responsive layout where #workspacesChips can wrap cleanly (flex-wrap: wrap) without forcing horizontal scrolling across all active machines.
    • Include a layout toggle (⤸ Zawijaj vs ↔ 1 wiersz) persisted in localStorage (uncrash_ws_wrap_mode).
  2. Compact Chip Design & De-duplication:
    • Streamline .workspace-chip to be compact and readable.
    • Remove redundant backend/engine string repetitions (such as [Twinerd NATIVE]) from the chip title while retaining full context in tooltips.
    • Distinct, styled badges for engine and tabs count ((${tabsInfo})).
  3. Keyboard & Usability Optimizations:
    • Add keyboard shortcut 0 for the 10th workspace (supporting instant 1-0 switching across all 10 running machines).
    • Display a workspace counter badge in the toolbar showing active/matching counts.
  4. Test coverage & Governance:
    • Verify all unit tests pass in tests/test_web_ui.py with Node VM harnesses.
    • Pass ./project/governance-check.sh with 0 errors and 0 warnings.

Acceptance criteria

Tracking boundary

This directory contains the minimal reviewed intent. Optional participant prose and raw command logs are not required delivery output.