Skip to main content

Module app_shell_mount

Module app_shell_mount 

Source
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§

AppShellRootProps
Props for the AppShellRoot component.
CursorOrPrefsProps 🔒
Props for the CursorOrPrefs component.
EditorOrLaterProps 🔒
Props for the EditorOrLater component.
NonRecorderSurfacesProps 🔒
Props for the NonRecorderSurfaces component.
SurfacePaneProps 🔒
Props for the SurfacePane component.

Functions§

AppShellRoot
Required Props
CursorOrPrefs 🔒
Required Props
EditorOrLater 🔒
Required Props
NonRecorderSurfaces 🔒
Required Props
SurfacePane 🔒
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 via history.replaceState so a reload reopens at the same surface. Used by AppShellRoot’s on_select callback (M-TRAY.4 / AUT-253).