Add history page with list, timeline and year in review

- Backend: /history/years and /history/:year return every movie and
  episode watch in a year, with entry posters, genres, networks and buddies
- History tab: watches by month and day, back-to-back episodes grouped
- Timeline tab: latest to oldest, month dividers, stacked binge sessions
- Year in Review tab: hours, top shows and genres, streaks, busiest day,
  biggest binge, monthly and weekday charts, buddies and new shows
- Year picker, movies/TV filter, state kept in the URL; unknown-date
  watches badged and excluded from the review by default
- History link in the sidebar and command palette
This commit is contained in:
X4Lo committed 2026-11-05 16:09:24 +00:00
1 parent c4aa0488d4
commit 760afd8e84
13 files changed
+1724

No files matched your search

+2
View File
@@ -17,6 +17,7 @@ const authRouter = require("./auth.routes");
const watchBuddyRouter = require("./watch-buddy.routes");
const homepageIntegrationRouter = require("./homepage-integration.routes");
const videoRouter = require("./video.routes");
const historyRouter = require("./history.routes");
const router = express.Router();
router.use("/auth", authRouter);
@@ -32,6 +33,7 @@ router.use("/episode-seen", episodeSeenRouter);
router.use("/import", importRouter);
router.use("/statistics", statisticsRouter);
router.use("/history", historyRouter);
router.use("/settings", settingsRouter);
router.use("/maintenance", maintenanceRouter);
router.use("/ping", pingRouter);