Repository navigation
fix(web): label the series premiere badge "Premiere" - #3102
Conversation
Web showed the season_premiere badge as "Season Premiere" while the iOS, tvOS, Android and Android TV apps show NEW SEASON, the wording the maintainer chose for every client. upcomingBadgeLabel now returns "New Season" (rendered in capitals), which updates the Calendar cards, Home and library rows, and Continue Watching together. Series Premiere and Finale are unchanged. Closes #1527 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The rendered-label assertion in SectionItemCard.test.tsx already covers the season premiere wording; the repository's test rules say not to test UI copy or constants twice. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Web, Apple, and Android now show the same three Calendar badges: PREMIERE, NEW SEASON, and FINALE. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update series premiere label web/src/lib/upcomingEventPresentation.ts |
The function returns “Premiere” for the series_premiere badge. A comment notes that clients display labels in capitals. |
Priority:
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix
Possibly related PRs
- Silo-Server/silo-server#1532: Updates the
season_premierebadge label and tests premiere labels.
Suggested labels: javascript, impact: usability
Suggested reviewers: rangodj
Merge Risk: 
Minimal · up to cddc1
-
The label change is ready to merge after normal checks.
Architecture risk: 
Low · up to 0beaf
-
The change affects 1 system.
Changed systems:
webArchitecture concerns
No architecture-level concerns identified.Review details
-
Systems and components
- observed — web (ui) was modified; 2 changed files map to changed impact.
Before / after behavior
- observed — Modified behavior in web/src/components/SectionItemCard.test.tsx: The premiere metadata test changes its expected label from “Season Premiere” to “New Season.”
- observed — Modified behavior in web/src/lib/upcomingEventPresentation.ts: The comment says clients display the labels in capitals.
upcomingBadgeLabelnow returns"Premiere"and"New Season"for the series- and season-premiere badges, replacing"Series Premiere"and"Season Premiere".
-
Pre-merge checks: 
5
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Web Calendar C1’s recorded result is affected: its fixture week now shows Suggested fix: No diff — no code correction is requested; re-check and record C1 on the merged build. Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed. Posted via Macroscope — v1 validation impact |
…adge-premiere # Conflicts: # web/src/lib/upcomingEventPresentation.ts
Problem
Related issue: #1527
Validation tasks: changes #1136 C1 (badge wording only; series and season premieres are still distinguished)
Web labels the series premiere badge on Calendar and Home row cards SERIES PREMIERE. Android phone and Android TV label it PREMIERE, because SERIES PREMIERE doesn't fit on a poster card. With #1532 (merged) and this change, web, Apple, and Android all show the same three badges: PREMIERE, NEW SEASON, and FINALE.
Approach
upcomingBadgeLabelreturns "Premiere" forseries_premiere. The cards render badges in capitals, so it reads PREMIERE. Calendar cards and Home row cards use this function. Continue Watching shows only the season premiere badge, so it doesn't change.PREMIERE is clear without "series" because NEW SEASON already marks season premieres.
Matching changes: Silo-Server/silo-apple#919 (Apple label), Silo-Server/silo-android#698 (comments only; Android already shows PREMIERE). The user manual names only NEW SEASON and FINALE, so it stays correct.
Validation
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3102/
Risks
None identified.
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Change
series_premierebadge label from "Series Premiere" to "Premiere"Updates
upcomingBadgeLabelin upcomingEventPresentation.ts to returnPremierefor theseries_premierebadge. Other badge labels are unchanged, and comments note that clients render these labels in capitals.Macroscope summarized cddc12b.