Repository navigation
Closed
Milestone
Description
Design stage 2 of 4
Follow the agreed 2026-11-16 workbench product-design brief. Representation controls what Model displays; arrangement controls which Source/Model slots are visible.
Scope
- Introduce
ModelPaneHeaderwith a visibly labeled representation selector: Diagram, Requirements table, Traceability matrix. - Reuse existing
dataMode; changing representation changes it only and preserves the outer arrangement. - Compose/relocate
Diagram.tsx's existing named-view selector, exploration scope/representation controls, view metadata and supported New part/Connect ports actions. Leave one authoritative set of controls. - Show diagram-target controls only for Diagram. Project-level tables/matrices must not imply filtering by the active named view.
- Keep table/matrix search/filter/sort/export in their owning content components.
- Distinguish applied revision, unapplied drafts, current evaluation, temporary exploration and unavailable rendering. A pending draft must not imply the displayed model already reflects it.
- Keep zoom, Fit, 100% reading, and lock actions on the diagram canvas only.
Acceptance
- Representation changes preserve arrangement, active file/view, drafts, selection and project data.
- Selecting a named view explicitly chooses Diagram representation without silently changing the active source file.
- No duplicate named-view selector, exploration controls or authoring actions remain.
- Requirement/table selection opens Inspector; source reveal remains a separate action with current-model and unchanged-draft guards from Show source-backed values with readable views and explicit inspection #38.
- Evaluation/exploration actions, renderer mounting and busy/failure behavior retain their existing contracts.
- Pointer/keyboard, requirements/exploration and preservation regressions plus reviewed desktop/narrow light/dark visuals pass.
- Architecture/capability documentation reflects the implemented header ownership.
Related requirement: #34. Do not redesign workspace orchestration, engine contracts, persistence or introduce a plugin-like representation framework.
Implementation order
Depends on #41. Keep this stage reviewable independently and preserve the preceding stages' acceptance checks.
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Priority
None yet
Activity