Skip to content

fix(tv): remove duplicated hero starring overlay - #130

Merged
RXWatcher merged 6 commits into
mainfrom
fix/remove-tv-detail-starring-overlay
Jul 29, 2026
Merged

RXWatcher merged 6 commits into
mainfrom
fix/remove-tv-detail-starring-overlay

Conversation

@RXWatcher

@RXWatcher RXWatcher commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • remove the duplicated floating Starring … credit from the Android TV detail hero
  • preserve the full cast/crew section and movie-only Directed by … credit
  • remove the now-unused metadata formatter and hero wiring
  • add a focused regression preventing the overlay boundaries from returning

Verification

  • ./scripts/test-check-build-supply-chain.sh
  • ./scripts/check-build-supply-chain.sh
  • ./gradlew :androidTvApp:testDebugUnitTest --max-workers=2 --no-daemon
  • ./gradlew :androidTvApp:assembleDebug :androidTvApp:assembleRelease -PallowDebugReleaseSigning=true --max-workers=2 --no-daemon
  • focused RED/GREEN source-contract, director-credit, and metadata tests
  • independent task reviews and whole-branch review: no open findings
  • no ADB, emulator, or physical-device work performed

Known repository baseline

./gradlew test --max-workers=2 --no-daemon reaches 996 release tests and
fails only SiloDatabaseMigrationTest.migration7To8PreservesDownloadsAndAddsNullableQualityColumns
because the Room migration fixture is absent. This branch has no
android-shared diff; the scoped Android TV suite and both TV assemblies pass.

Summary by CodeRabbit

  • UI Improvements

    • Removed the duplicated “Starring…” overlay from the Android TV detail hero.
    • The full cast and crew section remains available on the detail screen.
    • Existing director credits, actions, focus behavior, scrolling, and other hero content remain unchanged.
  • Tests

    • Added coverage to verify the overlay is removed while the cast and crew section remains present.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@RXWatcher, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 49 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8bf42332-2ef2-46ff-a28e-88a03f86dba4

📥 Commits

Reviewing files that changed from the base of the PR and between a08b118 and 3ab4385.

📒 Files selected for processing (1)
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvStarringOverlaySourceTest.kt
📝 Walkthrough

Walkthrough

Removes the duplicated Android TV detail hero “Starring …” overlay and its metadata wiring, while preserving the cast/crew section and director credit. Adds source-level regression tests and documents the implementation scope and verification steps.

Changes

TV starring overlay removal

Layer / File(s) Summary
Scope and verification documentation
docs/superpowers/plans/..., docs/superpowers/specs/...
Documents the Android TV-only removal, preserved cast and director content, implementation boundaries, and verification steps.
Remove starring metadata and hero overlay
androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/*
Removes starringText derivation, hero parameter wiring, and upper-right overlay rendering; also adjusts related formatting and documentation.
Guard the TV detail presentation
androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvStarringOverlaySourceTest.kt
Adds source assertions preventing the removed overlay code from returning while requiring TvCastCrewSection to remain present.

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

Possibly related PRs

  • Silo-Server/silo-android#128: Modifies the same hero layout and starring-credit area by adding a trailing scrim rather than removing the overlay.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: removing the duplicated Android TV hero starring overlay.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/remove-tv-detail-starring-overlay

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvStarringOverlaySourceTest.kt`:
- Around line 19-29: Strengthen
tvDetailDoesNotDeriveOrRenderDuplicatedStarringOverlay by asserting that the
screen does not contain the prohibited starring-overlay concept, including
inline “Starring ” text and renamed overlay implementations, rather than relying
only on starringText identifiers or the exact
TvDetailMetadata.starringText(detail) call. Keep
tvDetailStillRendersTheFullCastSection unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d0c2a4f6-4c47-4605-a488-12dd188c8bbf

📥 Commits

Reviewing files that changed from the base of the PR and between 371ad9e and a08b118.

📒 Files selected for processing (6)
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailHero.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailMetadata.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvItemDetailScreen.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvStarringOverlaySourceTest.kt
  • docs/superpowers/plans/2026-07-29-remove-tv-detail-starring-overlay.md
  • docs/superpowers/specs/2026-07-29-remove-tv-detail-starring-overlay-design.md
💤 Files with no reviewable changes (2)
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailMetadata.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvItemDetailScreen.kt

@RXWatcher
RXWatcher merged commit 998a487 into main Jul 29, 2026
1 check passed
@RXWatcher
RXWatcher deleted the fix/remove-tv-detail-starring-overlay branch July 29, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant