Skip to content

fix(web): label the series premiere badge "Premiere" - #3102

Merged
Quick104 merged 4 commits into
mainfrom
fix/series-premiere-badge-premiere
Oct 26, 2026
Merged

Quick104 merged 4 commits into
mainfrom
fix/series-premiere-badge-premiere

Conversation

@Quick104

@Quick104 Quick104 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

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

upcomingBadgeLabel returns "Premiere" for series_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

  • Focused Vitest suites for section cards, Calendar, and Continue Watching passed.
  • Prettier and ESLint are clean on the changed file.
  • Browser check on a local server with generated media: Calendar, filter All, before and after, at desktop and phone width. The series premiere badge reads SERIES PREMIERE before and PREMIERE after. NEW SEASON and FINALE are unchanged.

Evidence: https://evidence.siloserver.org/r/silo-server/pr-3102/

Risks

None identified.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: Claude Code (T3 Code)
  • Tool(s): Claude Code, GitHub CLI, pnpm, T3 Code browser preview
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a

🤖 Generated with Claude Code

Note

Change series_premiere badge label from "Series Premiere" to "Premiere"

Updates upcomingBadgeLabel in upcomingEventPresentation.ts to return Premiere for the series_premiere badge. Other badge labels are unchanged, and comments note that clients render these labels in capitals.

Macroscope summarized cddc12b.

rangoDJ and others added 3 commits September 26, 2026 19:07
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-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Oct 26, 2026
@silo-kody

silo-kody Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T17:31:27.340870Z cddc12b New commits
🔒 Security Review ✅ Completed 2026-10-26T17:32:15.079296Z cddc12b New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5e89a322-2fb4-4456-aa2d-1c1556fcd869
Commits

Reviewing files that changed from the base of the PR and between 0beaf9c and cddc12b.

Files selected for processing: 1
  • web/src/lib/upcomingEventPresentation.ts
Files skipped from review as they are similar to previous changes: 1
  • web/src/lib/upcomingEventPresentation.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

Walkthrough

The upcomingBadgeLabel function now returns “Premiere” instead of “Series Premiere” for the series_premiere badge. A comment notes that clients display labels in capitals.

Changes: Premiere badge label

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: Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related PRs

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: web

Architecture 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. upcomingBadgeLabel now returns "Premiere" and "New Season" for the series- and season-premiere badges, replacing "Series Premiere" and "Season Premiere".
Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: updating the web series premiere badge label to "Premiere."
Description check Passed The description directly explains the badge label change, affected surfaces, validation, and intended distinction between premiere types.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
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.

@silo-triage silo-triage Bot added bug Something isn't working impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish stacked Base is another open PR; merge in stack order named in the body labels Oct 26, 2026
@coderabbitai coderabbitai Bot added impact: usability Core flow broken or severely blocked javascript Pull requests that update javascript code labels Oct 26, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 26, 2026

Copy link
Copy Markdown

Web Calendar C1’s recorded result is affected: its fixture week now shows NEW SEASON instead of SEASON PREMIERE; this diff also changes SERIES PREMIERE to PREMIERE. Please re-check C1 on the merged build and record the build and result in #1136. The PR’s Validation tasks: changes #1136 C1 line is correct.

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
@Quick104
Quick104 merged commit 48b895f into main Oct 26, 2026
26 checks passed
@Quick104
Quick104 deleted the fix/series-premiere-badge-premiere branch October 26, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working impact: polish Annoyance, cosmetic, or nice-to-have impact: usability Core flow broken or severely blocked javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish size/S 0–49 added + deleted lines (all files); change volume, not priority. stacked Base is another open PR; merge in stack order named in the body

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants