Skip to content

revert(web): remove provider links from title pages - #2730

Merged
Quick104 merged 1 commit into
mainfrom
revert/remove-provider-links
Oct 19, 2026
Merged

Quick104 merged 1 commit into
mainfrom
revert/remove-provider-links

Conversation

@Quick104

@Quick104 Quick104 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: changes #1252 C2 (series detail loses its link row); changes #1204 C1 (request page links move back into the action row)

This reverts #2328 at a maintainer's request. Movie, series and episode pages in the web app go back to having no IMDb, TMDB or TVDB links.

Approach

Validation

  • Web lint (no findings in changed files), format:check, build, budget:check and make test-web pass. The Go gate wasn't run because no Go code changed.
  • On a dev deployment, the movie, series, episode and request pages were captured before and after at desktop and phone width. A DOM check found no provider links on the library pages after the change, the request page's IMDb and TMDB links back in the action row, and no page errors.

Evidence

Before and after captures of the movie, series, episode and request pages at desktop and phone width, from main at 365e3d4 and this branch.

Risks

None identified. The change is frontend-only and removes links.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code in T3 Code
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated at a maintainer's direction; not yet verified by a person
  • Adversarial review: n/a (revert of a merged change)

🤖 Generated with Claude Code

Note

Remove provider links from library title pages

  • Deletes the shared titleLinks builder and its tests; provider-link construction now lives in RequestActionBar.tsx
  • Library and watched items no longer show IMDb, TMDB, or TVDB links (MediaUserActionBar.tsx, WatchedActionBar.tsx)
  • Request pages build links locally: IMDb when the raw ID is truthy, TMDB always added (series uses the TV path, everything else the movie path)
  • Rendered links move into the main action sequence in ActionBar.tsx with provider-label accessible names and rel="noreferrer"
  • Behavioral Change: TVDB links are gone, provider-ID shape validation is dropped, IMDb URLs lose the trailing slash, and malformed/missing TMDB IDs no longer skip the TMDB link

Macroscope summarized 2b72ca7.

Reverts #2328. Movie, series and episode pages no longer link to the
title on IMDb, TMDB or TVDB, and the shared titleLinks helper is gone.
The request page goes back to its earlier IMDb and TMDB links in the
action row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/L 200–499 added + deleted lines (all files); change volume, not priority. label Oct 19, 2026
@silo-kody

silo-kody Bot commented Oct 19, 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 ❌

@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 516dd96c-b41c-4e03-b72f-87dae38512bb
📥 Commits

Reviewing files that changed from the base of the PR and between 365e3d4 and 2b72ca7.

📒 Files selected for processing: 7
  • web/src/lib/titleLinks.test.ts
  • web/src/lib/titleLinks.ts
  • web/src/pages/ItemDetail/components/ActionBar.test.tsx
  • web/src/pages/ItemDetail/components/ActionBar.tsx
  • web/src/pages/ItemDetail/components/MediaUserActionBar.tsx
  • web/src/pages/ItemDetail/components/RequestActionBar.tsx
  • web/src/pages/ItemDetail/components/WatchedActionBar.tsx
💤 Files with no reviewable changes: 2
  • web/src/lib/titleLinks.test.ts
  • web/src/lib/titleLinks.ts

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

📝 Walkthrough

External title links now appear as glass buttons alongside primary actions. Request actions build IMDb and TMDB links directly. Media-user and watched action bars no longer pass title links, and the shared title-link helper and its tests are removed.

Changes: External title links

Layer / File(s) Summary
ActionBar link contract and rendering
web/src/pages/ItemDetail/components/ActionBar.tsx, web/src/pages/ItemDetail/components/ActionBar.test.tsx
ActionBar now uses its own ActionBarLink interface and renders external links in the primary-actions row. The test checks the TMDB link name, URL, target, and relation.
Link sources and helper removal
web/src/pages/ItemDetail/components/RequestActionBar.tsx, web/src/pages/ItemDetail/components/MediaUserActionBar.tsx, web/src/pages/ItemDetail/components/WatchedActionBar.tsx, web/src/lib/titleLinks.ts, web/src/lib/titleLinks.test.ts
RequestActionBar builds IMDb and TMDB links directly. Media-user and watched action bars stop passing links. The shared title-link helper and its tests are deleted.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Bug fix

Suggested reviewers: rhainland

Merge Risk: ⚪ Minimal · up to 2b72c

Provider links are removed from title pages as intended, while request-page links remain available. No actionable merge risk was identified.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 75.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 5 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: removing provider links from web title pages as part of a revert.
Description check Passed The description directly explains the revert, the affected pages and components, the restored request-page links, validation results, and scope.
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.
  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
📝 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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@macroscopeapp

macroscopeapp Bot commented Oct 19, 2026

Copy link
Copy Markdown

The Evidence section describes captures but does not attach them or link to them, so reviewers cannot see the changes. Please provide:

  • Movie, series, and episode detail pages lose their provider links: before-and-after desktop and mobile screenshots of the same pages and data.
  • Request details move IMDb/TMDB links into the action row and remove the series TVDB link: before-and-after desktop and mobile screenshots of the same request page and data.

Include the exact head commit/build for the “this branch” captures. Alternatively, link the published evidence page.

Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness.

Posted via Macroscope — Visible change evidence

@silo-triage silo-triage Bot added impact: polish Annoyance, cosmetic, or nice-to-have javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish labels Oct 19, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 19, 2026

Copy link
Copy Markdown

The passed Web cases #1204 C1 and C2 need a minor re-check. C1 visits the request-title page, where the links move into the action row and TVDB disappears. C2's fulfilled-notification link opens the library item, whose provider-link row this PR removes; the notification flow itself remains unchanged.

Suggested fix:

-Validation tasks: changes #1252 C2 (series detail loses its link row); changes #1204 C1 (request page links move back into the action row)
+Validation tasks: changes #1252 C2; changes #1204 C1; changes #1204 C2

Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed.

Posted via Macroscope — v1 validation impact

@Quick104
Quick104 merged commit 5e16099 into main Oct 19, 2026
19 of 20 checks passed
@Quick104
Quick104 deleted the revert/remove-provider-links branch October 19, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact: polish Annoyance, cosmetic, or nice-to-have javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish size/L 200–499 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant