2
0
Fork 0

feat: use the settings shell for not-found pages #30

Merged
aleksei merged 2 commits from feat/status-pages into main 2026-11-03 23:43:06 +00:00
Owner

Summary

Adds a shared StatusPage shell matching the Settings page and uses it for both not-found states.

  • No page header.
  • Title is a bold content heading, styled like a session title.
  • Content scrolls above a sticky bottom toolbar.
  • The toolbar has one centered back-arrow button (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.
  • The route-level NotFoundPage ("Not found") uses it too.

Verification

  • npm run build
  • npm run typecheck
  • dprint check
  • git diff --check

The portal was not rebuilt or restarted.

## Summary Adds a shared `StatusPage` shell matching the Settings page and uses it for both not-found states. - No page header. - Title is a bold content heading, styled like a session title. - Content scrolls above a sticky bottom toolbar. - The toolbar has one centered back-arrow button (`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. - The route-level `NotFoundPage` ("Not found") uses it too. ## Verification - `npm run build` - `npm run typecheck` - `dprint check` - `git diff --check` The portal was not rebuilt or restarted.
Author
Owner

bbfd9b6 uses StatusPage for every status screen:

  • route-level NotFoundPage;
  • ErrorPage (title, muted explanation, error code as a child);
  • LoadingPage (title + spinner);
  • WindowPage loading state;
  • WindowPage "Window not found" state.

StatusPage now allows an optional message and has minH="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.

LoginPage remains the intentional auth screen (centered sign-in card) and is not a status page.

`bbfd9b6` uses `StatusPage` for every status screen: - route-level `NotFoundPage`; - `ErrorPage` (title, muted explanation, error code as a child); - `LoadingPage` (title + spinner); - `WindowPage` loading state; - `WindowPage` "Window not found" state. `StatusPage` now allows an optional message and has `minH="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. `LoginPage` remains the intentional auth screen (centered sign-in card) and is not a status page.
aleksei deleted branch feat/status-pages 2026-11-03 23:43:06 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoo/mux-portal!30
No description provided.