feat(streaming): add watch button to episode cards and episode details page

- 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
This commit is contained in:
Mohammed Abad committed 2026-05-25 04:25:45 +01:00
1 parent afc032ca1c
commit 022c9a271b
7 files changed
+708 -518

No files matched your search

@@ -1,5 +1,7 @@
export { StreamingPlayer } from './StreamingPlayer';
export { StreamingDialog } from './StreamingDialog';
export { StreamingSection } from './StreamingSection';
export { ServerSelector } from './ServerSelector';
export { EpisodesSidebar } from './EpisodesSidebar';
export { EpisodeNavigator } from './EpisodeNavigator';
export { AutoMarkWatchedPrompt } from './AutoMarkWatchedPrompt';