feat(frontend): Entry details redesign, people filmography, calendar improvements

- EntryDetailsPage: sticky poster layout, centered max-w-4xl, director by-line
  with link, rating pills (IMDb/TMDB/You), quick actions under poster, RatingDialog
  with star UI, In Collections section using backdrops, EntrySettingsDialog with
  show_in_calendar / auto_sync / rating options
- RatingDialog: new component with 10-star interactive rating
- AddEntryToCollectionDialog: optimistic cache updates so checkbox state reflects
  immediately and In Collections section on entry details page refreshes
- PersonDetailsPage: filmography section showing library vs. non-library entries
  via person.roles, TMDB combined credits for non-library titles
- PersonTmdbRedirectPage: new redirect page for TMDB person IDs to local person ID
- PeoplePage: fix person card links to use /people/tmdb/:tmdbId
- CalendarPage: full-height layout, larger episode thumbnails, episode items
  clickable, improved tooltip, show_in_calendar backend filter
- Fix useUpdateEntry to also invalidate entryKeys.all (favorite button reactivity)
- Fix updateRatings API body wrapping
- Add useUpdateEntryRatings, usePersonCredits, useFetchPersonByTmdbId hooks
- Add getCollectionBackdropUrl to media-utils
- Types: show_in_calendar, auto_sync on Entry; id on EntryRatings; roles on People
- Backend: fix fetchPersonData alias in peopleService; remove duplicate
  getPersonCredits; add show_in_calendar filter to episodeService
This commit is contained in:
Mohammed Abad committed 2026-04-01 00:25:30 +01:00
1 parent 11eab03987
commit 3ca24434d7
16 files changed
+857 -322

No files matched your search

+15
View File
@@ -59,6 +59,21 @@ export function getTmdbPosterUrl(
return getTmdbImageUrl(posterPath, size);
}
export function getCollectionBackdropUrl(collection: Collection): string {
if (collection.medias) {
const selectedBackdrop = collection.medias.find(
(m: Media) => m.type === 'backdrop' && m.is_selected
);
if (selectedBackdrop?.path) {
return getMediaUrl('collections', 'backdrops', 'full', selectedBackdrop.path);
}
}
if (collection.backdrop_path) {
return getTmdbImageUrl(collection.backdrop_path, 'w780');
}
return getCollectionPosterUrl(collection);
}
export function getCollectionPosterUrl(collection: Collection): string {
if (collection.medias) {
const selectedPoster = collection.medias.find(