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
feat(home): add in-place Home and library section customization and collection pinning - #1266
Viewers on Apple clients had no way to reorder, hide, or add Home and library rows, adjust Home display preferences (Next Up Mode, New Releases First, Hide Watched Items), or pin personal and server collections directly onto Home or library pages without leaving the app for the web UI.
Reads and writes /api/v2/profile/sections/settings, /api/v2/profile/sections, and /api/v2/sections/recipes with explicit coding keys so per-recipe config objects keep their server keys untouched.
Builds overrides the way the web client's buildSectionOverrides does: positions are written only once the profile orders the page (including moving a newly added row); until then admin rows keep the admin's positions and user-added rows keep their own. New rows are appended at one past the page's highest position (nextAppendPosition), since admin positions can be sparse.
Isolates in-flight drag/grab reordering in a separate draft buffer (dragDraftRows) with cancellation support, serializes resets inside saveChain with immediate post-DELETE invalidation, fences async reads by HTTPRequestIdentity and cache write tokens, and surfaces picker load failures with retry.
Authorizes HomePreferencesModel edits only after both the settings contract capability probe and effective-values read succeed for the current server and profile, serializing writes per key with last-confirmed rollback.
In-place Zoom-Out Shelf Mode: Entered from the Profile menu on Home or library pages (including the iPhone Duo status column with active library ID routing) and from Settings → Interface → Home Screen (with a Home + Library page switcher).
Pre-seeds shelf strip cards from already-loaded sections with live 3-poster filmstrips (preserving per-slot artwork provenance and episode spoiler blur), Server/Yours badges, item counts, one-tap eye visibility toggles, collapsible Hidden Rows, and context menu actions.
Pure-SwiftUI live drag-to-reorder lifts the rounded card itself (no UIKit List black square artifact), auto-scrolls smoothly near viewport edges, and discards drafts cleanly if SwiftUI cancels the drag gesture.
Native inset-grouped Add Row flow (IOSAddRowSheet): Searchable .insetGrouped catalog grouping Collections (A Collection and Row of Collections) and curated recipe families, pushing into native SwiftUI configuration screens with variant pickers, recipe-specific controls, editable Row Name, Items to Show stepper, and Hero Banner toggle.
Home Options sheet (IOSHomeOptionsSheet): Next Up Mode, New Releases First, Hide Watched Items, and confirmed Reset to Server Default.
Apple TV (TVHomeCustomizeOverlay, TVGeneralSettingsView):
Settings → General → Home and Library Rows lists Home and each library. Each row opens the full-screen Skyline Grab & Slide editor for that page (TVHomeSectionsSettingsSheet → TVHomeCustomizeOverlay), built as a single composite focus owner per docs/tvos-focus.md, with Select-to-grab, Up/Down draft sliding (single save on Select, draft cancel on Menu), Play/Pause or Right for row options, Options, and a TVAddRowModal with merged category headers. A library page's editor is titled with its name ("Customize Movies") and offers only layout options.
The editor draws on an opaque page, leaves room for the highlighted or picked-up card's scale and shadow, fades rows at the list edges, and shows Apple TV remote instructions (home.customize.tvSubtitle, home.customize.tvMovingSubtitle).
One-tap Pin to Home + Where It Shows placement menu on collection pages (always re-reading current layout before pinning and unpinning all visible matching rows), kept on empty collections.
Add to Collection sheet/submenu using GET /api/v2/catalog/items/{id}/collections (lazily loaded on tvOS when opening the More menu) with error/retry handling and detail-refit deferral while sheets are open.
Scope: This PR leaves screens outside the feature as they are on main. Profile subtitle and metadata-language settings (ProfilePrefsEditor), collection-detail paging (LibraryCollectionDetailViewModel), the collections list (CollectionsViewModel), and the tvOS library page are unchanged except for these hooks: the collection pin bar, a reload when a personal collection's items change, and a library-page reload after a layout save or other refresh. ProfileSettingsWriter reports UncertainRefusal only to callers that ask for it (reportsUncertainRefusal); only Home Options does.
Validation
Unit tests (SiloTests, Xcode 27.2, iOS 27.2 simulator, unsigned build):
On 3aff552c: 82/82 passed across ProfileHomeLayoutTests (32, including new sparse-position and moved-new-row tests), HomeSectionsMutationTests (28), HomeSectionsAPITests (6), CollectionsViewModelTests (11), and LibraryCollectionDetailViewModelTests (5).
On 84c192d1: 66/66 passed across ProfileHomeLayoutTests, HomeSectionsMutationTests, and HomeSectionsAPITests.
On 62904c7d: ProfileAndQualitySettingsTests 78/78 (restored to main). Other failures in the full run were in keychain and sign-in suites (keychain_read_failed(status=-34018)), which need a signed test host; a same-setup comparison run on main was not completed.
Builds: tvOS on 84c192d1; macOS on 3aff552c; iOS built by the 3aff552c test run. Earlier signed iOS and tvOS builds were installed on a physical iPhone and Apple TV.
Apple TV (fa107fd0, fe4a0941): checked on an Apple TV simulator against a dev-builder sandbox: idle, selected and picked-up rows, Menu cancel (order restored, nothing saved), a scrolled list, Settings rows for Home, Movies and TV Shows, and hiding "Recently Added Movies" in Customize Movies removing it from the Movies page.
CI script checks: check-no-api-v1.sh, check-string-localized.sh, and check-catalog-text.py pass on 6dfb2f2d.
Surface and build: iPhone, iPad, iPhone Duo (folded and open), and Apple TV simulators against shared dev (captured on 99b8bb6a; follow-up b1920118 moved the tvOS entry point to Settings → General only, and 1508d8d1 wired review fixes and string catalog keys). Those captures predate the later review-fix commits, which added error banners and retry flows they don't show. 62904c7d restored out-of-scope screens to main and changes nothing the captures show. The "Apple TV editor polish" (fa107fd0) and "Apple TV library customization" (fe4a0941) sections have captures on a sandbox. macOS shares the #if !os(tvOS) SwiftUI views (SiloMac build verified).
Risks
Profile section customization writes to /api/v2/profile/sections; servers older than the profile-sections endpoint return an error shown inline without modifying local state.
The layout is read in two requests and saved with an unconditional PUT, as on the web client, so an edit made elsewhere between the read and the save can be overwritten. Closing that needs a revision on the server contract; follow-up work.
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 how I checked a change nobody sees.
AI Disclosure
Harness: Antigravity in T3 Code; Claude Code in T3 Code (scope trim 62904c7d, review fixes, Apple TV polish fa107fd0, Apple TV library rows fe4a0941, position alignment 3aff552c, translations pin 6dfb2f2d)
Tool(s): Antigravity, Claude Code
Model(s): gemini-4-neon, claude-opus-5-5
Involvement: AI-generated, human directed and verified on physical iPhone
Add in-place Home and library section customization with collection pinning
Adds section editors for Home and libraries on iOS and tvOS, backed by new profile-section layout APIs (profileLayout, saveProfileLayout, resetProfileSectionOverrides) and a HomeSectionsEditorModel. Users can reorder, hide, add, and reset sections inline (IOSHomeCustomizeView.swift, TVHomeCustomizeOverlay.swift).
Adds collection pinning: CollectionPlacementModel and CollectionPinActionBar let users pin a collection to their Home, plus new collection-item add/remove APIs and a notification that reloads open collection views when items change.
Adds "Add to Collection" actions on media cards and detail screens for movies and series, on both iOS and tvOS.
Fixes stale cached reads: StartupContentPrefetcher.fetchLibrarySections retries invalidated library-section reads (up to three times), and CollectionDetailView.loadItems no longer caches or handles responses after cancellation or invalidation.
Risk: AppRouter.refitItemDetail() now skips reconstructing the item-detail presentation while the deferred-refit count in AppRouter.swift is nonzero; ProfileSettingsWriter may throw the new UncertainRefusal error for non-upgrade-required refusals after a failed attempt.
This pull request adds profile-scoped Home and Library section customization on iOS and tvOS. It also adds collection membership, pinning, and sharing actions, with API support and refresh handling for affected views.
Changes: Profile Section Customization
Layer / File(s)
Summary
Profile layout contracts and requests iosApp/iosApp/Networking/APIv2/APIv2ProfileSectionModels.swift, iosApp/iosApp/Networking/APIv2/APIv2Client+ProfileSections.swift, iosApp/iosApp/Networking/APIv2/APIv2Client.swift, iosApp/iosApp/Networking/SiloAPI.swift, iosApp/iosApp/Networking/ProfileSettingsWriter.swift
Adds Home and library scope models, section and recipe models, profile-layout read, save, and reset requests, and identity-aware settings writes.
Layout and preference editing iosApp/iosApp/Screens/Home/ProfileHomeLayout.swift, iosApp/iosApp/Screens/Home/HomeSectionsEditorModel.swift, iosApp/Tests/ProfileHomeLayoutTests.swift, iosApp/Tests/Support/APIv2TestStub.swift
Adds layout overrides, row editing and persistence, preference writes and recovery, and tests for ordering, queued edits, request identity, and recovery.
Adds per-library invalidation-aware section loading and refresh handling. The translation metadata also changes.
Collection Actions
Layer / File(s)
Summary
Collection APIs and data iosApp/iosApp/Networking/APIv2/APIv2Client+Collections.swift, iosApp/iosApp/Networking/APIv2/APIv2CollectionModels.swift, iosApp/iosApp/Networking/APIv2/APIv2CatalogModels.swift, iosApp/iosApp/Networking/APIv2/APIv2LibraryModels.swift, iosApp/iosApp/Networking/Models.swift, iosApp/iosApp/Networking/SiloAPI.swift
Adds collection item and sharing requests, membership capability fields, owner-scoped API wrappers, and collection ownership and library-ID data.
Collection placement and sharing iosApp/iosApp/Screens/Collections/CollectionPlacementModel.swift, iosApp/iosApp/Screens/Collections/CollectionQuickCurationViews.swift, iosApp/iosApp/Screens/Collections/CollectionDetailView.swift, iosApp/iosApp/Screens/Collections/CollectionsView.swift, iosApp/Tests/ProfileHomeLayoutTests.swift
Adds Home and Library pinning and eligible sharing controls. Collection detail views reload after membership changes and ignore stale item responses. Tests cover capability checks, ownership, and avoiding redundant layout saves.
Collection membership and creation iosApp/iosApp/Screens/Collections/CollectionPlacementModel.swift, iosApp/Tests/ProfileHomeLayoutTests.swift
Adds collection loading, membership toggles, creation, uncertain-result reconciliation, and related mutation tests.
Collection actions in media and detail views iosApp/iosApp/Screens/Collections/CollectionQuickCurationViews.swift, iosApp/iosApp/Screens/Collections/CollectionDetailView.swift, iosApp/iosApp/Components/MediaCard.swift, iosApp/iosApp/Components/MediaStateMenuItems.swift, iosApp/iosApp/Screens/Home/Feed/HomeFeedKit.swift, iosApp/iosApp/Screens/Detail/*, iosApp/iosApp/tvOS/Screens/Detail/*
Adds iOS collection sheets and tvOS collection submenus to media and detail views. Collection-item changes trigger collection detail reloads.
sequenceDiagram
participant HomeSectionsEditorModel
participant SiloAPI
participant APIv2Client
HomeSectionsEditorModel->>SiloAPI: request scoped profile layout
SiloAPI->>APIv2Client: fetch section settings and overrides
APIv2Client-->>SiloAPI: return settings and overrides
HomeSectionsEditorModel->>SiloAPI: save overrides with captured auth
Loading
sequenceDiagram
participant IOSAddToCollectionSheet
participant AddToCollectionModel
participant SiloAPI
IOSAddToCollectionSheet->>AddToCollectionModel: load collections and membership
AddToCollectionModel->>SiloAPI: request collections and membership
IOSAddToCollectionSheet->>AddToCollectionModel: toggle or create collection membership
AddToCollectionModel->>SiloAPI: add or remove collection item
Loading
Possibly related issues
Silo-Server/silo-apple#305: Adds iOS Home section reordering, visibility changes, Add Row flows, and profile-scoped section reads and writes that overlap the issue’s acceptance cases.
Silo-Server/silo-apple#306: Adds tvOS Home section customization and remote navigation that overlap the issue’s acceptance cases.
Suggested reviewers:rhainland, zzebrahz
Security architecture risk: Low · up to fa107
Overlapping layout changes can overwrite each other, and a change already in progress can undo a reset. The identified risk is limited to the affected profile's Home or library layout; the review did not establish unauthorized access or sharing.
Retained concerns
Low · reliability · inferred: A collection pin action can read the override set before a reset, then replace the whole set after the reset succeeds. The editor discards its own pre-reset state, but that cleanup does not invalidate the pin action's snapshot. If the server accepts both requests as sent, the later replacement can restore cleared rows or lose another edit in the same profile and layout scope.
Security review details
Security Blast Radius
inferred — The identified replacement race is bounded to one acting profile's override set for Home or a selected library. The household sharing action is a separate visibility change on a personal collection, not a layout write.
Trust Boundaries and Controls
observed — Profile layout requests require captured credentials with a profile and recheck the current credential identity before sending. The transport also fences the request to the expected account and credentials. These client controls do not establish server-side authorization for collection IDs or household visibility.
Resilience and Maintainability Implications
observed — After a sharing update fails, the client rereads the collection rather than assuming the old visibility is authoritative. If the mutation may have applied and the reread fails, it disables further toggles until state can be reloaded.
Hardening Proposals
proposed — Use a server-enforced revision for layout replacements and resets, or use atomic intent-based updates. A replacement based on a pre-reset snapshot should fail rather than restore cleared overrides.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change, Home and library section customization plus collection pinning, which matches the changeset. It is a single sentence in conventional-commit form and omits only the Hom…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description is related to the changeset. It explains the problem (no in-app way to reorder, hide, or add Home and library rows, adjust Home display preferences, or pin collections on Apple clients…
Full details: Title check
Explanation
The title names the main change, Home and library section customization plus collection pinning, which matches the changeset. It is a single sentence in conventional-commit form and omits only the Home display preferences and Add to Collection work.
Full details: Description check
Explanation
The description is related to the changeset. It explains the problem (no in-app way to reorder, hide, or add Home and library rows, adjust Home display preferences, or pin collections on Apple clients). It also gives the approach by file group, validation results, evidence, and risks. Those details match the summarized changes to profile-section APIs, Home and library editors, collection pinning, and tvOS customization.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
The Evidence section now includes a private evidence link, which counts as evidence. Its accompanying note identifies iPhone, iPhone Duo folded/open, iPad, and Apple TV captures, but mentions only a macOS build verification. The changed shared views are also included in the SiloMac target, so Mac is an affected device. Please ensure the linked evidence page includes Mac UI captures for these remaining surfaces:
Home and Library customization (HomeView.swift, BrowseView.swift, IOSHomeCustomizeView.swift): before-and-after captures of the same screen and data.
Collection placement/sharing and Add to Collection (CollectionQuickCurationViews.swift, CollectionDetailView.swift, CollectionsView.swift, MediaCard.swift, HomeFeedKit.swift, MovieDetailContent.swift, SeriesDetailContent.swift): captures of the controls and resulting placement or membership, using the same data before and after.
Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness.
Please add before-and-after Mac captures of the affected Home/library customization flow, labeled with the build or commit. The PR says macOS shares the changed views; a successful build does not show that device’s UI. Please also add a short recording demonstrating drag-to-reorder/edge auto-scroll on iOS and row movement/focus on Apple TV, since still images cannot demonstrate those interactions. See CONTRIBUTING.md → Show visible changes.
Test a queued move that must still save after rollback.
This case expects [A, B, C] after the first PUT is rejected. Dropping the second move entirely produces the same result. Keep this case to check that replay does not swap B with C. Add a case where the second move must change the restored order, and assert that its PUT contains the expected positions.
As per coding guidelines, “Add focused regression tests when they meaningfully protect changed behavior.”
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: fc348864-da71-4b22-a594-24c9696d6cab
Commits
Reviewing files that changed from the base of the PR and between b192011 and da76c96.
Included review availability: This review used your included allowance. 2 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.
Settings › General gets a "Home and Library Rows" section with a row for
Home and one per library. Each opens the existing editor for that page:
the banner names the library ("Customize Movies"), the sheet seeds row
cards from that library's cached sections, and the footer reads Options
instead of Home Options, since Home's display preferences don't apply to
a library. The section header comes from Silo-Server/silo-translations#167
(home.customize.tvSettingsHeader).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
❌
⚠️ 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:
- New rows (Add Row, pinned collections, collection rows) are appended at
one past the page's highest position instead of at the row count. Admin
positions can be sparse (0, 10, 20…), so the count put new rows above
existing ones.
- Until the profile orders the page, user-added rows keep their own
positions instead of being rewritten to list indices, which could tie
with or pass admin rows. Moving a newly added row counts as ordering the
page. Both match web's buildSectionOverrides and nextAppendPosition.
- Count a rejected Reset as a save failure, so a replayed edit can't clear
its error before it is seen.
- The Add Row picker reloads when the cached library list differs from the
one it loaded, since a refresh writes the cache without an invalidation.
- tvOS: seed the editor's first highlight once, so preferences finishing
later don't move the highlight off Done; Settings updates its library
rows when the library list refreshes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.
- tvOS: when the row whose options are open leaves the layout (a rejected
save rolls it back), close the popover so the editor isn't left disabled
with no way out.
- After a rejected Reset, settle queued edits the reloaded layout already
holds, so a later load can't replay them over another change.
- The Add Row picker also reloads when a library is renamed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Re-pins the catalog from the local silo-translations#167 build to its
release, which carries the new Home and library customization strings in
every language.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
❌
⚠️ 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:
Main's Silo-Server#1266 added the same item_collections capability flag; kept
main's wording of it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
enhancementNew feature or requestevidence-requiredNeeds before-and-after evidence before the Evidence check passesimpact: polishAnnoyance, cosmetic, or nice-to-havepriority: P2Limited scope, workaround exists, or polishsize/XXXL3000+ added + deleted lines (all files); change volume, not priority.
1 participant
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
Companion translations PR: Silo-Server/silo-translations#167 (merged, released as
2026.11.25-e8c81d0)Validation tasks: none
Other clients: Android Silo-Server/silo-android#315, Silo-Server/silo-android#316 (open PR Silo-Server/silo-android#664); Roku N/A (Home row editing is deferred in
silo-roku/docs/spec.md§3.3); Web already implementedViewers on Apple clients had no way to reorder, hide, or add Home and library rows, adjust Home display preferences (
Next Up Mode,New Releases First,Hide Watched Items), or pin personal and server collections directly onto Home or library pages without leaving the app for the web UI.Approach
APIv2Client+ProfileSections,APIv2ProfileSectionModels,ProfileHomeLayout,HomeSectionsEditorModel):/api/v2/profile/sections/settings,/api/v2/profile/sections, and/api/v2/sections/recipeswith explicit coding keys so per-recipeconfigobjects keep their server keys untouched.buildSectionOverridesdoes: positions are written only once the profile orders the page (including moving a newly added row); until then admin rows keep the admin's positions and user-added rows keep their own. New rows are appended at one past the page's highest position (nextAppendPosition), since admin positions can be sparse.dragDraftRows) with cancellation support, serializes resets insidesaveChainwith immediate post-DELETE invalidation, fences async reads byHTTPRequestIdentityand cache write tokens, and surfaces picker load failures with retry.HomePreferencesModeledits only after both the settings contract capability probe and effective-values read succeed for the current server and profile, serializing writes per key with last-confirmed rollback.IOSHomeCustomizeView,IOSAddRowSheet,HomeView,ContentView,BrowseView,LibrariesTabView,InterfaceCustomizationView):Server/Yoursbadges, item counts, one-tap eye visibility toggles, collapsible Hidden Rows, and context menu actions.Listblack square artifact), auto-scrolls smoothly near viewport edges, and discards drafts cleanly if SwiftUI cancels the drag gesture.IOSAddRowSheet): Searchable.insetGroupedcatalog grouping Collections (A CollectionandRow of Collections) and curated recipe families, pushing into native SwiftUI configuration screens with variant pickers, recipe-specific controls, editable Row Name, Items to Show stepper, and Hero Banner toggle.IOSHomeOptionsSheet):Next Up Mode,New Releases First,Hide Watched Items, and confirmedReset to Server Default.TVHomeCustomizeOverlay,TVGeneralSettingsView):TVHomeSectionsSettingsSheet→TVHomeCustomizeOverlay), built as a single composite focus owner perdocs/tvos-focus.md, with Select-to-grab, Up/Down draft sliding (single save on Select, draft cancel on Menu), Play/Pause or Right for row options, Options, and aTVAddRowModalwith merged category headers. A library page's editor is titled with its name ("Customize Movies") and offers only layout options.home.customize.tvSubtitle,home.customize.tvMovingSubtitle).CollectionPlacementModel,CollectionQuickCurationViews,CollectionDetailView,MovieDetailContent,SeriesDetailContent,TVMovieDetailView,TVSeriesDetailView,APIv2Client+Collections):Pin to Home+Where It Showsplacement menu on collection pages (always re-reading current layout before pinning and unpinning all visible matching rows), kept on empty collections.Add to Collectionsheet/submenu usingGET /api/v2/catalog/items/{id}/collections(lazily loaded on tvOS when opening the More menu) with error/retry handling and detail-refit deferral while sheets are open.Localizable.xcstrings,.silo-translations):2026.11.25-e8c81d0with every language translated.main. Profile subtitle and metadata-language settings (ProfilePrefsEditor), collection-detail paging (LibraryCollectionDetailViewModel), the collections list (CollectionsViewModel), and the tvOS library page are unchanged except for these hooks: the collection pin bar, a reload when a personal collection's items change, and a library-page reload after a layout save or other refresh.ProfileSettingsWriterreportsUncertainRefusalonly to callers that ask for it (reportsUncertainRefusal); only Home Options does.Validation
SiloTests, Xcode 27.2, iOS 27.2 simulator, unsigned build):3aff552c: 82/82 passed acrossProfileHomeLayoutTests(32, including new sparse-position and moved-new-row tests),HomeSectionsMutationTests(28),HomeSectionsAPITests(6),CollectionsViewModelTests(11), andLibraryCollectionDetailViewModelTests(5).84c192d1: 66/66 passed acrossProfileHomeLayoutTests,HomeSectionsMutationTests, andHomeSectionsAPITests.62904c7d:ProfileAndQualitySettingsTests78/78 (restored tomain). Other failures in the full run were in keychain and sign-in suites (keychain_read_failed(status=-34018)), which need a signed test host; a same-setup comparison run onmainwas not completed.84c192d1; macOS on3aff552c; iOS built by the3aff552ctest run. Earlier signed iOS and tvOS builds were installed on a physical iPhone and Apple TV.fa107fd0,fe4a0941): checked on an Apple TV simulator against a dev-builder sandbox: idle, selected and picked-up rows, Menu cancel (order restored, nothing saved), a scrolled list, Settings rows for Home, Movies and TV Shows, and hiding "Recently Added Movies" in Customize Movies removing it from the Movies page.check-no-api-v1.sh,check-string-localized.sh, andcheck-catalog-text.pypass on6dfb2f2d.Evidence
Evidence: https://evidence.siloserver.org/r/silo-apple/pr-1266/
Surface and build: iPhone, iPad, iPhone Duo (folded and open), and Apple TV simulators against shared dev (captured on
99b8bb6a; follow-upb1920118moved the tvOS entry point to Settings → General only, and1508d8d1wired review fixes and string catalog keys). Those captures predate the later review-fix commits, which added error banners and retry flows they don't show.62904c7drestored out-of-scope screens tomainand changes nothing the captures show. The "Apple TV editor polish" (fa107fd0) and "Apple TV library customization" (fe4a0941) sections have captures on a sandbox. macOS shares the#if !os(tvOS)SwiftUI views (SiloMacbuild verified).Risks
/api/v2/profile/sections; servers older than the profile-sections endpoint return an error shown inline without modifying local state.PUT, as on the web client, so an edit made elsewhere between the read and the save can be overwritten. Closing that needs a revision on the server contract; follow-up work.Checklist
AI Disclosure
62904c7d, review fixes, Apple TV polishfa107fd0, Apple TV library rowsfe4a0941, position alignment3aff552c, translations pin6dfb2f2d)🤖 Generated with Claude Code
Note
Add in-place Home and library section customization with collection pinning
profileLayout,saveProfileLayout,resetProfileSectionOverrides) and aHomeSectionsEditorModel. Users can reorder, hide, add, and reset sections inline (IOSHomeCustomizeView.swift, TVHomeCustomizeOverlay.swift).CollectionPlacementModelandCollectionPinActionBarlet users pin a collection to their Home, plus new collection-item add/remove APIs and a notification that reloads open collection views when items change.StartupContentPrefetcher.fetchLibrarySectionsretries invalidated library-section reads (up to three times), andCollectionDetailView.loadItemsno longer caches or handles responses after cancellation or invalidation.AppRouter.refitItemDetail()now skips reconstructing the item-detail presentation while the deferred-refit count in AppRouter.swift is nonzero;ProfileSettingsWritermay throw the newUncertainRefusalerror for non-upgrade-required refusals after a failed attempt.Macroscope summarized 6dfb2f2.