Information architecture for the Scoria dashboard: the task-oriented navigation model
(GOV.UK style — grouped by operator job, not by schema) and the on_mount hook that
marks the active nav item per LiveView.
Nav items point only at routes that exist. Paths are resolved relative to the dashboard
mount prefix at render time (see app.html.heex), so the shell works under any mount path.
Summary
Functions
Active nav key for a LiveView module.
Active nav key for a LiveView module and route params.
Command palette sections derived from the dashboard navigation source of truth.
Nav groups for the sidebar.
on_mount hook: assigns :scoria_nav (active key) and :scoria_base (mount prefix) so the
shell can render active state and absolute links regardless of mount path.
Lookup coming-soon nav key by slug.
Lookup coming-soon metadata by slug.
Allowlisted coming-soon screens from the nav source of truth.
Functions
Active nav key for a LiveView module.
Active nav key for a LiveView module and route params.
Command palette sections derived from the dashboard navigation source of truth.
Nav groups for the sidebar.
on_mount hook: assigns :scoria_nav (active key) and :scoria_base (mount prefix) so the
shell can render active state and absolute links regardless of mount path.
Lookup coming-soon nav key by slug.
Lookup coming-soon metadata by slug.
Allowlisted coming-soon screens from the nav source of truth.