- Collection edit dialog shows the current poster and backdrop when available
- Entry details: title is selectable (action row no longer overlays it)
- Entry details: clicking the poster opens it full size in a dialog
- Library: Favorites and Hidden are toggles that combine with the type tabs
- Show the uploaded backdrop on the collection details page; it only
looked at the TMDB backdrop and ignored the collection's media
- Fall back to the first entry's poster for collections without a poster
on both the collections grid and the details page
- Read the live entry from the library store in EntrySettingsDialog so
toggles reflect the new value instead of a stale prop snapshot
Let users upload videos, tag them with one or more entries, and watch
them from a new Discovery Videos page.
Backend:
- Add Video and VideoEntry models and relations
- Add video controller and /video routes
- Add video thumbnail generation service (ffmpeg-static)
- Add video upload storage location and config
Frontend:
- Add DiscoveryVideosPage with sidebar link and route
- Add AddVideoDialog, VideoDropzone, EntryMultiSelect, VideoCard
and VideoPlayerDialog components
- Add discoveryVideos API client and useDiscoveryVideos hook
- Add format helpers, video types and normalizers
- Add skeleton for the page
Docs:
- Document the feature in docs-vault
Backend: Added PUT /seasons/:id/refresh endpoint that fetches updated
TMDB data for a single season.
Frontend:
- New SeasonRatingDialog for rating seasons via StarRating
- useRefreshSeason and useUpdateSeason hooks with query invalidation
- SeasonPage now shows inline season rating (user + TMDB)
- Mark Watched, Rate, and Refresh actions moved under a dropdown menu
Homepage widget with totals, library, and watchlist mappings. Displays
total entries, collections, favorites, library breakdown
(movies/series), and watchlist breakdown (movies/series).
authMiddleware now falls back to checking named tokens from settings
when JWT verification fails. configService.getNamedTokens() filters by
endDate, skipping expired tokens. Tokens without an endDate never expire.
Map snake_case field names from frontend to Sequelize camelCase
properties in controller. Normalize response back to snake_case
so dialog switches read correct boolean values.
- Add Movies & TV / People tabs next to search input
- Filter person results from movie/TV grid
- People tab with larger avatar cards, name always visible
- Infinite scroll with IntersectionObserver sentinel per tab
- Stop auto-scroll after 4 consecutive empty pages, show Load More button instead
Pass 1 handles exact role-level dupes. Pass 2 detects same
person/entry/type with different roles and keeps the credit
with a meaningful role, deleting the empty one.
Handle TV aggregate_credits (roles/jobs arrays) in entry creation,
matching the clean logic already in refresh. Also fix director
detection to search jobs[] array for TV series in both paths.
- Save scroll position to sessionStorage keyed by pathname,
restore only on back-button (POP) navigation
- AppLayout checks sessionStorage before resetting scroll
- Save movie/tv filter per category, restore on re-entry
- Clear react-query cache on fresh navigation so old
pages aren't shown
- Deduplicate TMDB entries by ID to prevent duplicates
across infinite scroll pages
- Increase credit character/job columns to TEXT to fix
overflow on TV series with many aggregate roles
- Backend: fixImpossibleSeenDates scan/fix in maintenanceService
detects movies with EntrySeen date before release_date, adds
them to a "Movies with impossible seen date" collection
- Frontend: ImpossibleSeenDatesSection in SettingsPage with
Scan and Fix buttons
- Updated API docs (Clients + Reference), cleaned up removed
migrateSeenWith references
- Created WatchBuddy model
- M:N junctions to EntrySeen/EpisodeSeen
and Media relation for profile pictures
- Full CRUD + search + profile picture upload
- WatchBuddySelect multi-select with search and inline create, replaced
all seen_with text inputs
- WatchBuddiesPage (grid) and WatchBuddyProfilePage (edit form,
icon-based contacts, poster-grid watch history, monthly timeline)
Season/Episode on same row with grid-cols-2, Date/Accuracy same row.
Selects show labels instead of IDs. Season 0 shown as Specials,
sorted to bottom. All selects stretch full width.
Marking episode/entry as watched now auto-upgrades TV series from
plan_to_watch/null to watching. Settings page uses tabs (General/Maintenance)
with 2-column grid. AppLayout container removed for full-width pages.
Added watch_status column to Entry model (plan_to_watch/watching/completed/
on_hold/dropped). Status pill on entry details page opens selection dialog.
Set Status in quick actions menu and EntryCard dropdown (TV only).
Status filter in Library filter popover. Maintenance auto-fix endpoint
that sets statuses based on watched episodes (excl. season 0).
Backend: Added director column to Entry model, set during creation and
refresh. Maintenance endpoint to scan/fix missing directors. Reverted
expensive credit JOIN in getAllEntries.
Frontend: @director: search prefix for Library and Watchlist. Director
rendered on EntryDetailsPage via useEntryCredits. Fixed home page cards
to link directly to EntryDetailsPage when entry is in library. Added
TmdbCastsPage for TMDB cast browsing. Persisted collection sort order
and gray-out-unseen toggle. Tooltip component now theme-aware.
Home page cards now check library store and link directly to EntryDetailsPage
when the entry is already added. Created useTmdbEntryLink hook for shared
library-check logic. Added TmdbCastsPage with filter/search/sort for
TMDB preview cast & crew, and limited credits to 12 on TmdbPreviewPage.
Hide unseen button near sort controls applies grayscale + low opacity to
posters of entries that haven't been watched. Preference is persisted
per-collection via the existing sort store.
Add useCollectionSortStore with localStorage persistence, keyed by collection ID. CollectionDetailsPage now reads/writes sort preferences through the store instead of local useState.
- Replace old HomePage layout with Apple TV+/Hulu-inspired design (HomePage3)
- Extract all home UI into reusable components under src/components/home/:
HeroSlider, BackdropCard, BackdropScrollCard, PopularBelt,
NumberedListItem, MiniPosterCard, UpcomingCard, SectionHeader
- Hero slider: true slide-track animation, embedded search bar, autoplay with dot indicators
- Trending Now: rotating 2x2 backdrop grid with slide-out/slide-in stagger animation (7s interval)
- Popular Right Now: infinite CSS marquee belt, pauses on hover
- Top Rated: 16:9 featured backdrop + 4 poster cards, no labels
- Coming Soon: compact horizontal scroll, date overlay, relative countdown on hover
- Fix sidebar ml offset in AppLayout (md:ml-56 -> md:ml-20) to re-center all pages
- Move Collections page filters to top-right, search input to left
- Add play overlay on episode thumbnails in SeasonPage (click to stream directly)
- Add clickable watch overlay on episode still image in EpisodePage
- Fix StreamingDialog rendering via React portal (document.body) to prevent ancestor overflow/max-width clipping
- Fix EpisodePage JSX parse error (streaming dialog was outside root element)
- Fix watch buttons not working: use useEntry hook for full entry data with entryIds instead of library store (which lacks entryIds)
- Fix preventDefault called after guard check, causing link navigation when tmdb_id was missing
- Pass seasons via useEntrySeasons to StreamingDialog from both pages so episodes sidebar renders correctly
- Apply final UI polish: entry title in dialog top bar, season selector label, episode format "E1 Title", watched badge always-on, unreleased episodes greyed out
- Add streaming types, interfaces, and normalized response structures
- Create StreamingManager with URL building, validation, and security
- Implement provider adapters for VidLink (2 servers), VidKing (1 server), AnyEmbed (5 servers)
- Add Zustand streaming store with server selection, fallback, and retry logic
- Build StreamingPlayer iframe component with fullscreen and keyboard shortcuts
- Add ServerSelector dropdown with 8 servers and active state indicator
- Create EpisodeNavigator with season tabs and episode grid
- Implement AutoMarkWatchedPrompt for one-time completion opt-in
- Add StreamingSection with Watch Now / Continue Watching entry point
- Integrate StreamingSection into EntryDetailsPage
- **Electron Full Rework**: Completely rewrote `electron/main.js` — removed child process spawn, backend now runs in-process via `require()`; frameless window with custom title bar; dual-mode support (dev loads Vite at `:4200`, production loads built files)
- **`electron/preload.js`**: Enhanced contextBridge to expose `windowControls` (minimize/maximize/close) and `isElectron` flag alongside existing `ipcRenderer` bridge
- **`electron/package.json`**: Updated scripts (`start`, `dev`, `build-front` → calls React build), removed duplicated backend dependencies (backend now required in-process), updated electron-builder config with proper `files` and `extraResources`
- **`TitleBar` component**: New `react_frontend/src/components/layout/TitleBar.tsx` — custom frameless window title bar with drag region, app branding, and IPC-powered minimize/maximize/close buttons
- **`AppLayout`**: Conditionally renders `<TitleBar>` when built for Electron (`VITE_ELECTRON=true`); wrapped content in an extra flex container to accommodate title bar height
- **`vite.config.ts`**: Added `VITE_ELECTRON` env detection — sets `base: './'` for correct asset resolution in `file://` context
- **`api.ts`**: Dynamic base URL — uses `http://localhost:4000/api/v1` in Electron mode, `/api/v1` (proxy-relative) otherwise
- **`router.tsx`**: Conditional router factory — uses `createHashRouter` in Electron mode (required for `file://` navigation) and `createBrowserRouter` for web
- **`electron.d.ts`**: Added TypeScript declarations for `window.electron` global (windowControls, ipcRenderer, isElectron)
- **`package.json`**: Added `build:electron` script with `cross-env VITE_ELECTRON=true`; added `cross-env` devDependency
- Updated `Electron.md`
Co-authored-by: Copilot <copilot@github.com>