v0.5.0 — HUD chrome: remove Map window, pin top bar, dockable left/right panels #17

Merged
kamilkrzywda merged 1 commits from hud-dock into master 2026-10-11 19:49:21 +02:00
Owner

HUD chrome rework for v0.5.0.

  • Remove the "Map" window (#4): the world map is now the full-viewport background. Zoom/pan directly with the wheel/trackpad or by dragging — no dedicated Map window needed for touchpad/mouse/multitouch users.
  • Pin the top bar (#5): the top bar is now a fixed, non-draggable bar centered at the top, a few px down, always floating above the other windows, and it re-centers on resize.
  • Dockable panels (#5): the dossier / event-feed / action panels stay free-floating by default (the original first-run positions) but can each be docked into a full-height left or right pane. The dock choice is persisted in localStorage and restored on reload, so the default float layout is preserved until the user docks. The legend remains a small, non-dockable floating widget.

Files touched: src/components/FloatingWindow.tsx (dock/pin primitives), src/App.tsx (pinned top bar + dock state), src/components/WorldMap.tsx (dropped the Map window), e2e/sim.spec.ts (coverage), AGENTS.md/CHANGELOG.md (docs), package.json (0.4.0 → 0.5.0).

Fixes #4, Fixes #5

HUD chrome rework for v0.5.0. - **Remove the "Map" window** (#4): the world map is now the full-viewport background. Zoom/pan directly with the wheel/trackpad or by dragging — no dedicated Map window needed for touchpad/mouse/multitouch users. - **Pin the top bar** (#5): the top bar is now a fixed, non-draggable bar centered at the top, a few px down, always floating above the other windows, and it re-centers on resize. - **Dockable panels** (#5): the dossier / event-feed / action panels stay free-floating by default (the original first-run positions) but can each be docked into a full-height left or right pane. The dock choice is persisted in `localStorage` and restored on reload, so the default float layout is preserved until the user docks. The legend remains a small, non-dockable floating widget. Files touched: `src/components/FloatingWindow.tsx` (dock/pin primitives), `src/App.tsx` (pinned top bar + dock state), `src/components/WorldMap.tsx` (dropped the Map window), `e2e/sim.spec.ts` (coverage), `AGENTS.md`/`CHANGELOG.md` (docs), `package.json` (0.4.0 → 0.5.0). Fixes #4, Fixes #5
kamilkrzywda added 1 commit 2026-10-11 19:47:00 +02:00
kamilkrzywda scheduled this pull request to auto merge when all checks succeed 2026-10-11 19:47:13 +02:00
kamilkrzywda merged commit 977bf584ce into master 2026-10-11 19:49:21 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenCode/History#17