Skip to content

feat(sections): cap Home and library rows at 20 cards and open each row as a full page - #908

Merged
Quick104 merged 4 commits into
mainfrom
feat/section-view-more-card
Oct 28, 2026
Merged

Quick104 merged 4 commits into
mainfrom
feat/section-view-more-card

Conversation

@Quick104

@Quick104 Quick104 commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

Home and library rows load every card a row has, often 100, and the only way to see more of a row is to scroll it to the end. Silo-Server/silo-server#2742 made every Home and library row a full page on web, with an "Explore all" link on each row. The Apple apps had no way to open those pages, and the row header's "See All" button was never wired up.

Rows now stop at 20 cards and end with an "Explore all" card that opens the row's full page.

Approach

  • Row size. Every Home and library row shows at most 20 cards. When the server advertises section_item_limit_max in GET /api/v2/home/capabilities (feat(sections): let clients cap row size on the Home and library section reads silo-server#3055), the Home and library section reads also send item_limit=20, so the server sends only those cards. The answer is remembered per server, so later launches ask for short rows on their first Home read. If a server rejects item_limit as an unknown parameter (422), the read runs again without it and the server is remembered as not offering it. Older servers keep working, and the client still cuts rows to 20.
  • Explore all card. It is the last card of each row, drawn at the row's artwork size, in the Home feed, Skyline rows and library rows. Home drops titles another row already shows, so a short row can still have more on its page; the card appears on every row with cards, as on web.
  • Row page. SectionCatalogView pages the row through GET /api/v2/catalog?source=section (scope=home, or scope=library with library_id) in the existing CatalogGrid, with the same profile checks as the other catalog pages. It shows the row's item count, and has loading, empty, error and "Row unavailable" states. A mixed library's Movies or Series view keeps its filter on the page.
  • iPhone, iPad, Mac. The row title also opens the page and carries a chevron. The unused "See All" header button is removed.
  • Apple TV. Only the trailing card opens the page, so rows gain no extra focus stop. The card joins the row's focus graph, the marquee keeps the last title it previewed, and Back from the page returns focus to the card.

Silo-Server/silo-android#688 makes the same change on Android phone and TV.

Validation

  • Unit tests (iOS simulator): the new SectionRowLimitTests and the Home sections, artwork sizing and library collection suites pass (21 tests).
  • Build: iOS, tvOS and macOS build from this branch.
  • Simulator, iPhone, iPad and Apple TV, against a server running feat(sections): let clients cap row size on the Home and library section reads silo-server#3055: Home and library rows stop at 20 cards and end with Explore all; the card and the row title open the full page; the page loads more as it scrolls; on Apple TV focus reaches the card after the 20th card and returns to it after Back. In the server log, a Home read fell from 392,498 to 219,389 bytes.
  • Device: installed on an iPhone and an Apple TV.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-apple/pr-908/

Surface and build: iPhone and iPad simulators (iOS 27) and the Apple TV simulator, Debug builds from this branch, compared with main on the same server and library. Mac was built but not captured; its rows use the iPhone layout. iPhone Duo was not run; it uses the same row and page views.

Risks

  • Rows show fewer cards; the rest are one tap away on the row's page.
  • The first Home read after updating can go out before the capability read finishes. It is cut to 20 cards on the client, and later reads send item_limit.
  • Servers without feat(sections): let clients cap row size on the Home and library section reads silo-server#3055 get the client-side cut only, so their Home payload does not shrink.
  • Servers older than feat(sections): open every Home and library row as a full page silo-server#2742 answer most rows' pages (Continue Watching, recommendations, Trending, daily mixes) with an empty list and read a customized row's admin definition. On those servers rows still stop at 20, so their remaining cards are out of reach until the server updates. This is deliberate; the page works on any server with #2742.
  • On Apple TV the row page's title dims and overlaps the posters while scrolling, as it already does on the Collection and History pages.

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, run from T3 Code
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a

🤖 Generated with Claude Code

Note

Cap Home and library rows at 20 cards and add full-page section catalogs

  • Adds a new SectionCatalogView and SectionCatalogViewModel that load all items for a section, page through them in a CatalogGrid, and filter by media scope. Reachable via a new sectionCatalog route on both iOS and tvOS.
  • Home and library rows now end with an "Explore all" card (or a tappable header on non-tvOS) that navigates to the section catalog. Focus restoration works on the Explore all card after returning from item detail.
  • Section responses are capped at 20 items via SectionRowLimit.capped in SiloAPI.homeSections and librarySections. When a server advertises support (probed via homeCapabilities and persisted in UserDefaults per server), requests include item_limit, with one retry without it if the server rejects the parameter as unknown.
  • Renames onSeeAll to onExploreAll throughout the row components.
  • Behavioral Change: rows that previously showed all returned items now show at most 20; check SectionRowLimit.capped in SectionRowLimit.swift and the onSeeAll to onExploreAll rename in MediaRow.swift.

Macroscope summarized 2633a49.

… all page

Home and library rows loaded every card the server sent, often 100 per
row. Rows now stop at 20 cards and end with an Explore all card that opens
the row's full page, read from the catalog's section source with paging.
On iPhone, iPad and Mac the row title opens the same page; on Apple TV
the card is the only route, so rows gain no extra focus stop.

Servers that advertise section_item_limit_max in /api/v2/home/capabilities
get item_limit=20 on the Home and library section reads, which roughly
halves the Home payload. The answer is remembered per server, and a 422
for the unknown parameter falls back to an uncapped read. The client caps
rows to 20 either way.

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

silo-kody Bot commented Oct 25, 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 25, 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-27T01:32:00.467578Z 2633a49 New commits
🔒 Security Review ✅ Completed 2026-10-27T01:34:17.471401Z 2633a49 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 25, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

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).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 12 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 92 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

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: a6b31820-a982-46a7-b3da-71840fef47ab
Commits

Reviewing files that changed from the base of the PR and between a65867e and 2633a49.

Files selected for processing: 3
  • iosApp/iosApp/Screens/Browse/CatalogGrid.swift
  • iosApp/iosApp/Screens/Sections/SectionCatalogView.swift
  • iosApp/iosApp/Screens/Sections/SectionCatalogViewModel.swift
Walkthrough

The app adds paginated full-page catalogs for Home and library sections, with Explore all controls on section rows. Section reads also track server support for item_limit, retry when a server rejects the parameter, and cap returned rows at 20 cards.

Changes: Section catalogs

Layer / File(s) Summary
Section target and catalog loading
iosApp/iosApp/Navigation/Route.swift, iosApp/iosApp/Networking/APIv2/APIv2CatalogModels.swift, iosApp/iosApp/Screens/Sections/SectionCatalogViewModel.swift
Adds Home and library section targets, builds scoped catalog queries, and loads, filters, and paginates catalog items.
Catalog screen and routing
iosApp/iosApp/Screens/Sections/SectionCatalogView.swift, iosApp/iosApp/ContentView.swift, iosApp/iosApp/Navigation/AppRouter.swift, iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift
Adds the catalog screen and routes app and tvOS navigation to it.
Explore all entry points
iosApp/iosApp/Components/MediaRow.swift, iosApp/iosApp/Components/SectionExploreAllCard.swift, iosApp/iosApp/Screens/Home/Feed/*, iosApp/iosApp/Screens/Home/HomeView.swift, iosApp/iosApp/Screens/Home/SectionRow.swift, iosApp/iosApp/Screens/Browse/BrowseView.swift, iosApp/iosApp/tvOS/Components/TVSkylineSectionFeed.swift, iosApp/iosApp/tvOS/Screens/Libraries/TVLibraryBrowseView.swift
Adds Explore all actions to Home and library rows. On tvOS, the card participates in focus and detail-return restoration.

Section row limits

Layer / File(s) Summary
Capability tracking and capped section reads
iosApp/iosApp/Networking/APIv2/APIv2Client.swift, iosApp/iosApp/Networking/APIv2/APIv2SupportModels.swift, iosApp/iosApp/Networking/SectionRowLimit.swift, iosApp/iosApp/Networking/SiloAPI.swift, iosApp/iosApp/Networking/ServerRegistry.swift, iosApp/iosApp/ContentView.swift, iosApp/Tests/SectionRowLimitTests.swift
Adds capability requests and per-server support state. Home and library section reads use an advertised limit, retry without it when unsupported, and cap returned rows at 20 cards. Tests cover supported, unrecorded, rejected, and refreshed capability states.

Priority: Normal

Estimated code review effort: 4 (Complex) | ~40 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant Viewer
  participant MediaRow
  participant AppRouter
  participant SectionCatalogView
  participant SectionCatalogViewModel
  participant APIv2Client
  Viewer->>MediaRow: Select Explore all
  MediaRow->>AppRouter: Navigate to sectionCatalog target
  AppRouter->>SectionCatalogView: Render target catalog
  SectionCatalogView->>SectionCatalogViewModel: Load target items
  SectionCatalogViewModel->>APIv2Client: Request paginated section items
Loading

Possibly related issues

  • Silo-Server/silo-apple#904 — Adds Explore all cards that open full pages for Home and library rows, matching the issue’s Explore All request. The alphabetical sorting request is not addressed.

Possibly related PRs

  • Silo-Server/silo-apple#889 — Changes the shared iPhone poster width used by Home row cards, which also affects the geometry used to size the new Explore all card.

Suggested labels: enhancement, needs-review, priority: P2, impact: polish, size/XL

Suggested reviewers: rhainland, zzebrahz

Merge Risk: Moderate · previous review a6586

Explore all can show different content for customized rows, and some filtered pages can appear empty despite more results. Resolve those browsing failures before merging; returning from detail can also discard loaded pages.

Security architecture risk: Low · up to a6586

The inspected browsing paths retain account and profile checks, and compatibility retries do not remove those checks. No security bypass was established. However, customized rows lose their source provenance when opened as full pages, and the server’s authorization and customized-section behavior could not be verified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The newly reachable read path lets a user open server-resolved Home and library section identifiers and display returned catalog metadata. Requests remain associated with the selected server, account, and profile. Whether a supplied section identifier can return unauthorized media depends on server enforcement that was not available for inspection.

Trust Boundaries and Controls

  • observed — The inspected catalog transport checks ownership before dispatch, fences network execution, and checks ownership again before returning a continuation. Ownership comparison includes server/account generation, credential owner, selected profile, and profile proof; ordinary access-token rotation does not change ownership.

Resilience and Maintainability Implications

  • observed — The section loader supersedes reset requests by generation, rejects cancelled or superseded results, clears cards on detected ownership changes, and validates ownership before publishing successful results. Server changes recreate the routed subtree, while profile selection resets navigation, providing lifecycle controls beyond individual request fences.

Hardening Proposals

  • proposed — Establish an explicit end-to-end contract for customized and profile-added section pages, including independent server authorization of section and library identifiers. Preserve the originating row’s provenance or avoid substituting the administrator section source until equivalent semantics are supported.
Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the two main changes: limiting Home and library rows to 20 cards and opening each row as a full page.
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.
Description check Passed The pull request description directly describes the changeset: capping Home and library rows at 20 cards, adding Explore all navigation and section catalog pages, implementing server capability negoti…
Full details: Description check

Explanation

The pull request description directly describes the changeset: capping Home and library rows at 20 cards, adding Explore all navigation and section catalog pages, implementing server capability negotiation, and adding Apple TV focus handling.

Finishing Touches: 💡 2
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • 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.

@macroscopeapp

macroscopeapp Bot commented Oct 25, 2026

Copy link
Copy Markdown

The Evidence section describes simulator/device testing but includes no screenshots, recording, or evidence.siloserver.org link, so reviewers cannot see the change without building.

  • MediaRow.swift, HomeFeedRow.swift, SectionExploreAllCard.swift, and SectionCatalogView.swift: the 20-card row cap, Explore all card, and full-row page change what users see on iPhone, iPhone Duo folded and open, iPad, Mac, and Apple TV. Add before-and-after captures of the same row with the same data and the resulting page for each device. The text describes iPhone, iPad, and Apple TV testing but does not provide captures; Mac and both Duo layouts are also missing.
  • MediaRow.swift and HomeFeedKit.swift: row-title navigation and its chevron reach iPhone, iPhone Duo folded and open, iPad, and Mac. Add before-and-after captures for these devices, including both Duo layouts.
  • TVSkylineSectionFeed.swift and MediaRow.swift: Apple TV focus movement to Explore all and restoration after Back need a short recording; the description of testing is not a recording.

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 enhancement New feature or request evidence-required Needs before-and-after evidence before the Evidence check passes priority: P2 Limited scope, workaround exists, or polish labels Oct 25, 2026

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a65867efa9

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +99 to +100
init(_ section: ResolvedSection, scope: Scope, mediaScope: LibraryVideoScope? = nil) {
self.init(scope: scope, sectionId: section.id, title: section.title, mediaScope: mediaScope)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Incorrect source selection in SectionCatalogTarget discards the row's customized/isCustom provenance and routes every row through the section catalog source, which LibraryVideoScope.refill and its tests explicitly identify as the admin definition rather than the profile's customized row. Preserve this distinction and avoid the admin-definition source for those rows: Explore all otherwise opens different content for overridden rows or an unavailable page for profile-added rows, while the new cap removes access to their remaining inline cards.

Prompt for LLM

File iosApp/iosApp/Navigation/Route.swift:

Line 99 to 100:

Incorrect source selection in SectionCatalogTarget discards the row's customized/isCustom provenance and routes every row through the section catalog source, which LibraryVideoScope.refill and its tests explicitly identify as the admin definition rather than the profile's customized row. Preserve this distinction and avoid the admin-definition source for those rows: Explore all otherwise opens different content for overridden rows or an unavailable page for profile-added rows, while the new cap removes access to their remaining inline cards.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not on current servers. Since Silo-Server/silo-server#2742 the source=section catalog read finds the row among the profile's resolved rows: findCatalogSectionRow (internal/api/handlers/catalog_sections.go) loads loadResolvedHomeSections / loadResolvedLibrarySections, which apply sections.Resolve(adminSections, overrides). A customized row pages its profile version, and a profile-added row is found rather than answering 404. The LibraryVideoScope.refill note about the admin definition predates #2742.

Servers older than #2742 do read the admin definition. Keeping Explore all on every row there is a deliberate choice, now listed under Risks in the PR body.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for the correction. With #2742 resolving source=section against the profile’s resolved rows, customized rows use their overrides and profile-added rows remain discoverable. SectionCatalogTarget therefore does not need to preserve customized/isCustom for this routing.

I retract the original finding: it relied on the outdated LibraryVideoScope.refill note. The pre-#2742 behavior is a documented, deliberate compatibility tradeoff—not an overlooked source-selection bug in this PR. No change to Route.swift is needed for this concern.

@coderabbitai coderabbitai Bot added impact: polish Annoyance, cosmetic, or nice-to-have needs-review Needs maintainer review to resolve uncertain classification, scope, or changed evidence. labels Oct 25, 2026

@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


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: 449447b4-48dc-4156-8c7f-a50b536a95c8
Commits

Reviewing files that changed from the base of the PR and between 9fbd84c and a65867e.

Files selected for processing: 22
  • iosApp/Tests/SectionRowLimitTests.swift
  • iosApp/iosApp/Components/MediaRow.swift
  • iosApp/iosApp/Components/SectionExploreAllCard.swift
  • iosApp/iosApp/ContentView.swift
  • iosApp/iosApp/Navigation/AppRouter.swift
  • iosApp/iosApp/Navigation/Route.swift
  • iosApp/iosApp/Networking/APIv2/APIv2CatalogModels.swift
  • iosApp/iosApp/Networking/APIv2/APIv2Client.swift
  • iosApp/iosApp/Networking/APIv2/APIv2SupportModels.swift
  • iosApp/iosApp/Networking/SectionRowLimit.swift
  • iosApp/iosApp/Networking/ServerRegistry.swift
  • iosApp/iosApp/Networking/SiloAPI.swift
  • iosApp/iosApp/Screens/Browse/BrowseView.swift
  • iosApp/iosApp/Screens/Home/Feed/HomeFeedKit.swift
  • iosApp/iosApp/Screens/Home/Feed/HomeFeedRow.swift
  • iosApp/iosApp/Screens/Home/HomeView.swift
  • iosApp/iosApp/Screens/Home/SectionRow.swift
  • iosApp/iosApp/Screens/Sections/SectionCatalogView.swift
  • iosApp/iosApp/Screens/Sections/SectionCatalogViewModel.swift
  • iosApp/iosApp/tvOS/Components/TVSkylineSectionFeed.swift
  • iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift
  • iosApp/iosApp/tvOS/Screens/Libraries/TVLibraryBrowseView.swift

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.

Returning from a card's detail page reran the page's load and dropped
every page after the first; the page now reloads only for a different row
or an explicit refresh. A Movies or Series view stopped after four pages
the filter emptied and showed nothing to page from; it now reads on until a
card matches or the row ends. On Apple TV the loading state takes focus,
so Back works while the first page loads. A failure read for a profile
that is no longer active no longer marks the row unavailable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Oct 27, 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 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 29557f44e9

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +205 to +206
query.source = "section"
query.sectionId = target.sectionId

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve profile-customized rows when opening their full page

For a profile-customized or profile-added library row, this unconditional section-source request does not necessarily read the row the user opened. LibraryVideoScope.refill explicitly avoids this source for customized/isCustom rows because it pages the admin definition, and LibraryVideoScopeTests.testProfileCustomizedShelvesAreNotRefilledFromTheAdminDefinition protects that behavior. The new route discards both flags and always uses this source, so Explore all can show the admin row's different contents or report an existing profile-only row as unavailable. Preserve the customization context and use a source that resolves that profile's row, or retain an appropriate fallback for servers with this contract.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Same as the earlier thread on Route.swift: since Silo-Server/silo-server#2742 this read resolves the row from the profile's resolved rows (findCatalogSectionRow → loadResolvedLibrarySections → sections.Resolve(adminSections, overrides)), so customized and profile-added rows page their profile version. LibraryVideoScope.refill and its test predate #2742 and are unchanged here. Older servers read the admin definition; keeping the page there is a deliberate choice listed under Risks.

A profile switch while the page reads past filtered-out pages now stops
the read before it follows the next continuation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Oct 27, 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 ❌
⚠️ 3 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:

  • Centralize server-relative authentication path validation
  • Enforce latest-link-wins centrally across deferred deep links
  • Rank subtitles using container capabilities and one stable cross-client policy

The grid asks for more when the card six from the end appears. A Movies
or Series page that added fewer than six cards left that trigger on a card
already showing, so paging stopped. A load now reads on until it has six
cards or the row ends.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

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

@Quick104
Quick104 merged commit b31784a into main Oct 28, 2026
10 checks passed
@Quick104
Quick104 deleted the feat/section-view-more-card branch October 28, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request evidence-required Needs before-and-after evidence before the Evidence check passes impact: polish Annoyance, cosmetic, or nice-to-have needs-review Needs maintainer review to resolve uncertain classification, scope, or changed evidence. priority: P2 Limited scope, workaround exists, or polish size/XL 500–999 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant