Expand description
The sidebar: one docked activity bar down the left edge, and the one
panel it opens floating over the diagram (docs/cad-ui-spec.md §8).
Four sections, one address each for everything that is not editing: Diagrams, Parts and History at the top of the bar, Settings at its foot. Pressing a section opens its panel; pressing the open one shuts it. The panel is glass over the diagram — it never reflows the canvas, so the toolbar never moves — and only working dismisses it: a press on the diagram, a tool pick, or Escape. Nothing inside it ever closes it.
Which section is open is the shell’s, not the kernel’s: the session has no opinion about what is being browsed.
Re-exports§
pub use ActivityBar_completions::Component::ActivityBar;pub use SidebarPanel_completions::Component::SidebarPanel;
Structs§
- Activity
BarProps - Properties for the
ActivityBarcomponent. - Activity
Props 🔒 - Properties for the
Activitycomponent. - Sidebar
Panel Props - Properties for the
SidebarPanelcomponent.
Enums§
- Section
- One place on the activity bar.
Constants§
- CELL 🔒
- A section’s cell on the bar, and the same cell while its panel is open.
- OPEN 🔒
- PANEL 🔒
- The panel: floating glass beside the bar, shadowed and rounded like the toolbar it never displaces.
Functions§
- Activity 🔒
- Props
- Activity
Bar - The bar: docked chrome, so flat — no shadow, square corners.
- Sidebar
Panel - The open section’s panel.
- covers 🔒
- What the panel covers of the diagram: everything from the canvas’s left edge to its own right, since the sliver beside it is no room a framing may use. A shut panel covers nothing, so the diagram gets its left edge back the moment it closes.