fix(frontend): calendar thumbnail, episode delete confirm, mark-as-watched dialog
- CalendarPage: restore poster/still thumbnail (h-8 w-5) in episode items; add getTmdbPosterUrl import; extend EpisodeWithEntry type with poster_path - EpisodeSeenEditDialog: add mode 'create'|'edit' support; record prop is now optional; create mode uses useCreateEpisodeSeen with today as default date - EpisodePage: Mark as Watched button now opens EpisodeSeenEditDialog (create mode) instead of firing mutation directly; delete shows ConfirmDialog before deleting; remove unused useCreateEpisodeSeen import
This commit is contained in:
1 parent
3ca24434d7
commit
191f4d6aae
8 files changed
+350
-101
No files matched your search
@@ -10,15 +10,15 @@ episodeSeenRouter.post('/', episodeSeenController.createEpisodeSeen);
|
||||
// * GET - ALL EPISODE SEEN
|
||||
episodeSeenRouter.get('/', episodeSeenController.getEpisodesSeen);
|
||||
|
||||
// * GET - EPISODE SEEN BY ID
|
||||
episodeSeenRouter.get('/:id', episodeSeenController.getEpisodeSeenById);
|
||||
|
||||
// * GET - EPISODE SEEN BY EPISODE ID
|
||||
// * GET - EPISODE SEEN BY EPISODE ID (must come before /:id)
|
||||
episodeSeenRouter.get('/by-episode/:episodeId', episodeSeenController.getEpisodeSeensByEpisodeId);
|
||||
|
||||
// * GET - EPISODE SEEN BY ENTRY ID
|
||||
// * GET - EPISODE SEEN BY ENTRY ID (must come before /:id)
|
||||
episodeSeenRouter.get('/by-entry/:entryId', episodeSeenController.getEpisodeSeensByEntryId);
|
||||
|
||||
// * GET - EPISODE SEEN BY ID
|
||||
episodeSeenRouter.get('/:id', episodeSeenController.getEpisodeSeenById);
|
||||
|
||||
// * PUT - UPDATE EPISODE SEEN
|
||||
episodeSeenRouter.put('/:id', episodeSeenController.updateEpisodeSeen);
|
||||
|
||||
|
||||
Reference in new issue
Block a user