mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 01:35:39 -04:00
- Add `nuqs` dependency; define `dashboardSearchParams` and `exploreSearchParams` loaders in new `search-params.ts` files - Thread `moviePeriod`/`episodePeriod` from URL into `StatsSection` and `StatsDisplay`, replacing local `useState` with `useQueryStates` - Rename `getUserStats` fields `moviesThisMonth`/`episodesThisWeek` → `movieCount`/`episodeCount` and accept period args so SSR stats match the active URL params - Pre-fetch genre-filtered results server-side on the explore page when `movieGenre`/`tvGenre` params are present; pass as `initialGenreItems` to `FilterableTitleRow` so first paint is already populated - Render genre chips as `<Link>` elements (with click-handler fallback) so genre selections produce shareable, bookmarkable URLs