Repository navigation
Description
Goal
Extract or formalize the interaction layer for panels, toolbars, page switching, measurements, safe-area behavior, and morphing transitions.
Parent: #32
Current status (July 18, 2026)
Implemented in PR #48 at 99537804; the rebased head is green and ready for automated review. Manual interaction polish is deferred and is not a merge gate.
The reusable interaction layer is now Packages/ContainedUX. It exposes nested UX.* APIs for morphing, safe-area policy, source-frame measurement, panel placement behavior, and toolbar/panel interaction helpers. ContainedUX depends on ContainedUI for visual elements and tokens, and does not depend on Core or the app.
App routing, sections, stores, settings gates, selected routes, concrete toolbar panels, and feature actions stay in ContainedApp.
Keep this issue open until PR #48 is reviewed/merged.
Research / design checklist
- Identify which pieces depend on the UI package and which can remain standalone.
- Decide which measurement, safe-area, panel-host, and morph concepts can be reusable infrastructure.
- Document measurement and morph ownership before extraction begins.
- Confirm which toolbar-first behavior remains behind experimental gates.
Implementation checklist
- Preserve the classic sidebar fallback.
- Keep toolbar-first UI behind experimental gates until intentionally promoted.
- Extract reusable panel, safe-area, measurement, and morph infrastructure where boundaries are clear.
- Add focused tests and SwiftUI previews where practical.
- Update docs/wiki when navigation behavior or terminology changes.
Acceptance criteria
- Interaction infrastructure has clear ownership and fewer app-local one-offs.
- UI dependencies are explicit rather than accidental.
- Classic sidebar and toolbar-first flows both remain usable.
- Measurement and morph behavior is documented before broad reuse.
Activity