Skip to content

Refine tvOS settings, servers, authentication, and content interactions - #90

Merged
zZebrahz merged 24 commits into
mainfrom
tvos-july-12-fixes
Jul 17, 2026
Merged

zZebrahz merged 24 commits into
mainfrom
tvos-july-12-fixes

Conversation

@zZebrahz

@zZebrahz zZebrahz commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR collects the tvOS settings, authentication, server-management, and content-navigation fixes completed during simulator testing.

Settings navigation and presentation

  • Treat the left column as the settings main menu and the right column as its submenu, using the existing native focus graph instead of layering directional overrides on top of it.
  • Focus the top submenu item when entering from the main menu.
  • Return focus to the related main-menu item when moving left or backing out of a submenu, then route the final Settings exit through the tvOS shell's root-selection state so it always lands on Home.
  • Make Right/Left mirror Select/Back within the Settings page without changing remote behavior elsewhere in the app.
  • Limit the Server submenu's focusable content to Manage Servers; informational server and version rows remain readable but do not take focus.
  • Keep each informational title/value row grouped as one VoiceOver element after removing its button behavior.
  • Remove the lingering Server selection indicator when Sign Out has focus and improve the Sign Out row's red-state contrast.
  • Derive the displayed app version from the bundle for both the Server submenu and the lower-left Settings version label.

Custom subtitle appearance

  • Rename the Subtitles customization section to Custom Subtitle Appearance and visually indent its dependent controls as sub-items.
  • Keep disabled custom-appearance controls focusable for inspection while preventing edits and rendering them in a muted state.
  • Preserve the user's custom values when Custom Subtitle Appearance is toggled off so re-enabling restores the prior choices.
  • Disable the Custom Subtitle Appearance toggle while Match Device Settings is active, matching the existing iOS behavior.
  • Clean up the selection presentation used by subtitle appearance options.
  • Add a Reset Custom Appearance action with a confirmation modal and restore the custom values to their defaults only after confirmation.

Server management and confirmation dialogs

  • Restyle Manage Servers to match the wider Settings layout, typography, surfaces, and focus treatment.
  • Keep saved server rows focusable; Select is a no-op for the active server and switches to any other saved server.
  • Show a dedicated red trash action beside each saved server and confirm removal with the shared tvOS modal.
  • Remove long-press server actions and client-side rename support; saved names now remain server-admin-derived.
  • Preserve the last valid server-admin name when a pairing/update payload omits the name or supplies an empty value.
  • Keep active-server and pairing state consistent when a saved server is removed.
  • Treat the active server ID as a routed-view identity boundary so profile, library, Home, focus, and modal state cannot survive a switch to another server with the same auth state.
  • Cancel old-server requests and clear process-wide response, prefetch, item-detail, profile-preference, overlay, and feature caches before publishing a new active server or fallback server.
  • Clear and rehydrate server-scoped card-overlay preferences on active-server changes, invalidating late responses from the previous server before they can restore stale state.
  • Route server removal and sign-out outcomes through the existing auth-navigation helpers so every entry point lands on the same next screen.
  • Introduce a reusable tvOS confirmation modal with legible Cancel styling, centered button labels, and full-screen dimming that appears and disappears without the prior border flash.

Sign-out, sign-in, and profile entry

  • Use the shared confirmation modal for Sign Out from Settings, the top profile menu, and profile selection.
  • Offer Cancel, Sign Out, and Sign Out & Remove Server; the last option clears the active saved server after signing out.
  • Label the full-screen tvOS keyboards Username and Password.
  • Move Down from Username to Password instead of the password-visibility control; reach the visibility control only by moving Right from Password.
  • Focus Sign In after completing the full-screen username/password entry flow.
  • Start PIN entry on keypad 5 and make Back erase entered digits before dismissing the keypad when empty.

Library, person, and item-detail behavior

  • Give empty Library Collections pages a native focus owner so Menu/Back can leave the page instead of trapping the user.
  • Hide Movies or Series pills on person pages when the server confirms that media type has no content; failed availability checks leave the pill visible rather than hiding content on a network error.
  • Align the episode rail with the season selector on episode detail pages.
  • Add long-press episode actions for Mark Watched/Unwatched and Add/Remove Favorites on series, season, and episode detail rails.
  • Resolve sibling favorite state with bounded requests, avoid refetching favorites after watched-only changes, and prevent stale refreshes from overwriting a newer favorite toggle.
  • Discard a sibling episode's combined cached user-state entry after a favorite change so reopening it cannot briefly restore an outdated favorite value.
  • Seed highlighted next-up cards with their resolved favorite state on both series and season pages so their menus correctly offer removal.
  • Keep watched/favorite context-menu changes optimistic, then release their local overrides once refreshed server state catches up so cards cannot remain stale.
  • Invalidate the known parent series, season list, and episode-list caches after episode watched changes so progress and Next Up cannot fall back to pre-toggle state.
  • Restore current-episode focus the first time the user moves into the episode rail on an episode detail page, using native defaultFocus rather than directional interception.

Continue Watching

  • Expose Remove from Continue Watching for every item shown in that Home row, including server-provided items without a progress timestamp.
  • Fall back to the current timestamp for those dismissals so the server can hide the item until newer playback progress exists.
  • Preserve the existing watched/unwatched long-press action and update the visible Home sections/cache after a successful dismissal.

Validation

  • git diff --check origin/main...HEAD
  • Repeated signed SiloTV builds, installs, and launches on Apple TV 4K (2nd generation), tvOS 26.5, including a clean final build after the server-switch review fix.
  • Simulator checks throughout implementation for Settings focus handoff, subtitle customization, Manage Servers, confirmation dialogs, sign-in keyboard/focus flow, PIN entry, empty collections, person filters, episode alignment/actions, and Continue Watching menus.
  • Codex and CodeRabbit automated review findings assessed, fixed where actionable, and revalidated in the simulator.

@coderabbitai

coderabbitai Bot commented Jul 13, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

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

Next review available in: 28 minutes

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

How can I continue?

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

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

How do review limits work?

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

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

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8e105e88-049c-4a6b-a6f5-975eb09812b4

📥 Commits

Reviewing files that changed from the base of the PR and between 19e076d and 644ca89.

📒 Files selected for processing (5)
  • iosApp/iosApp/ContentView.swift
  • iosApp/iosApp/Networking/OverlayPrefsStore.swift
  • iosApp/iosApp/Networking/ServerRegistry.swift
  • iosApp/iosApp/Screens/Auth/AuthService.swift
  • iosApp/iosApp/Screens/Detail/ItemDetailViewModel.swift
📝 Walkthrough

Walkthrough

The changes update server identity persistence, active-server removal, tvOS focus and confirmation flows, episode watched/favorite actions, continue-watching dismissal, person filters, subtitle appearance state, and the project marketing version.

Changes

Server lifecycle and identity

Layer / File(s) Summary
Server entry naming and persistence
iosApp/iosApp/Networking/ServerRegistry.swift, iosApp/iosApp/Screens/Auth/AuthService.swift, iosApp/iosApp/Pairing/..., iosApp/Tests/PairingCoordinatorTests.swift
Server display names now use fetched names or URLs, while profile persistence and session tests use the updated ServerEntry model.
Server removal and auth routing
iosApp/iosApp/Navigation/AppRouter.swift, iosApp/iosApp/Screens/Servers/ServerListView.swift, iosApp/iosApp/ContentView.swift
Server removal is centralized, active-server deletion refreshes authentication routing, and authenticated content is re-keyed when the active server changes.

Episode actions and continue watching

Layer / File(s) Summary
Episode state loading and mutation
iosApp/iosApp/Screens/Detail/ItemDetailViewModel.swift
Per-episode favorites are loaded concurrently, with async watched and favorite mutations added.
Episode rail actions and focus
iosApp/iosApp/tvOS/Screens/Detail/*
Episode cards support async watched/favorite actions, local override states, and current-episode focus.
Continue-watching dismissal
iosApp/iosApp/Components/MediaRow.swift, iosApp/iosApp/Screens/Home/HomeViewModel.swift
Dismissal works without an existing progress timestamp by generating a fallback timestamp.

tvOS focus and confirmation flows

Layer / File(s) Summary
Authentication and profile focus
iosApp/iosApp/Screens/Auth/TVLoginView.swift, iosApp/iosApp/Screens/Profiles/*, iosApp/iosApp/tvOS/Aurora/*, iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift
PIN, login, profile, input, and navigation controls use explicit focus handling and sign-out confirmation.
Settings focus navigation
iosApp/iosApp/tvOS/Screens/Settings/TVSettingsView.swift, TVGeneralSettingsView.swift, TVPlaybackSettingsView.swift
Settings navigation now manages rail/detail focus, pane transitions, exit handling, and version display.
Reusable settings overlays and rows
iosApp/iosApp/tvOS/Screens/Settings/TVSettingsComponents.swift
Reusable destructive overlays, nested groups, information rows, and picker styling were added or revised.
Content and filter focus
iosApp/iosApp/tvOS/Screens/Libraries/TVLibraryCollectionsView.swift, iosApp/iosApp/Screens/People/PersonDetailView.swift
Empty library content and person filmography filters now respond to loading, availability, and focus state.

Subtitle appearance settings

Layer / File(s) Summary
Subtitle effective-state persistence
iosApp/iosApp/Screens/Player/PlayerSettings.swift, iosApp/iosApp/Screens/Settings/*ViewModel.swift
Inherited subtitle appearance is persisted separately from device overrides and used as the effective setting when appropriate.
Subtitle editing and reset flow
iosApp/iosApp/tvOS/Screens/Settings/TVSubtitleSettingsView.swift
Custom subtitle controls are guarded by override state and reset through confirmation before synchronizing settings.

Project versioning

Layer / File(s) Summary
Marketing version update
iosApp/project.yml
The marketing version is updated from 0.1.0 to 1.0.0 across the app, extensions, and platform targets.

Estimated code review effort: 5 (Critical) | ~120 minutes

Possibly related PRs

Suggested reviewers: quick104

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 20.69% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and accurately reflects the main areas changed in this PR, even though it is broad.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tvos-july-12-fixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1e104b6278

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 7

🧹 Nitpick comments (3)
iosApp/iosApp/Networking/ServerRegistry.swift (1)

114-125: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

addOrUpdate should treat an empty fetchedName the same as updateFetchedName does.

updateFetchedName guards with !name.isEmpty before overwriting, but addOrUpdate's merge only checks == nil (Line 124). Since displayName is now the sole source of truth for the visible server name (no more userOverrideName fallback), a caller that passes an empty (but non-nil) fetchedName — e.g. ReceiverPairingCoordinator.persistServer forwarding a peer-supplied serverName — would silently clobber a previously-good name with an empty string, causing displayName to fall back to the raw URL.

♻️ Proposed fix for consistent empty-name handling
-            if merged.fetchedName == nil { merged.fetchedName = existing.fetchedName }
+            if merged.fetchedName == nil || merged.fetchedName?.isEmpty == true {
+                merged.fetchedName = existing.fetchedName
+            }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@iosApp/iosApp/Networking/ServerRegistry.swift` around lines 114 - 125, Update
the merge logic in ServerRegistry.addOrUpdate so an incoming fetchedName is
preserved only when it is non-nil and non-empty; otherwise retain the existing
fetchedName, matching updateFetchedName behavior. Keep the existing merge
behavior for valid incoming names and unrelated fields unchanged.
iosApp/iosApp/Screens/People/PersonDetailView.swift (1)

39-39: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

LGTM! The filter availability logic, concurrent execution, and error handling are well-implemented. One optional readability suggestion below.

♻️ Optional: Destructure tuple for readability

In refreshAvailableFilters, results.0 and results.1 are not self-documenting. Named destructuring improves clarity:

-        let results = await (movies, series)
-        guard currentGeneration == generation else { return }
-
-        var filters: [PersonMediaFilter] = [.all]
-        if results.0 != false { filters.append(.movies) }
-        if results.1 != false { filters.append(.series) }
+        let (hasMovies, hasSeries) = await (movies, series)
+        guard currentGeneration == generation else { return }
+
+        var filters: [PersonMediaFilter] = [.all]
+        if hasMovies != false { filters.append(.movies) }
+        if hasSeries != false { filters.append(.series) }

Also applies to: 106-108, 249-275, 455-455, 585-585, 672-679

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

In `@iosApp/iosApp/Screens/People/PersonDetailView.swift` at line 39, Improve
readability in refreshAvailableFilters and the other referenced tuple-result
usages by destructuring returned tuples into clearly named values instead of
accessing results.0 and results.1. Apply the same named-destructuring pattern
consistently at the affected usages while preserving existing filter logic and
behavior.
iosApp/iosApp/tvOS/Screens/Detail/TVEpisodeRail.swift (1)

92-171: 🎯 Functional Correctness | 🔵 Trivial | ⚖️ Poor tradeoff

Local playedOverride/favoriteOverride never clear back to nil once set.

isPlayed/isFavorite prefer the local @State override forever after a successful toggle (only failure reverts it, lines 142-144, 159-161). Because the card's identity is tied to episode.contentId (.id(episode.contentId) in the rail), this state survives across the loadEpisodes reload that follows a successful setEpisodeWatched call. That's fine for the immediate action, but the override then permanently shadows episode.userData?.played/true favorite status for the rest of this screen's lifetime — if the underlying server truth changes through any other path while this screen stays mounted (e.g. watched-threshold auto-marking during playback, or a change from another device), the card will keep showing the stale manually-set value instead of picking up the fresh one from episode/favoriteStates.

Consider resetting the override once the corresponding prop (episode.userData?.played / favoriteStates[episode.contentId]) is observed to match it, e.g. via .onChange(of: episode.userData?.played), rather than letting the override persist indefinitely.

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

In `@iosApp/iosApp/tvOS/Screens/Detail/TVEpisodeRail.swift` around lines 92 - 171,
The local overrides in TVEpisodeCard persist after the episode data refreshes,
so isPlayed and isFavorite can remain stale. Add change observation for
episode.userData?.played and the current favorite prop (initialIsFavorite),
clearing playedOverride or favoriteOverride when the refreshed value matches the
corresponding override; preserve the override until the server-backed value
catches up and retain existing failure-revert behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@iosApp/iosApp/Navigation/AppRouter.swift`:
- Around line 236-261: Update signOutRemoveServerAndReset() to replace its
inline path reset and four-way authState branching with the existing
resetToServerSetup(), resetToLogin(), showProfileSelection(), and resetToHome()
helpers. Preserve the current branch order and conditions based on hasServer,
isLoggedIn, and hasProfile, and invoke the selected helper on the main actor
after removing the server.

In `@iosApp/iosApp/Screens/Detail/ItemDetailViewModel.swift`:
- Around line 385-398: Protect the newer value written by setEpisodeFavorite
from stale results applied by refreshEpisodeFavoriteStates. Track which episode
keys are updated after each refresh begins, then merge the refresh response
while preserving those newer local values; keep unrelated refreshed keys updated
normally.
- Line 18: Update refreshEpisodeFavoriteStates to fetch episode favorites with a
bounded level of concurrency instead of starting one request per episode
simultaneously. Track whether loadEpisodes was triggered by setEpisodeWatched,
and skip the favorites refresh for watched-state reloads; continue refreshing
when episode favorite state changes.

In `@iosApp/iosApp/Screens/Servers/ServerListView.swift`:
- Around line 258-268: Update the iOS alert’s “Remove” button handler to call
the existing remove(_:) helper with the selected ServerEntry, replacing its
duplicated wasActive check, registry.remove(serverId:), and refreshAuthState
logic while preserving the alert dismissal behavior.

In `@iosApp/iosApp/tvOS/Screens/Detail/TVItemDetailView.swift`:
- Line 347: Pass the episode action callbacks and favorite state data through
TVSeasonDetailView and TVSeriesDetailView into each TVEpisodeRail instance,
wiring onSetWatched, onSetFavorite, and favoriteStates consistently with
TVItemDetailView so long-press actions work in season and series rails.

In `@iosApp/iosApp/tvOS/Screens/Settings/TVSettingsComponents.swift`:
- Around line 283-313: Update TVSettingsInfoRow to restore a single
accessibility element for the title and value, applying the grouping to the row
container rather than either individual Text. Preserve the row’s read-only,
non-focusable behavior while ensuring VoiceOver reads the combined content as
one stop.

In `@iosApp/iosApp/tvOS/Screens/Settings/TVSubtitleSettingsView.swift`:
- Around line 97-104: Update the TVSubtitleSettingsView toggle for “Custom
Subtitle Appearance” to be disabled whenever subtitleMatchesSystemAppearance is
true, matching the iOS implementation. Preserve the existing
subtitleUsesDeviceAppearanceOverride state and setSubtitleDeviceOverrideEnabled
action for enabled cases.

---

Nitpick comments:
In `@iosApp/iosApp/Networking/ServerRegistry.swift`:
- Around line 114-125: Update the merge logic in ServerRegistry.addOrUpdate so
an incoming fetchedName is preserved only when it is non-nil and non-empty;
otherwise retain the existing fetchedName, matching updateFetchedName behavior.
Keep the existing merge behavior for valid incoming names and unrelated fields
unchanged.

In `@iosApp/iosApp/Screens/People/PersonDetailView.swift`:
- Line 39: Improve readability in refreshAvailableFilters and the other
referenced tuple-result usages by destructuring returned tuples into clearly
named values instead of accessing results.0 and results.1. Apply the same
named-destructuring pattern consistently at the affected usages while preserving
existing filter logic and behavior.

In `@iosApp/iosApp/tvOS/Screens/Detail/TVEpisodeRail.swift`:
- Around line 92-171: The local overrides in TVEpisodeCard persist after the
episode data refreshes, so isPlayed and isFavorite can remain stale. Add change
observation for episode.userData?.played and the current favorite prop
(initialIsFavorite), clearing playedOverride or favoriteOverride when the
refreshed value matches the corresponding override; preserve the override until
the server-backed value catches up and retain existing failure-revert behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

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

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b01a58a6-cd4d-4a95-90a0-02c7566077b8

📥 Commits

Reviewing files that changed from the base of the PR and between aa2f054 and 1e104b6.

📒 Files selected for processing (28)
  • iosApp/Tests/PairingCoordinatorTests.swift
  • iosApp/iosApp/Components/MediaRow.swift
  • iosApp/iosApp/Navigation/AppRouter.swift
  • iosApp/iosApp/Networking/ServerRegistry.swift
  • iosApp/iosApp/Pairing/Receiver/ReceiverPairingCoordinator.swift
  • iosApp/iosApp/Screens/Auth/AuthService.swift
  • iosApp/iosApp/Screens/Auth/TVLoginView.swift
  • iosApp/iosApp/Screens/Detail/ItemDetailViewModel.swift
  • iosApp/iosApp/Screens/Home/HomeViewModel.swift
  • iosApp/iosApp/Screens/People/PersonDetailView.swift
  • iosApp/iosApp/Screens/Player/PlayerSettings.swift
  • iosApp/iosApp/Screens/Profiles/PINEntryView.swift
  • iosApp/iosApp/Screens/Profiles/ProfileSelectionView.swift
  • iosApp/iosApp/Screens/Servers/ServerListView.swift
  • iosApp/iosApp/Screens/Settings/SettingsViewModel.swift
  • iosApp/iosApp/tvOS/Aurora/AuroraInputField.swift
  • iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVEpisodeRail.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVItemDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVMovieDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Libraries/TVLibraryCollectionsView.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVGeneralSettingsView.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVPlaybackSettingsView.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVSettingsComponents.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVSettingsView.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVSettingsViewModel.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVSubtitleSettingsView.swift
  • iosApp/project.yml
💤 Files with no reviewable changes (1)
  • iosApp/iosApp/Screens/Auth/AuthService.swift

@zZebrahz

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c1a7b0b4ed

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4418957f2f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

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

Inline comments:
In `@iosApp/iosApp/tvOS/Screens/Detail/TVSeasonDetailView.swift`:
- Around line 301-304: Update the TVEpisodeRail invocation in TVSeasonDetailView
to pass the highlighted nextUpEpisode’s favorite state through
currentContentIsFavorite. Derive it from episodeFavoriteStates using
nextUpEpisode.contentId, preserving the existing default only when no matching
state exists so favorited episodes can remove their favorite.

In `@iosApp/iosApp/tvOS/Screens/Detail/TVSeriesDetailView.swift`:
- Around line 315-318: Update the highlighted next-up card configuration in
TVSeriesDetailView to pass the favorite status corresponding to
nextUpEpisode?.contentId through currentContentIsFavorite, using the existing
episodeFavoriteStates map so TVEpisodeRail does not default the highlighted
episode to false.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

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

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 86fa46dd-2091-4bc2-8ac8-095e641201b3

📥 Commits

Reviewing files that changed from the base of the PR and between 1e104b6 and 7d89f61.

📒 Files selected for processing (10)
  • iosApp/iosApp/Navigation/AppRouter.swift
  • iosApp/iosApp/Networking/ServerRegistry.swift
  • iosApp/iosApp/Screens/Detail/ItemDetailViewModel.swift
  • iosApp/iosApp/Screens/Servers/ServerListView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVEpisodeRail.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVItemDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVSeasonDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVSeriesDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVSettingsComponents.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVSubtitleSettingsView.swift
🚧 Files skipped from review as they are similar to previous changes (6)
  • iosApp/iosApp/tvOS/Screens/Detail/TVItemDetailView.swift
  • iosApp/iosApp/Navigation/AppRouter.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVEpisodeRail.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVSubtitleSettingsView.swift
  • iosApp/iosApp/Screens/Servers/ServerListView.swift
  • iosApp/iosApp/tvOS/Screens/Settings/TVSettingsComponents.swift

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1ff5c3854d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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

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

@zZebrahz zZebrahz changed the title Refine tvOS settings, authentication, and content interactions Refine tvOS settings, servers, authentication, and content interactions Jul 14, 2026
@zZebrahz

Copy link
Copy Markdown
Contributor Author

@codex review

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

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

Inline comments:
In `@iosApp/iosApp/ContentView.swift`:
- Around line 31-34: Update ContentView’s overlay-preference hydration to react
to ServerRegistry.activeServerId rather than only router.authState, ensuring
OverlayPrefsStore reloads or clears overlayPrefs whenever the active server
changes, including fallback to an already-authenticated server.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

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

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f5daa502-45b3-4dc5-8b72-cdc1cf8bc9a3

📥 Commits

Reviewing files that changed from the base of the PR and between 7d89f61 and 19e076d.

📒 Files selected for processing (4)
  • iosApp/iosApp/ContentView.swift
  • iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVSeasonDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVSeriesDetailView.swift
🚧 Files skipped from review as they are similar to previous changes (3)
  • iosApp/iosApp/tvOS/Navigation/TVMainTabView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVSeriesDetailView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVSeasonDetailView.swift

Comment thread iosApp/iosApp/ContentView.swift Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 19e076d401

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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

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

@zZebrahz

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 36ddf82301

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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

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

Comment thread iosApp/iosApp/ContentView.swift Resolved
@zZebrahz

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 644ca8904b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant