Skip to content

feat: remember browse categories and add clean URL routes - #23

Open
pushpinderbal wants to merge 1 commit into
mainfrom
feat/remember-categories-and-clean-routes
Open

pushpinderbal wants to merge 1 commit into
mainfrom
feat/remember-categories-and-clean-routes

Conversation

@pushpinderbal

Copy link
Copy Markdown
Owner

Returning to Movies, Shows, or Live TV previously reset the category to All, and URLs mixed page destinations with leftover browsing state. Each section now remembers its last category in localStorage for the current account, while explicit links remain authoritative.

React Router provides clean paths for libraries, Search, Settings, title details, and playback. Existing query-based bookmarks normalize to the new paths without adding a history entry. Navigation uses real links, and the Go server serves the app for known frontend routes so direct loads and refreshes work while missing assets and API routes retain their errors. Playback origin, scroll restoration, and Back/Forward behavior are preserved.

Validation:

  • Production frontend build passed.
  • go test ./... passed, including frontend deep-link GET/HEAD and missing-file coverage.
  • All 162 Playwright browser tests passed, including desktop/mobile browsing, account isolation, unavailable/corrupt storage, removed categories, and playback navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant