feat(frontend): show seen dates inline on episode cards and fix cast page

- Display all seen dates inline (comma-separated) on episode cards in SeasonPage; remove unused Tooltip imports
- Propagate episode_count in normalizeCredit so TV series cast shows X ep.
- Add entriesApi.getCredits(id) API method and useEntryCredits(id) hook
- Load all credits in EntryCastsPage via useEntryCredits (no more 10-cast limit)
- Replace full-list render with IntersectionObserver lazy loader (24 per chunk)
- Fix Sort/Filter Select trigger to show human-readable label instead of raw key
This commit is contained in:
Mohammed Abad committed 2026-04-29 16:04:19 +01:00
1 parent 22d111ef71
commit 5fa2556b43
4 files changed
+92 -17

No files matched your search

+1
View File
@@ -41,6 +41,7 @@ export function normalizeCredit(raw: any): Credit {
department: raw.department,
job: raw.job,
order: raw.order,
episode_count: raw.episode_count ?? null,
people: people,
};
}