Commit Graph
26 Commits
Author SHA1 Message Date
Mohammed Abad 25b645a16f feat(backend): add TMDB preview endpoint for non-library entries
- Add GET /entries/tmdb/preview/:type/:tmdbId endpoint in entryController.js
- Fetch TMDB data via tmdbService.fetchEntryData() without persisting to DB
- Return normalized preview object with title, poster, genres, rating, season/episode counts
2026-04-27 04:03:02 +01:00
Mohammed Abad ce01dc34fa feat(backend): fix credit duplicates, support multi-role TV credits, fix collection upload
- Fix credit dedup key to people_id + cast_type (scoped to entry_id)
- Detect aggregate_credits format via Array.isArray(c.roles) instead of is_tvseries flag
- Join multiple roles/jobs with "; " instead of taking only the first
- Add episode_count field to Credit model from total_episode_count
- Increase character and job columns to VARCHAR(500)
- Deselect existing collection posters/backdrops before inserting new upload
- Updated docs-vault
- Updated some agents files
2026-04-23 16:51:18 +01:00
Mohammed Abad 63fdc00ac2 feat: entry details overhaul, navigation, rating half-stars, library growth "all", accuracy field
- SeasonPage: add back navigation link to entry details page
- EpisodePage: add breadcrumb navigation back to entry and season pages
- EntryCard: non-library entries now open a details dialog on click with overview, rating, and add-to-library button
- EntryDetailsPage: move favorite and mark-watched buttons into grouped dropdown menu with separators
- EntryDetailsPage: add favorite badge (heart icon) on top-left of poster
- EntryDetailsPage: add "mark as watched" clickable text next to runtime for unwatched movies
- EntryDetailsPage: genre pills are now clickable links that navigate to library page with genre filter
- EntryDetailsPage: hide status pill for movies; show status as text next to release date for TV series
- EntryDetailsPage: add delete entry option in dropdown menu with confirmation dialog and redirect to library
- EntryDetailsPage: add TMDB and IMDb external links under poster using entry.entryIds
- EntryDetailsPage: group all dropdown actions by relevance (Watch/Rate, Organize, Manage, Danger) with separators
- RatingDialog: support half-star ratings (0.5 increments) with left/right click zones per star
- RatingDialog: fix clear rating button by syncing state on dialog open and using dedicated handleClear function
- LibraryGrowthChart: add "All" option to year selector (default) showing cumulative growth across all years
- Frontend: add SeenAccuracy type to types/index.ts, update API layers and hooks to support accuracy
- EntrySeenDialog: add Date Accuracy selector (Exact/Estimated/Unknown) with EXACT default
- EpisodeSeenEditDialog: add Date Accuracy selector, updated overrideSubmit signature
- SeasonPage: pass accuracy through bulk mark-all-watched flow
2026-04-20 01:24:55 +01:00
Mohammed Abad ebdef6ba6c **DB Models Changes**
- Backend: add accuracy field (ENUM: EXACT, ESTIMATED, UNKNOWN) to EntrySeen and EpisodeSeen models
- Backend: add migration in dataInitializer to add accuracy column, set existing to EXACT, set 2021-01-01 entry seens and 2020-01-01 episode seens to UNKNOWN
2026-04-20 01:24:19 +01:00
X4Lo ad58164df4 Backend: fixed Entry model incorrect field credit_fetched name 2026-03-30 17:24:07 +01:00
X4Lo ef9e1911f9 B: Added People and Credit Models for entry crew and cast 2025-07-11 15:12:07 +01:00
X4Lo 5dc5a023b8 add networks + random changes 2025-02-15 23:40:34 +01:00
X4Lo 3bb0935db9 changed folder structure and added readme file 2025-01-25 06:13:29 +01:00
X4Lo 0b1a1d989f Random changes 2024-10-21 16:06:32 +01:00
X4Lo 625ec3367e Front/Back: add entry settings modal 2024-10-21 15:43:09 +01:00
X4Lo b42e055691 Back: reworked the media/entry relation 2024-09-10 21:32:46 +01:00
X4Lo d06a21097f random changes 2024-09-10 19:07:43 +01:00
X4Lo 776506b232 changes + fixes to collections related component + add filter by collection type 2024-09-10 01:15:14 +01:00
X4Lo eba9721a3c add media page + backend + minor changes to media related stuff & sidebar 2024-09-10 00:43:39 +01:00
X4Lo d6c3a974a1 renamed backend routes files + add fields to entry model 2024-05-18 15:37:02 +01:00
X4Lo 7e493d8866 add media model 2024-05-17 11:51:11 +01:00
X4Lo 49f8cd601b updated some db models properties 2024-05-10 09:27:33 +01:00
X4Lo 0ff3c49ca6 changed some backend models properties 2024-05-01 23:40:13 +01:00
X4Lo 537763ff7d minor changes + changed some routes 2024-04-30 22:23:43 +01:00
X4Lo dbeb0ee524 add episode seen history in entry page 2024-04-22 17:41:30 +01:00
X4Lo 9e30a6953d FE: changed title properties size 2024-04-21 16:04:00 +01:00
X4Lo 5b1b02cf61 BE: changes in episode model 2024-04-20 15:46:56 +01:00
X4Lo 8a1d5a8416 add backend models/ add properties for some 2024-04-16 10:13:12 +01:00
X4Lo b48b395574 rename model list to usercollection & fixed redlated errors 2024-04-06 08:56:16 +00:00
X4Lo 203aca7c65 Added more backend models 2024-04-01 07:30:42 +00:00
X4Lo 772db77e98 created entry, entryid, entryRating, collection models 2024-03-31 04:02:12 +00:00