Skip to content

Sync upstream Silo-Server/silo-apple (39 commits) - #58

Open
JonahMMay wants to merge 43 commits into
mainfrom
sync/upstream-2026-11-30
Open

JonahMMay wants to merge 43 commits into
mainfrom
sync/upstream-2026-11-30

Conversation

@JonahMMay

Copy link
Copy Markdown

Rebrand-aware merge of Silo-Server/silo-apple at b4da090b80 (39 upstream commits).

Land with "Create a merge commit". Never squash. The second parent is the real upstream commit; that is what keeps the next sync small.

0 files auto-resolved (hunks: theirs 0, ours 0, same 0, superset 0, import-union 0, version-max 0; delete-over-noise 0).

The audit comment below lists likely compile breaks and lost Prairie lines. CI must be green, including Prairie invariants; a failing test after a sync usually means Prairie code was lost, not that the test is stale.

Quick104 and others added 30 commits November 16, 2026 23:23
…Server#1211)

* feat(home): show rows of collections on Home and library pages

A Home or library row with section_type collection_posters now shows its
collections (Silo-Server/silo-server#4410). Before, the row arrived with no
titles and every page dropped it.

- Decode `collections` on a Section: each card's source, title, poster,
  thumbhash and count, the library a server collection opens in (sent as a
  string), and the owner of a personal collection. A card that can't be
  opened is left out and the rest of the row stays.
- iPhone, iPad and Mac draw the row with the Collections tab's poster card
  at Home's poster width, on Home and on library pages. Apple TV uses the
  collection poster card in a Skyline row with the same focus handling as
  title rows, and the marquee previews the focused collection.
- A server collection opens in its library, keeping a library page's
  Movies or Shows filter; a personal collection opens its own page, now
  titled with its name. Another profile's shared collection reads
  "by Name" (new catalog key collections.card.byOwner).
- The row has no See all or Explore all card, is never the hero, and is
  kept by the empty-row filters, the row limit, Home's card removal and
  library page filtering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(tvos): show a focused collection's backdrop in the Home hero

Silo-Server/silo-server#4415 sends backdrop_url and backdrop_thumbhash
on server collection cards in a row of collections. Decode both as
optional, so older servers and personal collections (which never have
one) keep today's behavior, and a malformed value leaves the card
without a backdrop rather than dropping it.

On Apple TV, a focused collection's backdrop now fills the Skyline hero
the way a title's does, with its thumbhash while it loads, and the
backdrops of the collections beside it are warmed. A collection without
one still frames its poster there. iPhone, iPad and Mac have no hero
that follows the focused card, so nothing changes on screen there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): name a shared collection's owner once profiles load

The Skyline marquee reads the "by Name" line from the cached profile
list. When the first preview is another profile's collection and Home
paints before that list arrives, the preview had no owner until focus
moved. Load the list when a row needs it and rebuild the shown
collection preview, as the iOS row already does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(i18n): sync translations from release 2026.11.17-7bcceee

The release carries collections.card.byOwner from
Silo-Server/silo-translations#72, with the Ukrainian line reworded so it
doesn't need the owner's name inflected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…o-Server#1214)

* feat(recommendations): add Not interested on iOS, macOS and tvOS

Movie and series cards and title pages get a Not interested action that
marks the title through PUT/DELETE /api/v2/not-interested/{id}. Home drops
a newly marked title from the recommendation and discovery rows at once,
matching the rows the server and web filter. The action shows only when the
server sends user_state.not_interested.

On tvOS, a Home row covered by a title page no longer claims focus when the
page removes its card; it remembers the replacement, and the return restore
retries long enough to land on it after the pop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(recommendations): keep Not interested when another flag changes during load

Read movie and series types through SiloMediaType, as the rest of the app
does. When a favorite or watchlist change races the detail load, still take
the server's Not interested value if the page didn't have one yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(translations): pin silo-translations 2026.11.17-857d523

Replaces the local pin with the release that adds cardMenu.notInterested
and cardMenu.showInRecommendations in every language
(Silo-Server/silo-translations#76).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(recommendations): drop marked titles from For You and keep tvOS focus when their row leaves

For You now removes a title from every row as soon as it is marked Not
interested; its rows are all server-filtered recommendation lists.

On Apple TV, a removal while a title page covers the row cancels any
older focus claim, and when marking empties the row the page was opened
from, the row that takes its place restores focus on Back, landing on its
first card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): restore For You focus after a title page marks its card

For You now gets the detail-return focus token Home already gets, so
pressing Back from a title page whose card was marked Not interested
lands on the card that took its place instead of leaving focus unclaimed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(recommendations): keep marked titles out of an older For You load and land focus on a valid card

A For You load that started before a title was marked Not interested no
longer brings it back: titles marked while a load runs are filtered out
of its response in the same turn it is applied.

On Apple TV, a row that takes over focus restoration after the launch row
leaves Home lands on its first card when it has no remembered card still
on screen. This now covers rows of collections too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rver#1213)

Resting a thumb on the Siri Remote clickpad shows the passive timeline
preview, and only the end of that touch starts its hide. Up Next removes
the press capture view mid-touch, so the end never arrived and the bar
stayed on screen through the next episode.

The capture view now ends an open contact when it leaves the window, and
the player hides the preview as soon as Up Next appears.
…Server#1216)

Home's first row sat about 30pt lower than on Libraries: the stack added
its row-to-row spacing after the clear runway under the floating header.
The runway is now the stack's top padding, so the first row starts right
under the header, as it does under the Libraries and For You headers. For
You on iPhone drops an extra 8pt above its rows.

Poster rows (MediaRow) now use Home's 12pt title-to-card gap instead of
8pt on iOS and macOS, so a row's cards start at the same height on every
page. tvOS is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-Server#1218)

The page wash behind the Home and library backdrop averaged the whole
artwork into one base color, so most photographic art came out gray.
Each screen corner now takes a color from the same quarter of the art,
picked for coverage and saturation and kept dark, and the four corner
glows overlap across the page. Gray art stays gray. Item details keep
their existing wash.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…-Server#1217)

On Home and the library landings, the color wash sampled from the focused
item's art switched in 0.24 s, the same as the art. It now crossfades over
0.7 s, so the page colors drift from one item to the next. The art still
swaps in 0.24 s.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…-Server#1220)

With no history, the detail page picked the edition whose Auto file
compared best on quality and used the edition name only as a tiebreak,
so a 2160p Dolby Vision Extended Cut won over a 1080p standard cut.
Compare the name class first (standard or unnamed, then theatrical,
then the rest), then quality among editions of that class. This
matches the web change in Silo-Server/silo-server#4511.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
)

* docs: send siloserver.org docs changes to a docs issue

Contributors were told to open pull requests against the website
repository, which only accepts pull requests from collaborators. Point
them to the Suggest a docs change issue form instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: say contributors never open siloserver.org pull requests

Drop the collaborator wording, which read as though some contributors
can open pull requests there. Every siloserver.org change starts as an
issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: say siloserver.org never takes contributor pull requests

Replace the collaborator wording, which read as though some contributors
can open pull requests there. Every siloserver.org change starts as an
issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(home): refresh watch state across Apple devices

* fix(home): reconcile watch state across session and window changes
…ilo-Server#1235)

* fix(tvos): focus a control on the setup, sign-in and pairing screens

On Apple TV, server setup, sign-in and the phone setup panels could open with
nothing focused, so Select and Menu did nothing until the person swiped.

- The first-focus seed now waits for the startup splash to lift; it gave up
  under the splash on a cold launch.
- Sign-in focus follows "Continue as …" when discovery answers after the page
  appeared, unless the person has moved focus.
- Leaving a pushed screen for another auth state no longer animates a pop in
  the stack being removed. That pop left the next screen refusing focus, as
  after Add server from Change Account.
- The phone setup panels seed their main action on every state change through
  the same retrying helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): keep the focus seed's claims from overriding the person

The seed decides whether to claim focus after its yield, so a move made
meanwhile stands. A claim keeps retrying while focus stays where it was when
the claim began, instead of giving up after one dropped request. A default
that stops being provisional is recorded as settled, so a later discovery
refresh no longer moves focus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): stop the focus seed following a default after the person moves

The seed records its placement when it writes focus, so a default that
changes before the request lands is still followed. Once focus lands on any
other control, the seed no longer follows a changed default, even after the
person comes back to the seeded control.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Keeps /activate in reading order in the Arabic and Hebrew TV sign-in hint.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…idence (Silo-Server#1237)

* fix(player): report a slow link on a stall only with slow-transfer evidence

After playback had started, every stall that lowered quality on Auto was
sent as observed_rebuffer, which the server learns as this device's
bandwidth limit for 24 hours. A stall is often the server's own work: an
encoder slower than real time, subtitle burn-in, a source read or a node
starting. None of that says anything about the link, yet one slow encode
capped every later playback on the connection.

A stall still lowers quality, because a smaller output also helps a slow
encoder. The lowering carries observed_rebuffer and observed_throughput_kbps
only when the plan's media measurably arrived below its delivered bitrate
while it was arriving. Without that evidence the step-down estimate goes
alone, which the server plans under and never records. Picking Lower on the
prompt follows the same rule.

* fix(player): time server HLS segments while they arrive, not while the server works

On server HLS the buffering controller's evidence of a slow link was
AVPlayer's access-log rate on the loopback hop to AetherEngine's relay. It
times each segment request from when it was sent, and the server answers a
transcode segment only once the encoder has written it, so the encode time
was counted as transfer time and a slow encoder read as a slow link.

The evidence is now the relay's own timing (AetherEngine's
relayMediaReceivedBytes and relayMediaReceivingMs): each segment from its
first byte to its last, segments under 1 s left out, overlapping time
counted once, the rules Android's PlaybackThroughputMeter uses. The player
takes the playing plan's share of those totals. The trigger replan log line
now also records the observed throughput and the plan's arrival rate.

AetherEngine moves to f470d8dc (Silo-Server/AetherEngine#30), which adds
those telemetry fields.

* fix(player): tie the relay's totals to the load that counted them

The relay meter told a new relay from the old one only by its totals
dropping, so a replacement whose relay had already counted more than the
playing plan's was taken as a continuation and the old counters were
subtracted from it. Its uncounted ticks also moved the baseline, so how
much of a replacement's loading reached the adopted plan depended on where
the ticks fell.

The totals now carry the load whose relay counted them, a different load
counts from 0, and an uncounted tick is not a baseline: a replacement's
relay is its plan's from its first byte. A tick without a relay still
drops the baseline, because the engine rebuilds the relay within a load
after the app returns from the background or the route changes.

* docs(licenses): name the AetherEngine revision this branch pins

The pin moved to f470d8dc, but the third-party notices and the bundled
open-source README still linked af67a2e0 as the exact source the app
is built from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): don't report a slow link the device's own count contradicts

With an embedded subtitle's reader sharing the link, the plan's reader
can get less than the delivered bitrate while the device receives more.
That share was enough to send observed_rebuffer, and the player then
attached the device's count, at or above the bitrate, as the observed
throughput, so the server stored the step-down estimate as this
device's limit on a fast link.

A lowering now reports a slow link only when the device's count, where
it has one, is below the delivered bitrate too. The decision is made
once in sendReplan for every lowering, and the player sends the
controller's figure without its own fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(player): cover the device count beside a measured rate after playback

On direct play with no shared reader the device's receive count equals
the reader's rate, so the post-play stall cases now run with and without
it. The slow-link note says that count can veto a measured rate too, and
that this errs toward learning nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(player): say when the controller reports a slow link

The class overview and startDeadlinePassed still described the earlier
rule. Both now name reportsSlowLink, which also requires the device's
own receive count, where there is one, to be below the delivered
bitrate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Quick <31828688+Quick104@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… and side-anchored popover (Silo-Server#1253)

* feat(tvos): redesign detail More menu with episode watched, submenus, and side-anchored popover

* fix(tvos): land focus directly on submenu trigger when exiting a popover submenu

* feat(tvos): align episode carousel long-press menu with detail More menu

* feat(tvos): play focused episode on remote Play/Pause and drop Play from context menu

* fix(tvos): keep Version selector focusable when only one version exists

* fix(tvos): return focus directly to popover trigger instead of flashing Play

* fix(tvos): drop Watch Party from episode context menu and address PR review feedback

* feat(tvos): polish detail popover UX, submenu back cue, hero Play/Pause, and watched icons

* fix(tvos): keep Auto in single-version popover and block top-level Left dismiss

* fix(tvos): don't double-check audio track when Auto is selected
…p Low Data Mode at 2 Mbps (Silo-Server#1254)

* feat(playback): default cellular quality to Auto up to 10 Mbps and cap Low Data Mode at 2 Mbps

* fix(playback): reconcile network tier when an Auto pick commits
…Pad, Mac and Apple TV (Silo-Server#1260)

* feat(ratings): read and write the viewer's own rating

Decode user_rating on item detail into ItemDetail.userRating, add the
setRating and deleteRating calls (PUT and DELETE /api/v2/ratings/{item_id},
exact 204 under the captured owner), list both as non_retryable, and send
them through PersonalStateSync.setRating so an unanswered write is held
like a favorite or watched change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(detail): keep the viewer's rating on the title page

ItemDetailViewModel.userRating shows a change at once. setRating sends one
write at a time, queues only the newest value chosen meanwhile, reverts to
the last confirmed value with the personal-state notice on failure, and
bumps the user-state generation so an older detail load cannot land over
it. The playback-metadata rebuild carries the rating across.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(ratings): add the shared score math and star view

RatingScore covers stars, the locale-formatted display, half-star steps,
the drag-track mapping and the tap rule. RatingStarsView draws the design's
ten-point star as a Shape with the accent fill clipped from the leading
edge, so a half star lines up with its outline at every size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(ratings): cover the rating read, writes, queue and score math

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(ratings): pin the rating text and add its VoiceOver value

Re-pin silo-translations to 2026.11.23-c7323d1, which adds the 27
detail.rating.* keys, and add RatingScore.accessibilityValue ("4.5 of 5",
"No rating") for both rating controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(tvos): add the star button's edit rules

TVRatingEditor holds what each remote press does to the detail page's
rating: Select opens a draft (the rating, or three stars) and saves it,
Left and Right move it half a star within none to five, Back or losing
focus discards it, and holding Select removes a rating. It also decides
the hint line and keeps a save or removal message until its timer runs
out or the server turns the change down. It has no view, so the tests
drive it directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(tvos): rate a movie or series with the remote

Movie and series pages get a star button between Watchlist and More.
Select turns that same focus target into an editing pill (chevrons, five
stars, the value; "SERIES" on a series page) at the row's height; Left
and Right change it by half a star, Select saves, and Back cancels
without leaving the page. While it edits, the rest of the row and the
page below are disabled, so no other control can take a press, and
Play/Pause does nothing. A watched, unrated title gets an accent ring.

A hint line hangs below the row without taking layout space, so the
hero and the season row do not move. Saves and removals show for three
seconds and are announced to VoiceOver; in edit mode the button is an
adjustable element. Holding Select to remove stays switched off until it
is checked on a device, so the hints leave it out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(tvos): show the viewer's rating on the title's metadata line

"You ★ 4.5" on a movie and "Your series rating ★ 4.5" on a series sit
after the external scores and before the genres. The entry is in every
candidate line, so the genres and then the external scores give way
first. On a series page it shows the series' rating while the line shows
an episode's facts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(ui): add a reusable Undo toast

A bottom bar that confirms something was removed and offers to put it
back. It sits above the bottom safe area, lasts five seconds (ten with
VoiceOver, which also hears it announced), and a newer toast restarts
the timer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(detail): decide what the title page rating control saves

The rating row edits a draft and writes nothing until it closes, so one
visit costs at most one write. Done, a tap outside, playback and leaving
the page commit the draft; no stars over a saved rating removes it;
Clear removes the saved rating; Escape drops the draft; Undo restores
the removed rating. The chip shows a committed value until the page's
saved rating catches up, so closing the row never flashes the old one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(detail): rate a movie or series from the iPhone, iPad and Mac title page

A chip after the external scores opens into a five-star row in place:
drag across the stars in half steps or tap a star (tap it again for the
half), then Done or Clear. The line keeps one height open and closed, so
nothing below it moves, and scores drop before the chip loses room. A
watched, unrated title gets an accent outline on the chip. Removals show
an Undo toast. The control has VoiceOver, keyboard, Dynamic Type and
Reduce Motion support, and mirrors right to left.

Only movie and series pages opt in, and a series page rates the series.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(ui): float the Undo toast as a glass capsule

The full-width bar read as a snackbar. The toast now hugs its text in a
Liquid Glass capsule above the home indicator, keeps the accent for the
stars only, springs in from below and dismisses on a swipe down.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* feat(tvos): keep the rating pill in the row's focused look and drop idle hints

The editing pill was a dark capsule with a white border and read as a
separate dialog; it now stays the white focused surface with dark stars,
chevrons and value. The star button no longer shows a hint while idle,
and the hint that remains while editing sits a fixed offset below the
row.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(detail): keep the rating row from widening a content-sized panel

On the open iPhone Duo the left column sizes to its content, so the open
rating row's ideal width pushed Play and the action row outward. The
line now reports no ideal width and fits the width it is given. The
Apple TV star button also reads "Your series rating" to VoiceOver
while editing on a series page.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(detail): hold the rating line to the width it is given

Without a minimum, the line's flexible frame grew to the full-size open
row, was measured at that width, and so never shrank the stars on the
open iPhone Duo's narrower column.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(detail): keep a changed rating through later loads and caches

- Track rating changes apart from the favorite and watchlist generation,
  so an unrelated tap during a load no longer stops the fetched rating
  from being taken.
- Carry the page's rating into details published or cached after it
  changed, including the background playback enrichment.
- Drop the item's cached detail when a write answers after the page
  moved on, whether or not it applied.
- Use the shared media-type predicates to decide which pages can rate.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…s own checks (Silo-Server#1256)

* fix(player): count reaching the end credits as watched in the player's own checks

The server now marks a movie or episode watched once playback reaches the
played file's end credits (silo-server#5133). Two checks in the player still
used a fixed 90%:

- Leaving an episode during its credits below 90% kept the Series page on
  the episode the server had just marked watched.
- A download stopped in its credits stayed unfinished on the device, and
  its synced progress went up as a plain position the server judges by
  percentage alone.

Both now also count the end credits, found the way the server finds them:
the last credits marker that starts in the file's tail window. Offline
progress that reached the credits is queued at the end of the file, so the
server stores it watched; below the credits the real position goes up.

Closes Silo-Server#1255

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(player): cover the position offline progress queues for the server

Moves the offline sample decision into PlayerViewModel.offlineProgressSample,
unchanged, and tests it: a stop in the end credits below 90% goes up at the
end of the file, while a stop before the credits, or past 90% with no
credits, keeps its real position for the server's own threshold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Silo-Server#1261)

* feat(player): leave with a paused-too-long notice when the server ends a paused session

The server can now end a native video session that stays paused past an
admin limit and answer 410 playback_session_paused_timeout. Progress, every
replan (seek, track change, failure recovery, reconnect) and the control
ticket mint classify it beside playback_session_ended, so the player leaves
the way an admin end does, shows "Paused too long", and never takes the 404
renewal path.

A ticket mint answered with either 410 now ends the control loop instead of
retrying and tells the player, which leaves if the session is still current.

The new notice keys come from silo-translations#159; the catalog is re-pinned
separately once that release is published.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(player): advertise paused_timeout_v1 on video playback starts

Video starts, and the replans that repeat their list, claim the paused
timeout answer so the server sends playback_session_paused_timeout instead
of the admin wording. Audiobook starts leave it out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(i18n): sync translations 2026.11.23-73e6a54

Brings in the paused-too-long notice the player now shows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): leave on a control ticket refusal only for a paused timeout

The server refuses a control ticket with 410 playback_session_ended for
every stopped attempt, an expiry included. Leaving on it would turn an
expiry, which the player renews from on its next progress report, into
an administrator's end. Only 410 playback_session_paused_timeout now
ends the control loop and the player; an ended refusal keeps retrying as
before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): ignore a paused-timeout ticket refusal once a fresh load begins

A fresh load keeps naming the outgoing session as active until its
replacement is prepared, so a control-ticket refusal about that session
arriving in between could close the player on the item replacing it.
The handler now also requires the control socket to have been bound
during the current fresh load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): bind the control socket only for the fresh load that asked

A replan suspended in unbind could resume after a fresh load began and
bind its outgoing session under the new load's generation, so a
paused-timeout refusal for that session could still close the
replacement. Callers now pass the fresh load they belong to, and a bind
that a newer fresh load overtook binds nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…debar (Silo-Server#1265)

The split detail page's glass sidebar laid out its title art, facts line,
and ratings against the leading edge, while title art drew centred in its
box, so the text under it looked misaligned. Centre them, as on iPhone.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ollection pinning (Silo-Server#1266)

* feat(home): add in-place Home and library section customization and collection pinning

* refactor(tvos): keep Home section customization in Settings only

* fix(home): address PR review findings and wire string catalog keys

* fix(home): harden async fencing, drag reconciliation, and collection picker recovery

* fix(home): lock stale refresh edits, fence initial layout load, and mark new collection busy during add

* fix(home): scope preference write tracking per identity, localize group titles, and polish retry/refit states

* fix(home): harden reset/held-write reconciliation, library pin failure states, and tvOS popover back navigation

* fix(home): restrict Hero Banner to Home, invalidate library fetches, and reconcile uncertain resets and queued writes

* fix(home): reconcile uncertain PUT/create outcomes, pass requestIdentity on preference writes, and expose library discovery retry

* fix(home): preserve queued edits, reconcile uncertain writes, and refine review feedback

* fix(home): preserve shared collections, deferred writes across profiles, and Done failure retention

* fix(home): harden picker invalidation, break deferred-write retain cycle, and add tvOS Done/Retry guards

* fix(home): refresh open collection detail on membership edits and normalize tvOS retry focus

* fix(collections): coalesce detail refreshes, surface refresh errors, and await sheet mutations on Done

* fix(home): harden quick-action loads, preference Done waits, library refresh, and test hold timeouts

* fix(collections): fence detail invalidations, register sheet mutations synchronously, and preserve collection title on pin

* fix(home): harden preference recovery waits, library refresh scoping, move replay, and tvOS preference retry

* fix(collections): fence scheduled mutation dispatch, title resolution, and library personal-collection refreshes

* fix(home): fence library refresh invalidations, collection cache writes, Settings multi-editor Done, and recipe ID matching

* fix(collections): fence collection read/error paths and preserve Settings scope intent on Done

* fix(home): lock Settings Done scope switching, settle Reset preferences, bind collection mutation auth, and replay drags cleanly

* fix(collections): fence overlapping title reads, retry invalidated list loads, and harden collection detail pagination

* fix(collections): gate sharing and membership on server capabilities, keep empty-collection controls, and preserve newer editor errors

* fix(home,collections): map episode cards to series, keep mutation errors and drag preview aligned, and tighten Done/Add replay guards

* fix(collections,home): model unknown membership as add-only, fence share fallback auth, preserve partial pages, and refresh Home on reconciled preferences

* fix(home,collections): update surviving custom-row positions on delete and retain tvOS collection load retry across alert dismissal

* fix(collections,home): tighten invalidation/rollback guards, preserve active drags, defer hidden library refreshes, and improve accessibility

* fix(collections,home): fence count refresh against cache invalidation and preserve newer drags on failed recovery reload

* fix(collections,home): keep pin state and empty-page loads alive, degrade capability probes, and preserve prior retry uncertainty

* fix(collections,home): keep mutated missing libraries unloaded, preserve fallback membership, clear stale counts, and report dropped deferred preference writes

* fix(collections,settings): preserve serverUpgradeRequired after retries, add tvOS loading focus owners, and keep AddToCollection Retry independent of errorMessage

* fix(home,collections,settings): defer feed refresh while collection sheet is open, cancel reversed drags, reconcile uncertain refusals, and fallback on contains_item read failures

* fix(home): invalidate media-scoped library section caches when refreshing library layout

* fix(settings,collections,home): fence prefs reconciliation, bound pagination batch, skip no-op pin PUT, and retain deferred preference edits on backoff auth drop

* fix(settings): scope reconciliation holds by request identity and generation, and retain them on discard until confirmed

* fix(home,tvos,settings): fallback to surviving drag crossings, sample recovery failure count at schedule time, gate tvOS targets on loaded phase, and fence scoped cache writes

* fix(collections,settings,tvos): preserve overlapping confirmed rows, hide blocked pagination spinner, invalidate collections cache on write-back, keep reconciliation pending until write succeeds, and show both tvOS errors

* fix(collections,home,settings): retain confirmed membership across membership-free reloads, preserve same-owner rows on recovery failures, resume loads after rejected creates, restore cancelled pin state, retry invalidated library discovery, show empty refreshError, and invalidate metadata caches on refusal reconciliation

* fix(collections,home,settings,tvos): guard pin rollback generations, acknowledge failures on reset, scope reconciliation holds by account and edit generation, discard obsolete invalidated library errors, reload tvOS library on non-notified invalidation, and verify rollback write dispatch

* fix(tvos): stop superseded library refills per page and fence library errors by owner and cache invalidation

* fix(tvos): drive TVLibraryBrowseView loading, error, and invalidated states from contentSections

* fix(collections,home,settings): clear unavailable 404 collection grids, hold uncertain creation until settled, preserve custom-row positions on visibility-only saves, and record reconciliation holds across queued edits

* fix(collections,home,settings,tvos): expose tvOS customize VoiceOver semantics, scope uncertain creation per name with abandonment and item-add resumption, limit server collection placement to owning library, retry invalidated collection detail reads, fence probe owner errors, prefer surviving drag crossings, keep unacknowledged preference errors across loads, and record/clear reconciled profile prefs

* fix(home): localize tvOS customization UI and tighten collection recovery

* fix(home): preserve continuation progress, key-checked pref reconciliation, and toggle reload fidelity

* fix(home): fence Add Row picker catalog by captured userLibrariesRevision

* fix(home): harden collection reloads, drag reversal rebase, and tvOS picker focus

* fix(startup): pair userLibraries response and revision in SharedFetch snapshot

* fix(collections): surface inline pin load errors and discard obsolete invalidated errors

* fix(home): validate prefetch generation, fence collection resets, and scope server collections

* fix(home): gate Add Row submission on editor writable state

* fix(home): recreate pin bar per collection, decode multi-library ids, and publish cold first pages

* fix(collections): propagate discovery failure to retry and clear invalidated provisional first page

* refactor(home): trim the PR back to Home and collection customization

Review fixes had spread into screens this feature does not need to change.
Restore them to main and keep only the hooks the feature uses:

- Profile subtitle and metadata-language settings (ProfilePrefsEditor) are
  unchanged from main. ProfileSettingsWriter reports UncertainRefusal only
  to callers that pass reportsUncertainRefusal; Home Options does.
- Collection detail paging and the collections list (LibraryCollection-
  DetailViewModel, CollectionsViewModel and their views) are back to main.
  Collection pages keep the pin bar, the titled route, and a reload when a
  personal collection's items change.
- The tvOS library page is back to main plus a reload when that library's
  layout is saved.
- Startup prefetch no longer pairs the library list with a revision; the
  per-library section invalidation that layout saves need stays.
- The library Recommended page keeps the Customize entry and a refresh that
  ignores other libraries' saves, without the pending-refresh machinery.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(home): keep collection actions on empty collections and fence recipe reuse

- CollectionDetailView keeps the pin and sharing bar when a personal
  collection has no titles, so removing its last title doesn't strand an
  unpin or unshare.
- The tvOS library page reloads on every refresh notification that doesn't
  name a different library, matching the iOS library page.
- The Add Row picker reuses a previously loaded recipe catalog after a
  failed refresh only when it came from the same server and profile.
- The upgrade-exception test now opts into reportsUncertainRefusal, so it
  checks the path Home Options takes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(home): keep a valid recipe catalog across repeated picker failures

The Add Row picker decided whether to keep its recipe catalog from the
combined picker state, which any failed part clears. A second failed
refresh therefore replaced valid server recipes with the curated fallback.
Track whether the recipes came from a server read, and for which server
and profile, on their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): make the Home Sections editor readable and stop clipping cards

- Give the editor an opaque page, so the Settings screen no longer shows
  through the rows.
- Give the row list room for the highlighted or picked-up card's scale,
  border and shadow, and fade rows at its top and bottom edges instead of
  cutting them off.
- Show Apple TV remote instructions in the banner (new keys
  home.customize.tvSubtitle and tvMovingSubtitle from
  Silo-Server/silo-translations#167) instead of the iPhone ones, drop the
  mislabeled "Home Options" hint and the repeated "Reorder" text on rows,
  and drop the iPhone instructions from the Add Row modal.
- Name the Settings row "Home Screen" / "Customize Rows" from the catalog
  instead of hard-coded English.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(tvos): customize library rows from Apple TV Settings

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>

* fix(home): keep custom row positions in line with the web client

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

* fix(home): close orphaned tvOS row options and settle satisfied edits

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

* chore(i18n): pin translations 2026.11.25-e8c81d0

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>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(catalog): label sports episodes by air date

Sportarr numbers each league's events S<year>E<n>, so an NBA game read
"S2026E296". A series the server marks episode_labels=air_date now names
its episodes by their air date (a calendar date, no time-zone shift)
wherever the apps showed the season and episode code. Undated episodes,
older servers and offline downloads keep the numbers. Sorting, next up and
playback still use the numbers.

One helper, EpisodeLabel, now writes every code style the apps use and
branches on the series' labels. It drives Home and catalog cards, Continue
Watching, the tvOS focus marquee, the season episode rails (the title
leads and the date stays on the metadata line), episode heroes, Play
labels, Media Info, the player title and Up Next (from /watch and the
shuffle next card), Silo Control offer titles, Watch Party pickers, Top
Shelf and single-episode downloads.

DetailDateFormatting moves to Shared so Top Shelf can format the date.

* fix(catalog): keep air-date labels in Watch Party links, offline playback and VoiceOver

Review follow-ups for the air-date episode labels:

- Watch Party's "See all episodes" link from an episode card now carries
  the card's episode_labels, so the series picker, confirmation, sent
  suggestion and lobby name a league's games by date.
- Offline playback takes the labels and air date the download record
  stored, since the manifest has neither; download notifications use them
  too ("Nov 20, 2026 · NBA").
- The episode rail's Play button reads "Play <matchup>" to VoiceOver for a
  date-labeled series instead of the season and episode numbers.
- EpisodeLabel.datedSeriesName and EpisodeLabel.isNamedByDate replace the
  copies of the "title, else date, else code" rule and of the hero guard.

* refactor(catalog): route episode labels through EpisodeLabel

Cleanups from a reuse and simplification pass, no behavior change:

- Card captions, rails and spoken labels call EpisodeLabel directly; the
  EpisodeCardCaption code/spokenCode wrappers are gone.
- Watch Party, the download manager rows, offline browse and download
  notifications use the existing EpisodeLabel.airDate, episodeTag and
  titled helpers instead of hand-written checks.
- EpisodeLabel.isNamedByDate reuses airDate.
- The phone and tvOS episode heroes keep their original eyebrow code and
  add only the date-labeled guard.
- Watch Party's two local code() functions become one helper.

* fix(downloads): name a date-labeled game by date and matchup in notifications

A notification for a date-labeled download read "Nov 20, 2026 · NBA", so two
games of one league on one day could not be told apart when one finished
and the other failed. It now reads "Nov 20, 2026 · Los Angeles Lakers vs
Sacramento Kings". An untitled game, stored as "Episode N", still shows
the series name. The strings are the existing ones.

* fix(tvos): name a date-labeled episode by date in the More menu

The More menu that Silo-Server#1253 added names the shown episode by its code
("Mark S1·E2 watched", Watch Party detail). For a date-labeled series
that read "S2026·E296". It now uses EpisodeLabel like the rest of the
detail page, so a game reads "Nov 20, 2026 · Lakers vs Kings".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): keep episode labels in the cached next-up episode detail

The series page caches its next-up episode's detail once /watch answers,
rebuilding ItemDetail field by field. That rebuild dropped episodeLabels,
so opening the game from Apple TV painted "Season 2026 · Episode 296"
from the cache until the catalog answered, or for good if that request
failed. Both rebuilds now carry the field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(downloads): name a downloaded special by its air date on offline Play

The offline series page checked for a positive season before the air
date, so a date-labeled season-0 download kept "E2" on its Play and
Resume button while its row showed the date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor(catalog): drop the unused eyebrow episode label style

Both heroes build their own "Season 1 · Episode 2" eyebrow, so
EpisodeLabel.Style.eyebrow had no caller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): tell same-day games apart on Top Shelf

A date-labeled game read "NBA · Nov 20, 2026" on Top Shelf, so two
games of one league on one day had the same title over the same season
poster. It now reads "Nov 20, 2026 · Lakers vs Kings", the shape the
download notifications use, and keeps the league for an untitled game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(downloads): keep a game's air date when its registration is recovered

When the server registered a single-episode download but the response was
lost, the reconciled record had no episode labels or air date, and the
manifest carries neither, so the row went back to the synthetic code.
The recovery path now stores the request's labels on the record.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(catalog): name an untitled dated game by its date alone

Up Next and the single-episode download sheet fell back to "Episode 296"
beside the date for a date-labeled game the server left untitled, which
showed the synthetic number the date replaces. Both now show the date
alone for such a game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(catalog): seed a series page with its episode labels

A series page opened from a card paints a provisional detail from that
card. The seed left out episodeLabels, so cached episodes showed their
codes on the rail and in Media Info until the catalog answered. Both
seed branches now carry the card's labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(tvos): correct the Play label example for a dated episode

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(downloads): fill a recovered game's air date on its own

Recovery stored the request's labels only when the record had none, so a
record registered while the game was undated kept a nil air date after a
later recovered request that had one. Each field now fills only its own
gap, as on the success path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): send an untitled next-up game's date to Remote Control

Remote Control announced an untitled date-labeled next-up game as
"Next: Episode 296". It now sends the game's air date, in English like
the rest of the remote state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(downloads): tell same-day games apart in the reclaim sheet and progress title

Two downloaded games of one date-labeled league on one day both read
"NBA · Nov 20, 2026" in the free-up-space sheet and the system progress
title, so the user could not tell which one they were keeping. Name them
"Nov 20, 2026 · Lakers vs Kings" through one DownloadRecord helper that
the download notification already used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(downloads): name a dated game in a notification sent before its manifest

A download that fails before its manifest arrives has only the request's
episode number, so its notification skipped the date and matchup. Check
for a dated game first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Quick104 <31828688+Quick104@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…erver#1259)

* fix(tvos): keep a long Play title inside the fixed-width pill

The movie and series pages give Play/Resume a fixed 340pt width, but the
label was fixed-size, so a long title (Bulgarian or Malay Resume labels,
a Sportarr "Resume S2026·E296") drew past the capsule and over Start
Over. With a fixed width, the title now scales down to 70% and then
truncates. Pills without a fixed width still grow to fit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(tvos): check both edges of the Play pill and require visible content

Render the pill centred with margins on each side, count overflow left
and right, assert the icon and title drew inside, and keep the pixel
buffer alive for the whole draw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…er#1229)

* feat(detail): show the collections a movie or series is in

Movie and series pages read listCatalogItemCollections (silo-server#4528)
on servers that advertise item_collections. When one collection holds the
title, up to six of its other titles show under its name, ending with
Explore all. Otherwise an "Also in" row shows a card for every
collection. No row while loading, on a failed read, or without the
capability.

On iPhone and iPad, collection pages opened from the detail card now push
inside the card instead of behind it.

The detail.alsoIn heading comes from a local silo-translations build until
Silo-Server/silo-translations#87 is released.

Closes Silo-Server#1222

* fix(detail): open collection row titles unscoped and restore tvOS row focus

A collection's titles can live in other libraries, and a library-scoped
item read 404s for those, so the row opens them without a library, as
the collection's own page does. The tvOS row returns focus to the card
the viewer left (docs/tvos-focus.md). The collections read reuses
LossyElement instead of a second copy.

* refactor(detail): share one capabilities read between title-page rows

The box set and collections rows now go through one serverAdvertises
helper that keeps every title-page feature a capabilities read says yes
to, so a movie page asks the server once instead of twice. The tvOS row
uses TVRowFocusObserver for its remembered card.

* docs(detail): describe what the shared capabilities answer saves

* fix(detail): accept media type aliases for the collections read

* fix(detail): clear the collections row on a failed read; hand tvOS series focus to it

A failed collections read now removes the row, as Silo-Server#1222 asks; a cancelled
read or one for a page that moved on changes nothing.

On a tvOS series with no cast, the season row's handoff to the first
supporting rail and the first-reveal anchor go to the collections row
when it shows. The handoff is tied to the rail that led when Down was
pressed and is dropped if another rail takes the lead, so a row loading
or going away never moves focus on its own.

* fix(detail): keep the collections row on a failed reread and step back inside the card

A failed reread of a title's collections now keeps the row on screen,
as the box set row and web do. A 404, meaning the server no longer
serves the title to this viewer, still removes it.

Go back on an error page pushed inside the detail card now steps back
inside the card instead of popping the page behind it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(detail): scroll the collections row like the page's other rails

The iPhone, iPad and Mac collections row left out the stack marker the
rails' view-aligned scrolling settles on and the phone rail bounds, so it
bounced past its ends and did not settle on a card. Match PhoneCastRail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(detail): reread the collections row when a collection's titles change

Main's Add to Collection action sits on the same title pages. Adding the
title to a collection there posts collectionItemsDidChange, but the row
kept its old answer until the page next reloaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Quick104 <31828688+Quick104@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…er#1273)

The row editor's floating Add Row / Done bar stayed put while the iOS 26
tab bar minimised under it on scroll. The editor now holds the tab bar
expanded while it is open, and releases it on Done.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…t page (Silo-Server#1274)

* fix(detail): close the detail card when Go back is tapped on its first page

On iPhone and iPad, an error on a detail card's first page (a title that
answers not found, for example) offered Go back, which popped the page
behind the card and left the card open on its error. Go back now closes
the card there, as it already steps back inside the card when the card
has pushed pages. tvOS and the Mac app push details onto the main stack
and are unchanged.

Closes Silo-Server#1268

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(watch-party): close the picker from its search error's Go back

The Watch Party picker can open over a detail card's player (the room
panel inside party playback). Its search error views relied on the
router's Go back fallback, which now closes an open detail card, and
with it the player. Give both error views the picker's own dismiss, so
Go back leaves the picker or its search page instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…isting (Silo-Server#1275)

Replace the README's old iOS and tvOS screenshots with the 1.1.0 App Store
listing set (six iPhone, four Apple TV), resized for the repo. Add the App
Store link above the TestFlight beta link, and note that the film and TV
artwork in the screenshots isn't covered by the AGPL.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ilo-Server#1276)

* fix(tvos): keep fast Up on Home from skipping Continue Watching

Skyline pages (Home, library Browse, For You) kept their rows in a
LazyVStack. Resting on a row, the row above sits outside the band and the
stack can unload it. With Large posters, a quick run of Up presses then
reached the second row while the first had no focus target, so the last
press landed on the top bar, and the first row stayed unloaded until the
page was selected again.

Keep the rows in a VStack and build only the first row, the two rows
above the focused one, and the one below; every other row is an empty
spacer of its last measured height. The rows are tracked by id, so rows
added or removed above focus keep the range on the focused row. Building
every row also fixes focus, but in the simulator it more than doubled
the app's memory on an 18-row Home.

When the row that held focus leaves while Home is on screen (Home
reloads after Back, and Not interested on a title page can empty a
row), the row that took its place claims focus. The lazy stack had
usually loaded that row already and the focus engine moved focus into
it; a row that was a spacer until then gives the engine no target.

A row built outside the visible band had no cards built in its lazy
strip, so Up or Down into it landed on the row's middle card instead of
the one in the same column. MediaRow and TVCollectionsRow now build
their first ten cards eagerly on tvOS and keep the rest lazy.

Fixes Silo-Server#1152

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): build a short row's Explore all card with its leading cards

A row of ten cards or fewer kept its Explore all card in a lazy stack, so
a row built outside the visible band had no card in that column. Build it
with the leading cards instead. Also skip the row-height write when the
measured height hasn't changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): keep holding Up or Down moving through the Home rows

A held direction press stays bound to the view it began on, and UIKit
cancels the press when that view leaves the responder chain. Once focus
moved two rows from where a hold started, that row became a spacer and
the hold stopped: holding Up from the bottom moved one row. Keep the row
a run of moves started from built until the moves pause for 1.5 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): hand a fast Up that reaches the bar back to the first row

Replace the non-lazy row stack with main's LazyVStack plus a catcher. The
non-lazy stack kept the rows above focus loaded, but every scroll frame
then updated every built row: in the simulator it dropped about twice as
many frames as main, and navigation felt slow on an Apple TV 4K (2nd
generation).

The lazy stack loads rows as the view-aligned scroll reaches them, and
that scroll falls behind Up presses about 230 ms apart, so a quick run
from the bottom can reach the top bar with Continue Watching unloaded.
The feed now publishes TVPageFocusBelowFirstRowKey while card focus is
on a row below the first. When the bar takes focus natively while that
holds, the shell hands focus back to the page's first row, the same
hand-down Down from a tab uses. Explicit bar claims (Menu, the watchdog,
a pop back to the bar) are left alone.

Fixes Silo-Server#1152

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): read the below-first-row key against the current rows

A refresh that removed the rows above the focused one left the feed's
key set, so an intended Up from what was now the first row was handed
back to the page instead of entering the bar. The feed now keeps the
focused row's id and derives the key from its index in the current rows.

The Requests page uses the same lazy row band under the shell, so it
publishes the key too, from its last focused card. The shell checks
for the catch before unlocking the bar, which the hand-down suppresses
again anyway. The docs call the catch an exception to the rule rather
than the only one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* perf(tvos): write the below-first-row flag only when it flips

Reading the focused row's id in the feed's body re-ran the body, and
rebuilt every loaded row, on each move between rows. Keep the id out of
the body and recompute a flag that is written only when it changes, on
card focus and when the rows change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…11-inch iPad (Silo-Server#1302)

PhoneDetailSplitPage computes fadeTop = artworkHeight * 0.66, which is 449.2125pt on a 2x 11-inch iPad Pro sheet. Applying an unrounded contentTop as top padding outside .coordinateSpace(name: SplitPaneLeadEndKey.space) puts SwiftUI's pixel-snapped coordinate-space origin out of sync with the inner .splitPaneLeadEnd() GeometryReader frame, trapping series detail presentation in an endless preference cycle at 100% CPU.

Round paneTop up and min(fadeTop, leadTop) down to whole points so contentTop stays pixel-aligned at every display scale, ignore non-finite and sub-point (< 1pt) leadEnd updates, and add a rendered regression test covering the 1210 x 802 @2x split layout.
zZebrahz and others added 10 commits November 26, 2026 19:38
…er#1282)

* feat(tvos): enlarge the Silo logo on the Apple TV app icon

The logo on the Apple TV app icon spanned a third of the icon's width,
so it looked small next to other apps on the home screen. It now spans
62% of the width, about 1.8 times larger, and stays centered with room
for the focus zoom and parallax.

Only the logo layer changes, for the home-screen icon (1x and 2x) and
the App Store icon. It is rendered from the silo-branding wordmark SVG,
as before. The blue field layer and the Top Shelf images are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): size the Apple TV icon logo to 54% of the icon's width

The 62% logo was a little too big. Render the same lockup at 54% of the
icon's width (47% of its height), still centered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): size the Apple TV icon logo to 48% of the icon's width

At 54% the logo still read a touch large. Render the same lockup at 48%
of the icon's width (42% of its height), still centered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: zZebrahz <11633690+zZebrahz@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…mer row (Silo-Server#1262)

* feat(tvos): open the player menu on Info from Down and add a Sleep Timer row

Down with the controls hidden now opens the player menu on the Info tab
instead of Video. The menu button still opens the tab last shown, and a
tab opened through Down counts as that tab.

The Video tab gains a Sleep Timer row in its Playback column with the
same durations and strings as the iPhone picker. It shows the time left
while the timer runs and Off cancels it. In a Watch Party the column now
hides only Speed and Auto-play next, so the Sleep Timer row stays
available there. The countdown chip grows from 20 pt to 28 pt to match
the time row.

The duration list, its labels and the picker's checked option move onto
SleepTimer so the iPhone sheet and the Apple TV menu share them; the
iPhone picker is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): stop the Up Next countdown when the sleep timer runs out

An episode that ended a few seconds before the sleep timer ran out left
Up Next counting down. The timer's pause had nothing to pause after the
end, so the countdown went on and started the next episode while the
viewer slept. The timer now cancels Up Next's automatic advance when the
screen is up; Play Now still works.

The expiry moves into sleepTimerDidExpire() so a test can reach it
without waiting out a real timer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): keep a loading episode paused when the sleep timer runs out

The sleep timer paused only the current transport. When it ran out while
a fresh load was preparing (an Up Next episode starting, a quality switch,
a recovery), the replacement still started playing. The expiry now pauses
the way a Pause press does: a load with no transport yet holds the pause,
and a replan that falls back to a reconnect resumes paused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): keep the player menu's last tab across a hold seek

The menu button reopens the tab used last, but the controls overlay held
that tab and a hold seek unmounts the overlay, so the button opened Info
after any hold seek. The player view now holds the tab and hands it to
the controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): stop a shuffle advance in flight when the sleep timer runs out

When the timer ran out while Up Next was waiting on the server for the
next shuffle pick, the answer still started that pick playing. The expiry
now cancels the request, as Keep Watching does; Play Now replays the pick
if the server already moved on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: leave the archived tvOS controls document as it was

The document is a historical archive of the removed player. The partial
update made it contradict itself: other sections still say Down from the
scrubber opens the menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… pills (Silo-Server#1263)

* feat(tvos): show playback errors in a centered card with the player's pills

The Apple TV error screen drew the shared iPhone layout: the buttons
stretched across the top of the screen and nothing marked it as part
of the player.

On tvOS the error now shows in a centered card titled "Can’t play this
title" (player.error.cantPlayTitle), with the error message below and
Retry and Go Back as the player's pill buttons. Retry takes focus when
it is offered; otherwise Go Back does. Focus moves between them
natively, and Menu still leaves the player through the shell's exit
handler. iPhone and iPad keep the current layout, and the Mac has its
own player view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): show a long playback error in full on the error card

The card capped the message at five lines, so a long server or engine
error was cut off with no way to read the rest. The message now takes
whatever height the screen leaves. The icon, title and pills keep their
size, so a message too long for the screen gives way first and Retry and
Go Back stay on screen. A short message looks the same as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): give the playback error card focus again after the TV wakes

A Watch Party player stays open through Apple TV sleep, which drops focus,
and the error card seeded its focus only when it appeared. After a wake
neither pill was focused, so Select did nothing and Menu could not reach
the player until a direction press. The card now reseeds Retry, or Go
Back, when the scene becomes active with nothing in it focused, as the
player's transport controls already do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ilo-Server#1264)

* feat(player): time the recap and credits skip pills like Skip Intro

Skip Recap and Skip Credits were untimed buttons that stayed up for the
whole range. They now run on the intro pill's state machine in `ask`,
whatever the intro mode is, following the recap and credits table in the
server's intro-skip-mode spec:

- The pill shows with a timer and takes focus on appear on tvOS. Select,
  on the pill or at the player root while the timed pill shows, skips in
  one press. Credits that run to the end of the file keep today's Next Up
  or end-of-item path.
- When the timer runs out the pill hides without deciding the range, and
  Select is normal Select again. Menu dismisses the timed pill on tvOS,
  from the shell and from the scrubber, and consumes only that press.
- Pause freezes the timer, seeking out hides the pill, and seeking back
  into an undecided range starts a full timer. An automatic skip, a
  select or a dismissal decides the range.
- One pill shows at a time: a recap or credits pill waits behind the
  intro pill, and behind the Next Up screen, and starts its full timer
  when it first shows. Party members who may not seek get no pill.

The skip pill timer goes from 5 to 10 seconds on every platform, the Mac
included, and a pill whose timer ran out comes back without a timer while
the controls are up. It sits above the scrubber, takes no focus, hides
with the controls and in scrub mode, and root-level Select and Back leave
it alone. It still holds the buffering pill back.

On tvOS the intro and segment pills share one layer, so the view that
outlives the controls is replaced when they hide and the pill is drawn
lit as the Select target instead of keeping focus while disabled. The
Mac draws only the intro pill and reports its own controls visibility.

IntroSkipPromptTests now asserts every row of the recap and credits table
and the rows for the untimed pill, at the real ten-second timer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): keep the iPhone and iPad skip pill clear of the remaining time

With the controls up, the skip pill sat a fixed 88 pt above the bottom
edge, which put it on top of the remaining-time and end-time label at the
right end of the time row. The untimed pill that now returns with the
controls made the overlap common.

The pill now sits 12 pt above the measured time row, scrubber and action
row, so it clears the label in portrait and landscape however tall the
row is. With the controls hidden it keeps its place near the corner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): hide the untimed skip pill during a scrub on iPhone, iPad and Mac

The untimed pill that returns with the controls stayed fully visible
while the viewer dragged the scrubber, where it sat over the scrub
preview. The intro-skip spec keeps the returned pill hidden during a
scrub, and the Apple TV layer already hides it then. The timed pill keeps
its place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): take the recap or credits pill from a party member who can no longer seek

The prompt learns about a lost seek permission only on its next sync,
and a paused player has no playback ticks to drive one. A host who was
demoted while paused kept Skip Recap or Skip Credits, and one press then
decided the range without moving playback. The pill now follows the
permission at once, as it did before it moved onto the prompt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(player): point the skip pill comments at the methods they now use

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… Apple TV card (Silo-Server#1300)

* feat(player): show the buffering prompt and undo pill for 10 seconds

The "Playback keeps buffering" prompt and the "Restore quality" undo pill
now stay up for 10 seconds instead of 15 on every Apple platform. One
constant, promptSeconds, times both, and it follows the server's
buffering-quality spec, which moved PROMPT_SECONDS to 10.

The conformance vectors are re-vendored byte for byte from silo-server
and SOURCE names the commit they came from. Every case passes on iOS and
tvOS; with the new vectors and the old constant, the constants test and
five replayed cases fail, so the two cannot drift apart.

Four focused tests carried 15-second arithmetic and keep their shape:

- Pause freezes the prompt with 5 s left instead of 10, and play
  resumes to the new deadline.
- A prompt held behind a competing pill shows with a full 10 s timer.
- An undo pill hidden by a competing pill comes back with 5 s left,
  which still tells a frozen timer from a reset one.
- In the start cascade, the lower plan lowers again when its undo pill
  ends at 33 s. Its long stall triggered at 29 s, so the case still
  proves the pill holds the lowering back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(player): draw a smaller buffering card on Apple TV

On Apple TV the "Playback keeps buffering" prompt and the "Restore
quality" undo pill used the full notice card: a 30 pt title, a second
line, and the skip pills' 72 pt buttons, which sat heavy over the
picture. The card is now smaller and quieter on tvOS only:

- the title stays on one line, shrinking a long translation a little
  before it truncates;
- the prompt drops its second line ("Try a lower quality to keep
  watching");
- padding, corner radius and spacing are smaller, and the buttons are
  54 pt tall with a 22 pt label.

The card's metrics became a value with a standard and a compact set, and
the pill button style gained a compact size. Only the tvOS buffering
card asks for them, so notices, the skip pills, and the iPhone, iPad
and Mac cards draw as before. Focus, Select, Left and Right, and Menu
on the card are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…u buttons (Silo-Server#1267)

* feat(player): label the Next Up and menu buttons on Apple TV and fit longer Next Up labels

The Next Up screen now reads "Play Next Up" and "Exit Playback", and the
Apple TV player's button row names its Next Up and menu buttons ("Next Up",
"Playback Menu") beside their icons. VoiceOver reads the visible names.

- Apple TV: the Play Next Up pill grows to fit its text instead of a fixed
  220 pt, so longer translations stay on one line. The two labelled buttons
  are capsules the height of the discs, built and focused like them, so
  focus order and actions in the row are unchanged.
- iPhone and iPad: Keep Watching and Exit Playback share a line only when
  both fit in full; otherwise they stack. In the compact landscape row the
  auto-play toggle moves to its own line before a button truncates, and
  Exit Playback claims its width before Keep Watching stretches.

The Mac player has no Next Up screen and is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): give Pick Another its own row on the Apple TV Next Up screen

In a shuffle, Play Next Up, Pick Another and the countdown shared one
row. With the longer "Play Next Up" label that row no longer fitted the
panel: in Polish the play icon and the end of the label spilled out of
the squeezed pill. Pick Another now has a row of its own between Play
Next Up and Keep Watching, as on Android TV and Roku. Down from Play Next
Up reaches it and Down again reaches Keep Watching, all through native
focus; Up reverses. Outside a shuffle the screen is unchanged.

- Keep Watching and Pick Another grow to fit their labels instead of a
  fixed 250 pt, like Play Next Up. Bulgarian Keep Watching and French
  Pick Another ran past their pills.
- Keep Watching and Exit Playback share a row when both fit the panel
  and stack otherwise (Bulgarian, Greek, and Polish with large posters),
  so Exit Playback never runs past the screen edge. When stacked, only
  Exit Playback hands Down on to the auto-play toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): fit Play Next Up and Pick Another on iPhone and iPad

In a shuffle, Play Next Up, Pick Another and the countdown shared one
line, and in the portrait layout longer labels such as Polish cut both
buttons short. Pick Another now moves to its own line when the three do
not fit.

On iOS 18 the secondary button style stretches, so Exit Playback's layout
priority let it take the whole line and squeezed Keep Watching to an empty
pill. Exit Playback and Pick Another now keep their natural width on a
shared line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(player): keep focus on Exit Playback when the Apple TV Next Up row reflows

When stacked Keep Watching and Exit Playback reflowed into one row, focus
jumped from Exit Playback to Play Next Up. That happens when the episode
ends and Keep Watching goes away, so a Select meant for Exit Playback
started the next episode. ViewThatFits built a separate copy of each
button per arrangement, so switching arrangements replaced the focused
button and focus fell back to the screen's default.

A small layout now places the same two buttons side by side or stacked,
choosing from the same fit test, so a focused button survives a change of
arrangement. Exit Playback still hands Down to the auto-play toggle in
both arrangements; side by side, Down from Keep Watching reaches the
toggle natively.

Pick Another's row is now a full-width focus section. Side by side, Exit
Playback can sit past Pick Another's trailing edge (in English), and Up
from it found no target and stayed put.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ilo-Server#1316)

* refactor(ios): remove page customization from the profile menu

Remove the Customize Home and Customize <Library> items from TabTopBarActions and ProfileAvatarMenu across iPhone, iPad, and the iPhone Duo status column. Bottom-of-feed Customize buttons, Home row context menus, and Settings > Interface > Customize Home Screen remain available.

* fix(home): expose row customization from empty Home and library states

Add an optional action slot to EmptyStateView and show the existing Customize Home and Customize Rows buttons when Home or Library Recommended has no visible sections on iOS and macOS.
…lo-Server#1318)

* fix(tvos): focus the next episode when a Watch Party series opens

Choosing a series in the Apple TV Watch Party picker opened the episode
browser with nothing focused. Its loading placeholder lost focus when
seasons arrived, the focus watchdog put focus on the season row about
five seconds later, and the viewer had to press Down to reach the next
episode.

The placeholder now keeps focus until the first episodes load. The
episode rail then claims its entry card, the resume episode, and
re-asserts the claim for about a second, since the focus engine drops
writes to cards that are not laid out yet or that arrive during the
push. The claim runs once per page and is skipped when the viewer has
already moved to the season row. The series page's anchored rail is
unchanged.

Closes Silo-Server#1041

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): cancel episode focus retries when the viewer moves away

The rail's entry-focus retries checked only whether a card held focus.
A viewer who reached the season row inside the retry window could be
pulled back to the episode, and a changed entry card kept being
claimed with the old ID. Key the task to the parent's current intent
and entry card so either change cancels it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tvos): keep retrying the Watch Party episode claim until it lands

The rail's own focus write reported back through onFocusedEpisodeChange,
which cleared the claim flag and cancelled the retries after the first
attempt. The flag is now cleared only when focus reaches the season row
or the viewer chooses an episode, so a dropped first write is retried and
moving between season pills cannot re-arm the claim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Quick104 <31828688+Quick104@users.noreply.github.com>
…it (Silo-Server#1320)

* fix(watch-party): keep the title picker's shelves when going back to it

Going back to the Watch Party title picker from a title's confirmation
page, the episode browser, or the Apple TV search page restarted the
picker's .task, which cleared the recent movies shelf and refetched
every shelf. The task now reloads only when the shelves aren't current:
no full load has landed, the session reports an error (a failed picker
read keeps the old picker and only sets that error), capabilities are
missing, or a rejoin cleared the group picks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(watch-party): retry the title picker's shelves on the picker read's own result

The shared session error was the wrong retry signal: a failed Who's Seen
read on a pushed page left it set, so every Back reloaded the shelves,
and a socket reconnect cleared it, so a failed picker refresh that kept
an older picker counted as current. refreshPicker now reports whether
it stored a fresh picker, and the shelves count as loaded only then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(watch-party): keep Apple TV focus on the card left when going back to the picker

The picker bumped its feed focus request on every appearance, so going
back from a pushed page moved focus to the first card even with the
shelves kept. It now claims the first card on appear only while the
shelves still need loading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
39 upstream commits since dce56e3. Rebrand-aware merge by
Prairie-Server/.github upstream-sync/prairie_sync.py (base=rebrand(merge-base), theirs=rebrand(upstream)).

Conflicts resolved by hand:
	iosApp/iosApp/Assets.xcassets/TVAppIcon.brandassets/App Icon - App Store.imagestack/Layer1.imagestacklayer/Content.imageset/Content.png
	iosApp/iosApp/Assets.xcassets/TVAppIcon.brandassets/App Icon.imagestack/Layer1.imagestacklayer/Content.imageset/Content.png
	iosApp/iosApp/Assets.xcassets/TVAppIcon.brandassets/App Icon.imagestack/Layer1.imagestacklayer/Content.imageset/Content@2x.png
	iosApp/iosApp/Networking/APIv2/APIv2CatalogReadModels.swift
	iosApp/iosApp/Networking/APIv2/APIv2Client.swift
	iosApp/iosApp/Screens/Detail/ItemDetailViewModel.swift
	iosApp/iosApp/Screens/Detail/Phone/PhoneDetailHero.swift
	iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift
	iosApp/iosApp/tvOS/Navigation/TVTopMenuBar.swift
	iosApp/iosApp/tvOS/Screens/Detail/TVDetailActions.swift
	iosApp/iosApp/tvOS/Screens/Detail/TVItemDetailView.swift
	iosApp/iosApp/tvOS/Screens/Detail/TVMovieDetailView.swift
	iosApp/iosApp/tvOS/Screens/Detail/TVSeriesDetailView.swift

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@JonahMMay

Copy link
Copy Markdown
Author

Audit: markers 0, dangling symbols 0, duplicate decls 0, new Silo tokens 0, 53 invariants hold. 15 files list lost Prairie lines, all intended: Prairie's 1-5 star rating UI/API (UserRatingMenu, setUserRating) was replaced by upstream's 1-10 rating system (RatingScore, PersonalRatingTests); Prairie's community-rating refresh kept in ItemDetailViewModel.refreshCommunityRating. tvOS trailer-fetch plumbing was removed upstream. Brand PNGs kept as Prairie. Note: prairie-server ratings.go still caps at 1-5, so scores above 5 will 422 until the server syncs.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 208 files, which is 108 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This organization's CodeRabbit subscription is cancelled. Resubscribe in Billing to continue reviews beyond the free-tier limit.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2efa54f9-5698-461c-ab41-1ea639338ce5
Commits

Reviewing files that changed from the base of the PR and between 9185d75 and c29b516.

Files ignored due to path filters: 12

  • iosApp/Prairie.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved is excluded by !**/Package.resolved
  • iosApp/iosApp/Networking/SettingKeys.generated.swift is excluded by !**/*.generated.*
  • project-images/app-store/apple-tv/01-library.jpg is excluded by !**/*.jpg
  • project-images/app-store/apple-tv/02-details.jpg is excluded by !**/*.jpg
  • project-images/app-store/apple-tv/03-progress.jpg is excluded by !**/*.jpg
  • project-images/app-store/apple-tv/04-profiles.jpg is excluded by !**/*.jpg
  • project-images/app-store/iphone/01-library.jpg is excluded by !**/*.jpg
  • project-images/app-store/iphone/02-details.jpg is excluded by !**/*.jpg
  • project-images/app-store/iphone/03-progress.jpg is excluded by !**/*.jpg
  • project-images/app-store/iphone/04-browse.jpg is excluded by !**/*.jpg
  • project-images/app-store/iphone/05-tracks.jpg is excluded by !**/*.jpg
  • project-images/app-store/iphone/06-profiles.jpg is excluded by !**/*.jpg
Files selected for processing: 208

  • .github/workflows/unit-tests.yml
  • .prairie-translations
  • THIRD_PARTY_NOTICES.md
  • docs/tvos-focus.md
  • iosApp/InfoPlist/iOS/InfoPlist.xcstrings
  • iosApp/InfoPlist/macOS/InfoPlist.xcstrings
  • iosApp/InfoPlist/tvOS/InfoPlist.xcstrings
  • iosApp/Resources/OpenSourceLicenses/README.txt
  • iosApp/Tests/BufferingQualityControllerTests.swift
  • iosApp/Tests/BufferingSignalMapperTests.swift
  • iosApp/Tests/CardWatchStatusTests.swift
  • iosApp/Tests/CatalogV2Tests.swift
  • iosApp/Tests/DetailEditionSelectionTests.swift
  • iosApp/Tests/DownloadNotificationNameTests.swift
  • iosApp/Tests/EpisodeLabelTests.swift
  • iosApp/Tests/Fixtures/BufferingQuality/SOURCE
  • iosApp/Tests/Fixtures/BufferingQuality/vectors.json
  • iosApp/Tests/Fixtures/SettingsContract/conformance.json
  • iosApp/Tests/Fixtures/SettingsContract/manifest.json
  • iosApp/Tests/HeroBackdropPaletteTests.swift
  • iosApp/Tests/HomeSectionsMutationTests.swift
  • iosApp/Tests/IntroSkipPromptTests.swift
  • iosApp/Tests/ItemCollectionsTests.swift
  • iosApp/Tests/LocaleFormatTests.swift
  • iosApp/Tests/OfflineCreditsProgressTests.swift
  • iosApp/Tests/OfflinePlaybackMappingTests.swift
  • iosApp/Tests/PairingCoordinatorTests.swift
  • iosApp/Tests/PersonalRatingTests.swift
  • iosApp/Tests/PersonalStateSyncTests.swift
  • iosApp/Tests/PhoneDetailSplitPageLayoutTests.swift
  • iosApp/Tests/PhoneRatingEditorTests.swift
  • iosApp/Tests/PlaybackNetworkQualityTests.swift
  • iosApp/Tests/PlaybackProtocolV3Tests.swift
  • iosApp/Tests/PlaybackRealtimeClientTests.swift
  • iosApp/Tests/PlayerMarkerTimelineTests.swift
  • iosApp/Tests/PlayerPrematureEndReopenTests.swift
  • iosApp/Tests/ProfileAndQualitySettingsTests.swift
  • iosApp/Tests/ProfileHomeLayoutTests.swift
  • iosApp/Tests/SectionCollectionRowsTests.swift
  • iosApp/Tests/SeriesPlaybackReturnTests.swift
  • iosApp/Tests/SleepTimerTests.swift
  • iosApp/Tests/Support/APIv2TestStub.swift
  • iosApp/Tests/TVPressCaptureTouchContactTests.swift
  • iosApp/Tests/TVPrimaryPillFitTests.swift
  • iosApp/Tests/TVRatingEditorTests.swift
  • iosApp/TopShelf/ContentProvider.swift
  • iosApp/iosApp/Components/EmptyStateView.swift
  • iosApp/iosApp/Components/EpisodeCardCaption.swift
  • iosApp/iosApp/Components/ErrorView.swift
  • iosApp/iosApp/Components/HeroBackdropPalette.swift
  • iosApp/iosApp/Components/MediaCard.swift
  • iosApp/iosApp/Components/MediaCardPersonalState.swift
  • iosApp/iosApp/Components/MediaRow.swift
  • iosApp/iosApp/Components/MediaStateMenuItems.swift
  • iosApp/iosApp/Components/NotInterestedMenuButton.swift
  • iosApp/iosApp/Components/PersonalListActions.swift
  • iosApp/iosApp/Components/PersonalStateSync.swift
  • iosApp/iosApp/Components/Ratings/RatingScore.swift
  • iosApp/iosApp/Components/Ratings/RatingStarsView.swift
  • iosApp/iosApp/Components/UndoToast.swift
  • iosApp/iosApp/Components/UserRatingMenu.swift
  • iosApp/iosApp/ContentView.swift
  • iosApp/iosApp/Control/iOS/PrairieControlPhonePolicy.swift
  • iosApp/iosApp/DesignSystem/Marquee/MarqueeTV.swift
  • iosApp/iosApp/Downloads/DownloadActionButton.swift
  • iosApp/iosApp/Downloads/DownloadContinuedProcessing.swift
  • iosApp/iosApp/Downloads/DownloadManager.swift
  • iosApp/iosApp/Downloads/DownloadModels.swift
  • iosApp/iosApp/Downloads/DownloadNotifications.swift
  • iosApp/iosApp/Downloads/OfflinePlayback.swift
  • iosApp/iosApp/Downloads/SeriesDownloadControls.swift
  • iosApp/iosApp/Downloads/Views/DownloadManagerRows.swift
  • iosApp/iosApp/Downloads/Views/DownloadReclaimSheet.swift
  • iosApp/iosApp/Downloads/Views/OfflineBrowse.swift
  • iosApp/iosApp/Downloads/Views/SeriesDownloadSheet.swift
  • iosApp/iosApp/Localizable.xcstrings
  • iosApp/iosApp/Navigation/AppRouter.swift
  • iosApp/iosApp/Navigation/Route.swift
  • iosApp/iosApp/Networking/APIv2/APIv2CatalogModels.swift
  • iosApp/iosApp/Networking/APIv2/APIv2CatalogReadModels.swift
  • iosApp/iosApp/Networking/APIv2/APIv2CatalogReadProjection.swift
  • iosApp/iosApp/Networking/APIv2/APIv2Client+BoxSets.swift
  • iosApp/iosApp/Networking/APIv2/APIv2Client+Collections.swift
  • iosApp/iosApp/Networking/APIv2/APIv2Client+ItemCollections.swift
  • iosApp/iosApp/Networking/APIv2/APIv2Client+ProfileSections.swift
  • iosApp/iosApp/Networking/APIv2/APIv2Client+Ratings.swift
  • iosApp/iosApp/Networking/APIv2/APIv2Client.swift
  • iosApp/iosApp/Networking/APIv2/APIv2CollectionModels.swift
  • iosApp/iosApp/Networking/APIv2/APIv2LibraryModels.swift
  • iosApp/iosApp/Networking/APIv2/APIv2ProfileSectionModels.swift
  • iosApp/iosApp/Networking/APIv2/APIv2RetrySafety.swift
  • iosApp/iosApp/Networking/APIv2/APIv2ShuffleModels.swift
  • iosApp/iosApp/Networking/HomeWatchStateRealtime.swift
  • iosApp/iosApp/Networking/ItemCollectionsModels.swift
  • iosApp/iosApp/Networking/Models.swift
  • iosApp/iosApp/Networking/PrairieAPI.swift
  • iosApp/iosApp/Networking/PrairieQualityPresets.swift
  • iosApp/iosApp/Networking/ProfileSettingsWriter.swift
  • iosApp/iosApp/Networking/ResponseCache.swift
  • iosApp/iosApp/Networking/SectionRowLimit.swift
  • iosApp/iosApp/Pairing/Approver/TVApprovalCard.swift
  • iosApp/iosApp/Pairing/Approver/TVApprovalModel.swift
  • iosApp/iosApp/Pairing/Companion/CompanionPairingCard.swift
  • iosApp/iosApp/Pairing/Receiver/TVPairingReceiverView.swift
  • iosApp/iosApp/Screens/Auth/TVLoginView.swift
  • iosApp/iosApp/Screens/Browse/BrowseView.swift
  • iosApp/iosApp/Screens/Browse/CatalogGrid.swift
  • iosApp/iosApp/Screens/Browse/Filtering/LibraryVideoScope.swift
  • iosApp/iosApp/Screens/Collections/CollectionDetailView.swift
  • iosApp/iosApp/Screens/Collections/CollectionOwnerName.swift
  • iosApp/iosApp/Screens/Collections/CollectionPlacementModel.swift
  • iosApp/iosApp/Screens/Collections/CollectionQuickCurationViews.swift
  • iosApp/iosApp/Screens/Collections/CollectionsView.swift
  • iosApp/iosApp/Screens/Detail/DetailPlayLabel.swift
  • iosApp/iosApp/Screens/Detail/DetailSeed.swift
  • iosApp/iosApp/Screens/Detail/DetailVersionSelection.swift
  • iosApp/iosApp/Screens/Detail/ItemDetailView.swift
  • iosApp/iosApp/Screens/Detail/ItemDetailViewModel.swift
  • iosApp/iosApp/Screens/Detail/MovieDetailContent.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneDetailHero.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneDetailPageLayout.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneEpisodeCarousel.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneEpisodeFormatting.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneEpisodeRail.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneHeroMetadata.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneItemCollectionsRow.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneMediaInfoSection.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneRatingEditor.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneRatingLine.swift
  • iosApp/iosApp/Screens/Detail/SeriesDetailContent.swift
  • iosApp/iosApp/Screens/Home/Feed/HomeCollectionsRow.swift
  • iosApp/iosApp/Screens/Home/Feed/HomeFeedKit.swift
  • iosApp/iosApp/Screens/Home/Feed/HomeFeedRow.swift
  • iosApp/iosApp/Screens/Home/HomeSectionsEditorModel.swift
  • iosApp/iosApp/Screens/Home/HomeSectionsMutation.swift
  • iosApp/iosApp/Screens/Home/HomeView.swift
  • iosApp/iosApp/Screens/Home/HomeViewModel.swift
  • iosApp/iosApp/Screens/Home/IOSAddRowSheet.swift
  • iosApp/iosApp/Screens/Home/IOSHomeCustomizeView.swift
  • iosApp/iosApp/Screens/Home/ProfileHomeLayout.swift
  • iosApp/iosApp/Screens/Home/SectionRow.swift
  • iosApp/iosApp/Screens/Player/AetherPlaybackController.swift
  • iosApp/iosApp/Screens/Player/BufferingQualityController.swift
  • iosApp/iosApp/Screens/Player/IntroSkipPillProgress.swift
  • iosApp/iosApp/Screens/Player/IntroSkipPrompt.swift
  • iosApp/iosApp/Screens/Player/PlaybackNetworkQuality.swift
  • iosApp/iosApp/Screens/Player/PlaybackRealtimeClient.swift
  • iosApp/iosApp/Screens/Player/PlaybackSessionBridge.swift
  • iosApp/iosApp/Screens/Player/PlayerMarkerTimeline.swift
  • iosApp/iosApp/Screens/Player/PlayerNoticeOverlay.swift
  • iosApp/iosApp/Screens/Player/PlayerSettings.swift
  • iosApp/iosApp/Screens/Player/PlayerView.swift
  • iosApp/iosApp/Screens/Player/PlayerViewModel.swift
  • iosApp/iosApp/Screens/Player/ProtocolV3/ApplePlaybackV3Capabilities.swift
  • iosApp/iosApp/Screens/Player/ProtocolV3/PlaybackProtocolV3Models.swift
  • iosApp/iosApp/Screens/Player/Sheets/PlayerSettingsSheet.swift
  • iosApp/iosApp/Screens/Player/SleepTimer.swift
  • iosApp/iosApp/Screens/Player/UpstreamReadMeter.swift
  • iosApp/iosApp/Screens/Player/iOS/MobilePlayerControls.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVBufferingQualityPill.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVIntroSkipPill.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVPlayerControls.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVPlayerErrorCard.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVPlayerInfoHUD.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVPlayerTransportCluster.swift
  • iosApp/iosApp/Screens/Player/tvOS/TVPressCaptureView.swift
  • iosApp/iosApp/Screens/Recommendations/RecommendationsView.swift
  • iosApp/iosApp/Screens/Recommendations/RecommendationsViewModel.swift
  • iosApp/iosApp/Screens/Settings/IOSSettingsOverview.swift
  • iosApp/iosApp/Screens/Settings/InterfaceCustomizationView.swift
  • iosApp/iosApp/Screens/WatchParty/WatchPartyMediaPicker.swift
  • iosApp/iosApp/Shared/DetailDateFormatting.swift
  • iosApp/iosApp/Shared/EpisodeLabel.swift
  • iosApp/iosApp/Shared/TopShelfModels.swift
  • iosApp/iosApp/Startup/StartupContentPrefetcher.swift
  • iosApp/iosApp/Theme/Colors.swift
  • iosApp/iosApp/Theme/PrairieTheme.swift
  • iosApp/iosApp/WatchParty/WatchPartyLobbyState.swift
  • iosApp/iosApp/WatchParty/WatchPartySession.swift
  • iosApp/iosApp/iOS/ForYouDock.swift
  • iosApp/iosApp/iOS/PageDock.swift
  • iosApp/iosApp/macOS/MacIntroSkipPill.swift
  • iosApp/iosApp/macOS/PlayerView.swift
  • iosApp/iosApp/tvOS/Components/TVCollectionsRow.swift
  • iosApp/iosApp/tvOS/Components/TVFocusMarquee.swift
  • iosApp/iosApp/tvOS/Components/TVHeroAmbientWash.swift
  • iosApp/iosApp/tvOS/Components/TVRootHeroBackdrop.swift
  • iosApp/iosApp/tvOS/Components/TVSkylineSectionFeed.swift
  • iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift
  • iosApp/iosApp/tvOS/Navigation/TVTopMenuBar.swift
  • iosApp/iosApp/tvOS/Screens/Components/TVMediaCard.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVActionPopoverMenu.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVDetailActions.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVDetailFactsSection.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVDetailHero.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVEpisodeRail.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVItemCollectionsRow.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVItemDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVMovieDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVPlaybackSelectorRow.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVRatingActionButton.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVRatingEditor.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVSeriesDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Home/TVHomeCustomizeOverlay.swift
  • iosApp/iosApp/tvOS/Screens/Libraries/TVLibraryBrowseView.swift
  • iosApp/iosApp/tvOS/Screens/Requests/TVRequestsPage.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVGeneralSettingsView.swift
  • iosApp/project.yml

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 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

JonahMMay and others added 3 commits November 30, 2026 10:10
Route lives in Navigation, outside the host target's sources, so the new
upstream route(mediaScope:) helper failed the host build.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
DownloadModels.datedGameName (in the host target) now calls upstream's
EpisodeCardCaption, which needs MediaTextFormatting; both are Foundation-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The xcode-27 preview image stopped picking up this org's jobs (cancelled after 15 minutes, not acquired). The thin PrairieNetworkingHost build doesn't need Xcode 27, so the standard macos-26 image is enough; set the UNIT_TESTS_RUNNER repo variable to go back to xcode-27.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JonahMMay

Copy link
Copy Markdown
Author

Upstream sync audit

check count
conflict markers 0
likely compile breaks: names used but declared nowhere 0
likely compile breaks: names declared twice 0
files with Prairie lines no longer present 16
Silo tokens added by the sync 0

Prairie lines no longer present. Each is either intended (upstream rewrote that code) or a lost Prairie change:

.github/workflows/unit-tests.yml (1)
runs-on: xcode-27
iosApp/Tests/CatalogV2Tests.swift (7)
func testUserRatingPutsTheStarsAndDeleteClearsThem() async throws {
try await api.setUserRating(id: "movie:one", rating: 4, auth: auth)
try await api.setUserRating(id: "movie:one", rating: nil, auth: auth)
XCTAssertEqual(stub.methods, ["PUT", "DELETE"])
XCTAssertEqual(stub.requestedPaths, ["/api/v2/ratings/movie:one", "/api/v2/ratings/movie:one"])
let body = try XCTUnwrap(JSONSerialization.jsonObject(with: XCTUnwrap(stub.requests[0].body)) as? [String: Any])
XCTAssertEqual(body["rating"] as? Int, 4)
iosApp/iosApp/Components/UserRatingMenu.swift (1)
<file deleted>
iosApp/iosApp/Networking/APIv2/APIv2CatalogReadModels.swift (2)
/// The viewer's own 1-5 star rating; absent when unrated.
let userRating: Int64?
iosApp/iosApp/Networking/APIv2/APIv2CatalogReadProjection.swift (1)
self.userRating = try value.userRating.map { try catalogLegacyInt($0) }
iosApp/iosApp/Networking/APIv2/APIv2Client.swift (9)
/// `PUT /api/v2/ratings/{item_id}` with `{"rating": n}` (1-5), or
/// `DELETE` when `rating` is nil to clear it.
func setUserRating(id: String, rating: Int?, auth: CapturedOrdinaryRequestAuth) async throws {
if let rating, !(1...5).contains(rating) { throw APIv2Error.httpStatus(422) }
let body = try rating.map { try JSONSerialization.data(withJSONObject: ["rating": $0]) }
try await setMembership(method: rating == nil ? "DELETE" : "PUT", collection: "ratings", id: id,
body: body, auth: auth)
private func setMembership(method: String, collection: String, id: String, body: Data? = nil,
body: body, requestIdentity: identity, expectedAccount: auth.account, expectedAuth: auth)
iosApp/iosApp/Networking/Models.swift (1)
/// The viewer's own 1–5 star rating (`user_rating`); nil when unrated.
iosApp/iosApp/Screens/Detail/ItemDetailView.swift (2)
onSetRating: { rating in Task { await viewModel.setUserRating(rating) } },
onSetRating: { rating in Task { await viewModel.setUserRating(rating) } },
iosApp/iosApp/Screens/Detail/ItemDetailViewModel.swift (20)
/// Bumped by every rating change, so an older rating's refresh cannot
/// publish over a newer one.
private var userRatingMutationGeneration = 0
/// Sets (1-5) or clears (nil) the viewer's star rating, optimistically,
/// reverting on failure. A confirmed write re-reads the detail so the
/// community rating, which the server hides below its minimum count,
/// appears, updates or disappears with it.
func setUserRating(_ rating: Int?) async {
guard let contentId = detail?.contentId, detail?.userRating != rating else { return }
userRatingMutationGeneration += 1
let ratingGeneration = userRatingMutationGeneration
let previous = detail?.userRating
detail?.userRating = rating
let outcome = await PersonalStateSync.outcome {
try await PrairieAPI.shared.apiV2Client.setUserRating(id: contentId, rating: rating, auth: owner)
guard detail?.contentId == contentId else { return }
if detail?.userRating == rating { detail?.userRating = previous }
ResponseCache.shared.remove(CacheKey.itemDetail(contentId, libraryId: libraryId))
guard ratingGeneration == userRatingMutationGeneration,
let fresh = try? await PrairieAPI.shared.itemDetail(contentId: contentId, libraryId: libraryId),
iosApp/iosApp/Screens/Detail/MovieDetailContent.swift (5)
/// Sets (1-5) or clears (nil) the viewer's star rating.
var onSetRating: (Int?) -> Void = { _ in }
PhoneLabeledMenu(icon: UserRatingChoice.icon(detail.userRating),
label: UserRatingChoice.caption(detail.userRating)) {
UserRatingMenuItems(rating: detail.userRating, onSet: onSetRating)
iosApp/iosApp/Screens/Detail/SeriesDetailContent.swift (5)
/// Sets (1-5) or clears (nil) the viewer's star rating.
var onSetRating: (Int?) -> Void = { _ in }
PhoneLabeledMenu(icon: UserRatingChoice.icon(detail.userRating),
label: UserRatingChoice.caption(detail.userRating)) {
UserRatingMenuItems(rating: detail.userRating, onSet: onSetRating)
iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift (2)
case .collectionDetail(let id):
CollectionDetailView(collectionId: id)
iosApp/iosApp/tvOS/Screens/Detail/TVDetailActions.swift (20)
private struct TVCircleFocusHostButtonStyle: ButtonStyle {
let playFocused: FocusState<Bool>.Binding
/// The viewer's star rating; the Rating button shows only with `onSetRating`.
var userRating: Int? = nil
var onSetRating: ((Int?) -> Void)? = nil
@FocusState private var focusedAction: TVDetailAction?
action: onPlay,
focused: playFocused
.disabled(playTitle == nil)
.focused($focusedAction, equals: .play)
.focused($focusedAction, equals: .startOver)
playbackSelectors($focusedAction)
.focused($focusedAction, equals: .watchlist)
if let onSetRating {
TVCircleMenuButton(
icon: UserRatingChoice.icon(userRating),
title: "Rating",
accessibilityLabel: UserRatingChoice.accessibilityLabel(userRating),
menuTitle: UserRatingChoice.caption(userRating),
items: { UserRatingChoice.popoverItems(userRating) },
iosApp/iosApp/tvOS/Screens/Detail/TVItemDetailView.swift (2)
onSetRating: { rating in Task { await viewModel.setUserRating(rating) } },
onSetRating: { rating in Task { await viewModel.setUserRating(rating) } },
iosApp/iosApp/tvOS/Screens/Detail/TVMovieDetailView.swift (20)
/// recommendations and details rails.
/// Whether the manual "Find Trailers" action can be offered.
let supportsTrailerFetch: Bool
let onFindTrailers: () -> Void
/// Copy from the fetch coordinator; nil while idle.
let trailerFetchStatus: String?
let isFetchingTrailers: Bool
/// Called once a terminal fetch message has been on screen long enough.
let onTrailerStatusShown: () -> Void
/// Sets (1-5) or clears (nil) the viewer's star rating.
var onSetRating: (Int?) -> Void = { _ in }
@FocusState private var playFocused: Bool
/// Whole poster rail focus (box set, recommendations), used only to keep
.defaultFocus($playFocused, true, priority: .userInitiated)
VStack(alignment: .leading, spacing: 24) {
if let trailerFetchStatus {
// Non-focusable readout, so it adds no stop to the action
// column's focus traversal.
TVTrailerStatusPill(
message: trailerFetchStatus,
iosApp/iosApp/tvOS/Screens/Detail/TVSeriesDetailView.swift (20)
/// More > Show Series Info restores the series overview.
let supportsTrailerFetch: Bool
let onFindTrailers: () -> Void
let trailerFetchStatus: String?
let isFetchingTrailers: Bool
let onTrailerStatusShown: () -> Void
/// Sets (1-5) or clears (nil) the viewer's star rating.
var onSetRating: (Int?) -> Void = { _ in }
let onToggleSeriesWatched: () -> Void
let onToggleSeasonWatched: () -> Void
@FocusState private var playFocused: Bool
@State private var isShowingSeriesOverview = true
@State private var isUpdatingSeasonWatched = false
@State private var seasonWatchedUpdateFailed = false
@State private var seasonWatchedNotice: PersonalStateNotice?
.defaultFocus($playFocused, true, priority: .userInitiated)
.onChange(of: activeEpisodeContentId, initial: true) { _, contentId in
if contentId != nil {
isShowingSeriesOverview = false
.alert(Text(.detailWatchedErrorTitle), isPresented: $seasonWatchedUpdateFailed) {

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.

6 participants