Expand description
Stable-ID, filterable navigation composed over gpui-component’s Sidebar primitives.
The entity’s only rendering input is one flattened snapshot of visible
rows. Sections, items, filtering, and expansion resolve into a single
[VisibleRow] recomputed when the state it derives from changes and never
from Render, so virtualization spans rows rather than section roots: a
section holding ten thousand expanded descendants constructs the same
bounded window as a section holding ten.
Flattening costs the tree relationships that element nesting used to carry, so every row states them: level, parent, and position within its visible sibling set. Those fields are what the ARIA tree keyboard model walks and what the AccessKit nodes report, which is the sanctioned way to describe a tree whose rows cannot contain one another.
Structs§
- Sidebar
Nav - A hybrid-controlled, filterable application sidebar.
- Sidebar
NavItem - One application-owned recursive sidebar item.
- Sidebar
Section - One application-owned labeled section of sidebar items.
Enums§
- Sidebar
NavEvent - A typed application intent emitted by
SidebarNav. - Sidebar
NavPresentation - How the navigation draws its outer shell.