Add season refresh, rating display, and actions dropdown to SeasonPage
Backend: Added PUT /seasons/:id/refresh endpoint that fetches updated TMDB data for a single season. Frontend: - New SeasonRatingDialog for rating seasons via StarRating - useRefreshSeason and useUpdateSeason hooks with query invalidation - SeasonPage now shows inline season rating (user + TMDB) - Mark Watched, Rate, and Refresh actions moved under a dropdown menu
This commit is contained in:
1 parent
1aa0a84f4d
commit
4d88747649
6 files changed
+247
-13
No files matched your search
@@ -19,6 +19,9 @@ seasonRouter.get("/:id/episodes", seasonController.getSeasonEpisodes);
|
||||
// * PUT - Update a season
|
||||
seasonRouter.put("/:id", seasonController.updateSeason);
|
||||
|
||||
// * PUT - Refresh a season from TMDB
|
||||
seasonRouter.put("/:id/refresh", seasonController.refreshSeason);
|
||||
|
||||
// * DELETE - Delete a season
|
||||
seasonRouter.delete("/:id", seasonController.deleteSeason);
|
||||
|
||||
|
||||
Reference in new issue
Block a user