Skip to content

Codex/pr 3233 anime hardening - #3348

Closed
MrDoudou wants to merge 2 commits into
seerr-team:developfrom
seerrplay-project:codex/pr-3233-anime-hardening
Closed

MrDoudou wants to merge 2 commits into
seerr-team:developfrom
seerrplay-project:codex/pr-3233-anime-hardening

Conversation

@MrDoudou

@MrDoudou MrDoudou commented Aug 6, 2026 •

Copy link
Copy Markdown

Description

  • Fixes #XXXX

How Has This Been Tested?

Screenshots / Logs (if applicable)

Checklist:

  • I have read and followed the contribution guidelines.
  • Disclosed any use of AI (see our policy)
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

Summary by CodeRabbit

  • New Features
    • Added an Anime discovery page with filters, sorting, infinite scrolling, empty states, and retryable errors.
    • Added a Seasonal Anime section showing currently airing titles.
    • Added Anime links to desktop and mobile navigation.
    • Added support for adding discovered titles to a watchlist.
  • Bug Fixes
    • Improved retry handling when seasonal anime loading initially fails.
    • Prevented unnecessary removal requests when adding seasonal titles to a watchlist.
  • Documentation
    • Documented the new Anime and Seasonal Anime discovery endpoints.

Marco and others added 2 commits August 6, 2026 22:39
Add a dedicated Anime browse page at /discover/anime, mirroring the
Movies/Series sections with the same sort and filter controls. A toggle
switches between the keyword-based TMDB catalogue (sorted, filterable)
and the current AniList season.

Seasonal data is fetched from the AniList GraphQL API, resolved to TMDB
ids via the Fribb anime-lists mapping with a TMDB title-search fallback,
deduplicated across split-cours, and cached daily. The season is also
surfaced as a built-in discover slider on the homepage.
@MrDoudou
MrDoudou requested a review from a team as a code owner August 6, 2026 21:50
@coderabbitai

coderabbitai Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e506cd1d-d50e-420a-902f-c78b66e2b76f

📥 Commits

Reviewing files that changed from the base of the PR and between 090c659 and b383dc5.

📒 Files selected for processing (19)
  • cypress/e2e/discover.cy.ts
  • seerr-api.yml
  • server/api/anilist.test.ts
  • server/api/anilist.ts
  • server/constants/discover.ts
  • server/interfaces/api/discoverInterfaces.ts
  • server/lib/cache.ts
  • server/routes/discover.test.ts
  • server/routes/discover.ts
  • src/components/Discover/DiscoverAnime/index.tsx
  • src/components/Discover/DiscoverSliderEdit/index.tsx
  • src/components/Discover/SeasonalAnimeSlider/index.tsx
  • src/components/Discover/constants.ts
  • src/components/Discover/index.tsx
  • src/components/Layout/MobileMenu/index.tsx
  • src/components/Layout/Sidebar/index.tsx
  • src/hooks/useDiscover.ts
  • src/i18n/locale/en.json
  • src/pages/discover/anime.tsx

📝 Walkthrough

Walkthrough

The change adds AniList-backed seasonal anime retrieval, anime discovery routes, frontend discovery pages and sliders, navigation entries, caching, localization, API documentation, and automated coverage.

Changes

Anime discovery and seasonal listings

Layer / File(s) Summary
AniList provider integration
server/api/anilist.ts, server/api/anilist.test.ts, server/lib/cache.ts
Adds seasonal GraphQL retrieval, Fribb and TMDB mapping, retries, caching, concurrency control, fallback search, deduplication, and provider tests.
Discovery API routes and contracts
server/routes/discover.ts, server/routes/discover.test.ts, server/interfaces/api/discoverInterfaces.ts, server/constants/discover.ts, seerr-api.yml
Adds /discover/anime and /discover/seasonal-anime, validation, response types, default slider configuration, documentation, and route tests.
Anime discovery page and navigation
src/components/Discover/DiscoverAnime/*, src/hooks/useDiscover.ts, src/pages/discover/anime.tsx, src/components/Layout/*, src/i18n/locale/en.json
Adds standard and seasonal anime discovery modes with filters, sorting, pagination, retry states, navigation links, and English labels.
Seasonal anime slider
src/components/Discover/SeasonalAnimeSlider/*, src/components/Discover/index.tsx, src/components/Discover/DiscoverSliderEdit/*, src/components/Discover/constants.ts
Adds the seasonal slider, localized title, slider-type handling, and navigation to anime discovery.
End-to-end validation
cypress/e2e/discover.cy.ts
Tests seasonal endpoint usage, title loading, watchlist addition, and retry behavior.

Estimated code review effort: 4 (Complex) | ~60 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Browser
  participant DiscoverRoute
  participant AniListAPI
  participant TMDB
  Browser->>DiscoverRoute: Request seasonal anime page
  DiscoverRoute->>AniListAPI: Fetch seasonal list
  AniListAPI->>TMDB: Resolve unmapped titles
  TMDB-->>AniListAPI: Return TV matches
  AniListAPI-->>DiscoverRoute: Return mapped seasonal results
  DiscoverRoute-->>Browser: Return paginated response
Loading

Suggested labels: blocked:template

Suggested reviewers: gauthier-th, fallenbagel

Poem

I hop through seasons, bright and new,
AniList finds each show in view.
The cards now bloom, the retries sing,
Fire icons guide each spring.
A watchlist nibble—no deletes flee!


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@MrDoudou MrDoudou closed this Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant