feat: adds new season tag - #3069
Draft
seferturan wants to merge 1 commit into
Draft
Conversation
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
|
|
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Drafted to deal with the 'premier' clash
🎶 Notes 🎶
New Seasontag to calendar and releases lists, and their drilled-down pagesgroup=day, so the server collapses a multi-episode day into a single entry withepisode_type: multiple_episodes(orfull_season). The real types only live on the nestedepisode.episodes[], so the premiere signal got dropped and nothing renderedgetEpisodeStatusnow resolves the premiere from the coalesced children, gated on the computed types so it doesn't reach intoepisodesfor ungrouped entriesNewtag stays past-onlyNew: single status value, andnew-seasontakes precedencegetEpisodeStatusis shared, so up-next cards now readNew Seasonwhere they readPremierebefore. Feels more accurate and keeps one source of truth, but shout if you'd rather I gate it to the calendar variantsmid_season_premierestill readsPremiereseries_premiereshares the same tag for now. Happy to split it into its own status if we wantSeries Premiereback, not set in stone