docs(ui): record shared collapsible navigation acceptance

This commit is contained in:
DCCONSTRUCTIONS
2026-11-15 22:50:56 +03:00
parent 958e9c396d
commit 8aeb5b3fd2
@@ -0,0 +1,45 @@
# Collapsible application navigation
Owner request: 2026-11-15. This is shared application chrome, applying to Park,
Control, Missions, Data, System and LAB. The operator collapses the left navigation
to gain workspace width while keeping direct route access.
## Composition and ownership
Use the Design Guideline `ApplicationShell` + `AdminNavigationPanel` contract.
The shell owns a single collapse state and synchronizes column width with the
workspace offset. Individual roots, including SystemNavigationPanel, consume the
same provider. No BIM-specific sidebar or application-local control CSS is added.
A separate BIM implementation was rejected because all application roots need
identical behavior; hiding the whole navigation was rejected because routes must
remain directly accessible.
Expanded: a circular left chevron beside the existing close control.
Collapsed: a 4.55rem icon rail, a right chevron, no title, text or close control.
Icon routes retain their names, active state and keyboard/hover tooltips. Escape
closes a tooltip, not the navigation. Context selectors and secondary header
controls return when expanded. Keyboard focus colors only the icon circle.
The 440ms shell easing animates the navigation width and workspace position
together. Reduced-motion mode disables the animation. Workspace content remains
mounted; renderer geometry follows its existing resize observer. The right
application panel keeps its original width. Existing mobile single-panel
presentation remains in effect.
Collapse state persists between roots and workspace closes/reopens in the mounted
shell. The shared component does not write browser storage. It exposes controlled
state callbacks for a host-owned persistent preference if needed.
## Acceptance
- Shared DOM interaction check: controlled and standalone use, collapse/expand,
route changes, close/reopen, hidden actions, accessible names, tooltip Escape,
retained workspace instance and unsaved input.
- Registry, theme and typography checks; all Design Guideline workspace types and
catalog production build.
- Mission Core architecture gate, full TypeScript, 1,605 frontend tests and
production build.
- Canonical 127.0.0.1:8000 browser: all six roots retain compact navigation;
expanded and compact layouts, Enter/Tab/Escape and real project/fleet navigation.
At 1440px: rail width 72.8px, workspace left edge 112.8px (20px outer pad +
rail + 20px gap). Temporary browser viewport override reset after QA.