You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): match the dashboard episode line to the activity page - #4144
Related issue: N/A
Validation tasks: none (touches the metadata shown for #1207 C1, which has not been run yet)
Other clients: Apple N/A (web admin only); Android N/A (web admin only); Roku N/A (web admin only)
The two admin screens that list live streams write the same episode differently. The Stream column on the Activity page shows S3E13 · Example Show (2024), while the dashboard's Now Playing card shows S3 · E13 — Example Show (2024). An admin looking at the same stream on both screens gets two formats. This change makes the dashboard card use the Activity page's format.
Approach
The dashboard card and the Activity page now both get their episode line from getPlaybackSessionSubtitle in adminActivityPresentation.ts, the shared helper the profile page's household streams panel already uses. The Activity page's own copy of that logic (getDisplaySubtitle) is gone, so the three places can't drift apart again.
That helper used to build S3E13 · Show from literal text. It now uses the translated episode code (web.detail.episodeCode) and a new web.common.activity.subtitle.episode message ({code} · {series}), added in Silo-Server/silo-translations#29. The message sits outside web.admin.* because the household streams panel on Settings → Profiles is open to household parents without the admin role, whose sessions never load the admin catalog part. English output is unchanged on the Activity page and the household panel, and the dashboard keeps a translated line: T3E13 · Show in Spanish, S3F13 · Show in German, and the Arabic code with the series name isolated. The dashboard's old episodeLine and episodeLineWithSeries messages are no longer used.
vitest run over the dashboard widgets, the Activity page, adminActivityPresentation and the profile components: 180 passed.
Manual check: ran the web app from this branch with a simulated episode session and confirmed the dashboard card changed from S3 · E13 — Example Show (2024) to S3E13 · Example Show (2024), the same as the Activity page.
Rendered the shared helper with the bundled English, Spanish, German and Arabic catalogues and checked each line (results above).
Surface and build: web admin dashboard (Now Playing card) and Activity page (Stream column), desktop width (1440px). Before is upstream main at 1a99f7bef, after is this branch. The before set shows both screens disagreeing, the after set shows both matching. All four captures use the same simulated episode session, so they carry no real user, IP address or watch history. Each panel is magnified in the browser for readability.
Risks
None identified. The change is display-only. Outside English, the Activity page and household panel now show the translated episode code instead of a hardcoded S/E.
Checklist
I read and can explain the complete diff.
This pull request addresses one concern.
Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
The Evidence section shows every change a user can see, or how I checked a change nobody sees.
AI Disclosure
Harness: Claude Code (Claude desktop app)
Tool(s): Claude Code
Model(s): claude-opus-5-5
Involvement: AI-assisted. AI-assisted with Claude Opus. I directed the task and designed the work.
Adversarial review: n/a
Note
Fix dashboard episode subtitle to match the activity page
The NowPlayingWidget dashboard card and the AdminActivity page now both use the shared getPlaybackSessionSubtitle helper from adminActivityPresentation. The local getDisplaySubtitle helper in AdminActivity.tsx was removed.
Episode subtitles now build the episode code with the localized codeNumber helper and a new episode-subtitle message key, instead of a literal code and separator. Movie and series subtitles are unchanged.
Adds the new episode subtitle template (code · series) to all locale catalogs in web/src/locales; generated files were regenerated.
The admin activity table wrote an episode as "S3E13 · Show" while the
dashboard's Now Playing card writes "S3 · E13 — Show". The activity page now
uses the dashboard's message, so both admin screens read the same and the
line is translated.
No actionable comments were generated in the recent review.
Walkthrough
The admin dashboard episode card and activity stream row now use getPlaybackSessionSubtitle. Episode subtitles use localized episode-code formatting and a localized subtitle message. Locale entries are added, and one Portuguese IMDb sort label changes.
The presentation helper formats episode codes and subtitles with localized messages. AdminActivity.tsx removes its local subtitle helper. Locale entries add the episode subtitle message and key. Translation metadata changes, and the Portuguese (Brazil) IMDb sort label is updated.
The dashboard Now Playing card and the Activity page now share one localized episode subtitle format. No concrete merge-blocking risk remains in this change.
Architecture risk: Low · up to 08366
The change affects 1 system.
Changed systems:web
Architecture concerns
No architecture-level concerns identified.
Review details
Systems and components
observed — web (service) was modified; 14 changed files map to changed impact.
Before / after behavior
observed — Modified behavior in web/src/components/admin/dashboard/widgets/NowPlayingWidget.tsx: Imports getPlaybackSessionSubtitle for use in the episode card subtitle.
observed — Modified behavior in web/src/components/admin/dashboard/widgets/NowPlayingWidget.tsx: Replaces the card’s local episode subtitle formatting, which selected a translation based on whether series_name was present, with getPlaybackSessionSubtitle(session).
observed — Modified behavior in web/src/pages/AdminActivity.tsx: Adds getPlaybackSessionSubtitle to the presentation-module imports.
observed — Modified behavior in web/src/pages/AdminActivity.tsx: StreamRow now gets its subtitle from getPlaybackSessionSubtitle(session) instead of the removed getDisplaySubtitle(session, t) helper.
Pre-merge checks: 2
Check name
Status
Explanation
Title check
The title names the main change: the dashboard episode line now matches the Activity page format. It uses a fix(web) prefix, and it is specific and not vague. The change set makes both screens use the…
Description check
The description states the problem, the approach, validation steps, evidence, and risks. It names the dashboard Now Playing card, the Activity page, the shared helper, the new translation key, and the…
Full details: Title check
Explanation
The title names the main change: the dashboard episode line now matches the Activity page format. It uses a fix(web) prefix, and it is specific and not vague. The change set makes both screens use the shared getPlaybackSessionSubtitle helper, and it adds localized episode subtitle messages, which the title does not mention. That omission is acceptable.
Full details: Description check
Explanation
The description states the problem, the approach, validation steps, evidence, and risks. It names the dashboard Now Playing card, the Activity page, the shared helper, the new translation key, and the translation sync. It matches the changeset.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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: 2c9dd63b-f9a7-4c23-801b-0cc7b818620b
Commits
Reviewing files that changed from the base of the PR and between 87b76eb and a8c4ed3.
Files selected for processing: 13
.silo-translations
web/src/locales/ar-XB.json
web/src/locales/ar.json
web/src/locales/de.json
web/src/locales/en-XA.json
web/src/locales/en.json
web/src/locales/es.json
web/src/locales/fr.json
web/src/locales/ja.json
web/src/locales/keys.ts
web/src/locales/pt-BR.json
web/src/locales/zh-Hans.json
web/src/pages/adminActivityPresentation.ts
Files skipped from review as they are similar to previous changes: 1
web/src/pages/adminActivityPresentation.ts
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
The previous commit changed the wrong screen. The Activity page goes back to
"S3E13 · Show", and the dashboard's Now Playing card now uses the same
shared helper as the Activity page's household and stream views, so both
admin screens show "S3E13 · Show".
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 settingsReview Options
The following review options are enabled or disabled:
Options
Enabled
Bug
✅
Performance
✅
Security
✅
Business Logic
❌
blurbery
changed the title
fix(web): match the activity episode line to the dashboard
fix(web): match the dashboard episode line to the activity page
Nov 14, 2026
306-306: Minor · Functional Correctness · Quick win
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Keep the episode line translated.
The helper constructs S3E13 · Show directly, with raw numbers. It does not use the translated episode-line message or codeNumber(). This also removes the dashboard’s previous localized formatting. Use the translated message and formatted numbers for the shared episode line.
As per coding guidelines, “Every piece of text a user can see ships with its catalog entry and translations.”
Source: Coding guidelines
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: 1ba5f925-7a83-4cd4-8b2e-2b511c175979
Commits
Reviewing files that changed from the base of the PR and between 4c2654e and 9823e3d.
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
getPlaybackSessionSubtitle built "S3E13 · Show" from literal text, so the
dashboard card lost the translated episode code it had before. It now uses
the translated episode code and the existing "{code} · {series}" message,
and the Activity page calls the same helper instead of its own copy. English
is unchanged.
Re the CodeRabbit note on NowPlayingWidget.tsx line 306 (keep the episode line translated): agreed, fixed in 87b76eb. The shared helper now uses the translated episode code and passes the numbers through codeNumber(), and the Activity page calls it too, so the dashboard and Activity page still match outside English.
The reason will be displayed to describe this comment to others. Learn more.
One finding, below. The approach is right: one helper for the Activity page, the dashboard card, and the household panel means the three can't drift again, and the guards are equivalent, so no caller changes when it shows an episode line.
Fit: 9/10 · Readiness: 8/10 — conditional (assuming CI is green)
Fit: this fixes a visible inconsistency between two admin screens by deleting a duplicate helper instead of adding a third format, which is the kind of polish the 1.0 focus asks for.
Readiness: the approach holds. The dashboard card's isEpisode guard matches the helper's, and the movie and series fallbacks and the season 0 and missing-number cases behave as before. The remaining condition is validation: the fix is proven from source and the formatter, not by a live run or a test that fails on the base.
Addressed
The household streams panel's episode line went blank for household parents without the admin role, because the shared helper formatted a web.admin.* message they never load. Fixed in a8c4ed3: the helper now uses web.common.activity.subtitle.episode, added with its translations in feat(web): add a shared episode line for stream lists silo-translations#29.
Typecheck, ESLint and Prettier on the changed files pass. Vitest over the dashboard widgets, Activity page, presentation helpers, profile components and src/i18n: 197 passed. None of these tests checks the changed line, so none fails on the base.
The blank line was confirmed two ways: a source trace (formatWith returns an empty string for an admin id whose part hasn't loaded, and the RequirePrimaryOrAdmin route lets non-admin parents in), and a separate cross-provider review (Codex, gpt-6.1-sol) that ran the production helper and formatter with only the app catalog loaded. It got S3E13 · Example Show on the base and an empty string on the previous head, and found nothing else.
The fix rests on that source trace, not a live run: the new id isn't under web.admin., so it ships in the app catalog every session loads.
English output on all three screens is unchanged by the fix, so the published evidence still matches.
Validated features
No passed case is reached. #1207 C1 (web admin active sessions), #1208, and #1181 are all still "Not run".
Other checks
User manual: unaffected. The active playback page doesn't describe the episode line's format.
Apple, Android, Roku: N/A, web only.
The two dashboard messages this PR stops using (nowPlaying.episodeLine, nowPlaying.episodeLineWithSeries) have no other callers and can go in a later catalog cleanup.
The no-admin-message lint couldn't catch this because ADMIN_TEXT_PATHS exempts files by path (src/pages/admin*), not by who imports them. That gap predates this PR.
The household streams panel on Settings → Profiles uses the same
helper, and a household parent without the admin role never loads the
web.admin.* catalog part, so the line rendered empty for them. Use the
new web.common.activity.subtitle.episode message instead.
Translations synced from Silo-Server/silo-translations#29 with --local;
re-sync with --version once that release is published.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
silo-triageBot
added
size/M
50–199 added + deleted lines (all files); change volume, not priority.
and removed
size/S
0–49 added + deleted lines (all files); change volume, not priority.
labels
Nov 14, 2026
The reason will be displayed to describe this comment to others. Learn more.
Local translation pin breaks the default synchronization command
The default scripts/sync-translations command fails because it rejects local-* versions without a separate catalog checkout. Pin a published translation release and its checksum so the catalog can be reproduced from this repository.
Prompt for LLM
File .silo-translations, lines 2-3:
Local translation pin breaks the default synchronization command
The default `scripts/sync-translations` command now fails because it explicitly rejects `local-*` versions without a separate catalog checkout. Pin a published translation release and its checksum so the catalog can be reproduced from this repository.
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 settingsReview Options
The following review options are enabled or disabled:
Options
Enabled
Bug
✅
Performance
✅
Security
✅
Business Logic
❌
⚠️ 4 Kody Rule(s) were not evaluated
These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:
Preserve optional store capabilities through production wrappers
Detach mandatory cleanup from request cancellation and bound its lifetime
Preserve durable media identity and share identity-evidence precedence
Bound decoder throughput trades and share direct-play eligibility
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
bugSomething isn't workingimpact: polishAnnoyance, cosmetic, or nice-to-havejavascriptPull requests that update javascript codepriority: P2Limited scope, workaround exists, or polishsize/M50–199 added + deleted lines (all files); change volume, not priority.
2 participants
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.
Problem
Related issue: N/A
Validation tasks: none (touches the metadata shown for #1207 C1, which has not been run yet)
Other clients: Apple N/A (web admin only); Android N/A (web admin only); Roku N/A (web admin only)
The two admin screens that list live streams write the same episode differently. The Stream column on the Activity page shows
S3E13 · Example Show (2024), while the dashboard's Now Playing card showsS3 · E13 — Example Show (2024). An admin looking at the same stream on both screens gets two formats. This change makes the dashboard card use the Activity page's format.Approach
The dashboard card and the Activity page now both get their episode line from
getPlaybackSessionSubtitleinadminActivityPresentation.ts, the shared helper the profile page's household streams panel already uses. The Activity page's own copy of that logic (getDisplaySubtitle) is gone, so the three places can't drift apart again.That helper used to build
S3E13 · Showfrom literal text. It now uses the translated episode code (web.detail.episodeCode) and a newweb.common.activity.subtitle.episodemessage ({code} · {series}), added in Silo-Server/silo-translations#29. The message sits outsideweb.admin.*because the household streams panel on Settings → Profiles is open to household parents without the admin role, whose sessions never load the admin catalog part. English output is unchanged on the Activity page and the household panel, and the dashboard keeps a translated line:T3E13 · Showin Spanish,S3F13 · Showin German, and the Arabic code with the series name isolated. The dashboard's oldepisodeLineandepisodeLineWithSeriesmessages are no longer used.Validation
Translations synced from release
2026.11.14-c3f2a8b, which includes feat(web): add a shared episode line for stream lists silo-translations#29.Typecheck (
tsc --noEmit -p tsconfig.app.json): passed.ESLint and Prettier on the changed files: clean.
vitest runover the dashboard widgets, the Activity page,adminActivityPresentationand the profile components: 180 passed.Manual check: ran the web app from this branch with a simulated episode session and confirmed the dashboard card changed from
S3 · E13 — Example Show (2024)toS3E13 · Example Show (2024), the same as the Activity page.Rendered the shared helper with the bundled English, Spanish, German and Arabic catalogues and checked each line (results above).
Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-4144/
Surface and build: web admin dashboard (Now Playing card) and Activity page (Stream column), desktop width (1440px). Before is upstream
mainat1a99f7bef, after is this branch. The before set shows both screens disagreeing, the after set shows both matching. All four captures use the same simulated episode session, so they carry no real user, IP address or watch history. Each panel is magnified in the browser for readability.Risks
None identified. The change is display-only. Outside English, the Activity page and household panel now show the translated episode code instead of a hardcoded
S/E.Checklist
AI Disclosure
Note
Fix dashboard episode subtitle to match the activity page
The
NowPlayingWidgetdashboard card and theAdminActivitypage now both use the sharedgetPlaybackSessionSubtitlehelper fromadminActivityPresentation. The localgetDisplaySubtitlehelper in AdminActivity.tsx was removed.codeNumberhelper and a new episode-subtitle message key, instead of a literal code and separator. Movie and series subtitles are unchanged.Macroscope summarized 08366e1.