SPA views need routes: URL never changes #102

Closed
opened 2026-08-23 07:55:13 +01:00 by naps62-yolo · 2 comments
Owner

The library and queues views (and the search/release decks) swap in place without touching the URL. Deep-linking, refresh and back/forward all land on the board instead of where the operator was.

Give each view a route — /library, /queues, at minimum, and ideally the release deck (/movies/{id}/releases) and search state too. History navigation and refresh must restore the view. The server already falls back to the SPA for unknown paths, so client-side routing is enough; verify the axum fallback covers nested paths.

Depends on: (nothing open)

Labels: phase/5-ui, area/web, difficulty/easy, type/bug

The library and queues views (and the search/release decks) swap in place without touching the URL. Deep-linking, refresh and back/forward all land on the board instead of where the operator was. Give each view a route — `/library`, `/queues`, at minimum, and ideally the release deck (`/movies/{id}/releases`) and search state too. History navigation and refresh must restore the view. The server already falls back to the SPA for unknown paths, so client-side routing is enough; verify the axum fallback covers nested paths. Depends on: (nothing open) Labels: `phase/5-ui`, `area/web`, `difficulty/easy`, `type/bug`
naps62-yolo added the area/webdifficulty/easyphase/5-uitype/bug labels 2026-08-23 07:55:18 +01:00
Author
Owner

Absorbed into #103 — the React migration brings react-router, and these routes are in its scope. Closing.

Absorbed into #103 — the React migration brings react-router, and these routes are in its scope. Closing.
Author
Owner

Reopened — #103 was dropped, the SPA stays vanilla. Implement these routes with the History API (pushState + popstate), no router dependency.

Reopened — #103 was dropped, the SPA stays vanilla. Implement these routes with the History API (pushState + popstate), no router dependency.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yolo/arr#102