feat: use the settings shell for not-found pages #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/status-pages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a shared
StatusPageshell matching the Settings page and uses it for both not-found states.navigate(-1)) and a top border only when the content scrolls.WindowPage's "Window not found" branch uses it instead of the old header + inline link.NotFoundPage("Not found") uses it too.Verification
npm run buildnpm run typecheckdprint checkgit diff --checkThe portal was not rebuilt or restarted.
bbfd9b6usesStatusPagefor every status screen:NotFoundPage;ErrorPage(title, muted explanation, error code as a child);LoadingPage(title + spinner);WindowPageloading state;WindowPage"Window not found" state.StatusPagenow allows an optional message and hasminH="var(--app-h)", so it also fills the viewport when rendered outside the authenticated app shell (error/loading). The persistent shell is: no page header, session-style title, scrollable content, sticky bottom back-arrow toolbar, and a border only when the content scrolls.LoginPageremains the intentional auth screen (centered sign-in card) and is not a status page.