Skip to content

refactor(tmdb): support DateKindaMatches rating, convert MatchRatingType to string union - #1422

Draft
Foowy wants to merge 1 commit into
ShokoAnime:masterfrom
Foowy:anidb-tmdb-dates-webui
Draft

refactor(tmdb): support DateKindaMatches rating, convert MatchRatingType to string union#1422
Foowy wants to merge 1 commit into
ShokoAnime:masterfrom
Foowy:anidb-tmdb-dates-webui

Conversation

@Foowy

@Foowy Foowy commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Follow-up to ShokoAnime/ShokoServer#1389 (season-scoped nearest-air-date TMDB fallback), which adds a new DateKindaMatches match rating on the server.
  • Converts MatchRatingType from a TS enum to a string union, per harshithmohan's review comment on that PR.
  • Adds DateKindaMatches to the abbreviation/color mapping in MatchRating.tsx and the "Approximate" count bucket in TopPanel.tsx.

Draft — do not merge until ShokoAnime/ShokoServer#1389 merges upstream.

Test plan

  • pnpm lint (dprint + oxlint) passes
  • pnpm tscheck passes
  • Manual verification against a server build that includes ShokoAnime/ShokoServer#1389's DateKindaMatches rating

…ype to string union

MatchRatingType is now a string union instead of an enum, per
harshithmohan's review on ShokoAnime/ShokoServer#1389. Adds the
DateKindaMatches rating (server-side last-resort nearest-air-date
fallback) to the abbreviation/color mapping and the "Approximate"
count bucket.
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