Expand description
AppShellRoot — root component for the tray-launched main window
(M-TRAY.3 / AUT-252) and the in-app NavigationRail surface
routing (M-TRAY.4 / AUT-253).
Owns the RwSignal<AppSection> that drives both the rail’s
active prop and the right-pane match over surface placeholders.
Clicking a rail item flips the signal (via the on_select
callback added in M-TRAY.2 / AUT-251) and the URL is rewritten to
match via history.replaceState.
Per the M-TRAY.1 audit doc, AppShell itself stays pure
slot-composition — the section signal lives here in the consumer
crate, not inside ui_storybook::components::shell::AppShell.
Structs§
- AppShell
Root Props - Props for the
AppShellRootcomponent. - Cursor
OrPrefs 🔒Props - Props for the
CursorOrPrefscomponent. - Editor
OrLater 🔒Props - Props for the
EditorOrLatercomponent. - NonRecorder
Surfaces 🔒Props - Props for the
NonRecorderSurfacescomponent. - Surface
Pane 🔒Props - Props for the
SurfacePanecomponent.
Functions§
- AppShell
Root - Required Props
- Cursor
OrPrefs 🔒 - Required Props
- Editor
OrLater 🔒 - Required Props
- NonRecorder
Surfaces 🔒 - Required Props
- Surface
Pane 🔒 - Render the content for the currently-active surface. Record, Library,
and Editor are live (
RecorderPage,RecordingsLibrary,EditorSurface); Cursor and Preferences are still placeholders. - push_
surface_ 🔒query - Push
?surface=<slug>onto the URL viahistory.replaceStateso a reload reopens at the same surface. Used byAppShellRoot’son_selectcallback (M-TRAY.4 / AUT-253).