Skip to content

feat: adds new season tag - #3069

Draft
seferturan wants to merge 1 commit into
mainfrom
feat/new_season_tag
Draft

feat: adds new season tag#3069
seferturan wants to merge 1 commit into
mainfrom
feat/new_season_tag

Conversation

@seferturan

@seferturan seferturan commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

⚠️ Drafted ⚠️

Drafted to deal with the 'premier' clash

🎶 Notes 🎶

  • Adds a New Season tag to calendar and releases lists, and their drilled-down pages
  • Cause: both queries use group=day, so the server collapses a multi-episode day into a single entry with episode_type: multiple_episodes (or full_season). The real types only live on the nested episode.episodes[], so the premiere signal got dropped and nothing rendered
  • getEpisodeStatus now resolves the premiere from the coalesced children, gated on the computed types so it doesn't reach into episodes for ungrouped entries
  • Fires for a single episode, several episodes on the same day, or a full season drop
  • Shows regardless of air date, so upcoming entries get it too. The plain New tag stays past-only
  • Can't clash with New: single status value, and new-season takes precedence
  • ⚠️ getEpisodeStatus is shared, so up-next cards now read New Season where they read Premiere before. Feels more accurate and keeps one source of truth, but shout if you'd rather I gate it to the calendar variants
    • mid_season_premiere still reads Premiere
  • series_premiere shares the same tag for now. Happy to split it into its own status if we want Series Premiere back, not set in stone

@trakt-bot
trakt-bot Bot enabled auto-merge (rebase) August 3, 2026 09:57
@seferturan
seferturan marked this pull request as draft August 3, 2026 09:57
auto-merge was automatically disabled August 3, 2026 09:57

Pull request was converted to draft

@deepsource-io

deepsource-io Bot commented Aug 3, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 2c9426b...39550d8 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Coverage  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Aug 3, 2026 9:56a.m. Review ↗
Code coverage Aug 3, 2026 9:56a.m. Review ↗

Code Coverage Summary

Language Line Coverage (Overall)
Aggregate
67.4%
Javascript
67.4%

➟ Additional coverage metrics may have been reported. See full coverage report ↗


Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

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