Repository navigation
Fix/silo seerr duplicate rows - #2258
RadicalMuffinMan merged 2 commits into
Conversation
Seerr's similar titles often repeat its recommendations, and Silo has only one list of recommendations, which it gives for both. A Seerr title on Silo, and a library title's Seerr rows, showed the same titles twice. Similar now keeps only what a shown Recommendations row doesn't have, so on Silo it is left out, and with Recommendations switched off it keeps everything. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spotlight's similar card still read the whole Seerr similar list, so it repeated Recommendations' titles. It now takes the same list as the other styles. Whether Similar shows now follows from that list, and Frost's posters take the list they draw. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
❌ Build FailedOne or more platform builds failed. Artifacts are listed for the platforms that did build. Tests ✅ 9116 passed, analyzer clean Touched lines ✅ no new diagnostics Coverage 🟡 tests run 11 of 25 measurable changed lines (44%) · 10 by this PR's own tests
A line counts when any test runs it, which doesn't mean a test checks what it does. The biggest stretches no test runs are marked in Files changed.
|
Pull Request
Summary
On Silo, a Seerr title's details, and a library title's Seerr rows, show "Recommendations" and "Similar" with the same titles in the same order. Silo keeps one list of recommendations on a request's detail and none of similar titles, and
SiloSeerrHttpClientanswers both calls from that list. On a Jellyseerr or Overseerr server the two lists often overlap a lot too.SeerrDetailPiecesnow works out the Similar titles to draw: those a shown Recommendations row doesn't already have. On Silo that leaves Similar empty, so the row isn't drawn. With Recommendations switched off in the detail sections, Similar keeps everything, so that setting still works on Silo. Nouveau's Discovery section already removed the overlap itself and is unchanged.Related Issues
Type of Change
Changes Made
lib/ui/widgets/seerr/seerr_item_status.dart:SeerrDetailPiecesgainssimilarItems, the Seerr similar titles minus those (by media type and TMDB id) in a shown Recommendations row.similaris nowsimilarItems.isNotEmpty.detail_page.dart,item_detail_screen.dart,modern_detail_content.dart,spotlight_cards.dartandfrost_detail_content.dartdrawpieces.similarItemsinstead ofstate.similar. Frost's_seerrPostersnow takes the list it draws.test/ui/widgets/seerr/seerr_detail_pieces_test.dart: Similar leaves out Recommendations' titles, a Similar that only repeats them isn't drawn, Similar keeps everything with Recommendations off, and a film and a series with the same id stay apart.Platform
Testing
Checked on a macOS build signed in to a Silo server. I didn't test a Jellyseerr or Overseerr server, or a title with Recommendations switched off.
flutter analyzereports no issues in the changed files beyond infos that were already there. The new test andseerr_watch_providers_test.dartpass, and the new test fails when one expected value is changed. I didn't run the full suite.Test Steps
Screenshots (if applicable)
Before (Silo, a Seerr title: Recommendations and Similar with the same titles):

After (one Recommendations row):

Checklist
AI use
I wrote this change with Claude (Claude Code). I read the change, tested it as described above, and can walk through it.