Commit Graph

10 Commits

Author SHA1 Message Date
Lars Behrends
04156486e2 Add user settings UI and API integration
Introduce a full user settings feature: add a SettingsView component and UserSettings type, plus API helpers to fetch, create, and update settings (convertors between API and app shapes). App now loads settings on mount, persists category toggles to the API, exposes a /settings route, and passes itemsPerPage into BrowseView and CastView. Header gains a settings icon/link and BrowseView/CastView update pagination option defaults. This enables centralized library/display/content preferences and syncs them with the backend.
2026-04-10 14:14:27 +02:00
Lars Behrends
f5c3e96823 Add routing, cast API conversion, and filters
Introduce client-side routing and cast API support. Key changes:

- Add react-router-dom dependency and wire BrowserRouter in App.
- Convert App to route-based structure (/, /media/:id, /cast, /cast/:id, /add, /import) with MediaDetailRoute and CastDetailRoute helpers.
- Extend API types for cast items and add convertApiCastToStaff; fetchAllCast now returns Staff[] (mapped via converter).
- Update components to use react-router hooks (useNavigate, useParams, useLocation, Link/NavLink): Header links, DetailView, CastDetailView, AddMediaView, ImporterView and others now navigate via routes.
- Enhance CastView: fetch cast list, loading state, persistent search/sort/filter controls, filtering by occupations/media types and enabled categories, improved pagination and UI controls.
- Update stashapp importer: add configurable blacklist check to skip scenes, increase per_page for queries.

These changes consolidate navigation, improve cast data handling from the API, and add richer filtering and importer controls.
2026-04-10 13:46:52 +02:00
Lars Behrends
a610ce304e Update README.md 2026-04-10 12:26:51 +02:00
Lars Behrends
6438a23301 Update .env.example 2026-04-10 12:25:36 +02:00
Lars Behrends
d6ad4c80b3 imports are cool xD 2026-04-10 12:24:54 +02:00
Lars Behrends
73c578f1ec playnite init 2026-04-10 08:46:56 +02:00
Lars Behrends
1caadd12e1 imports :) 2026-04-09 17:13:04 +02:00
Lars Behrends
6d5397505a add media page 2026-04-09 13:02:58 +02:00
Lars Behrends
d6a0aac5f7 banbaa 2026-04-09 12:46:32 +02:00
Lars Behrends
dda118a2f7 first commit 2026-04-09 10:29:11 +02:00