Skip to content

fix(ios): show one spinner during pull-to-refresh on Home and Browse - #786

Merged
Quick104 merged 1 commit into
mainfrom
fix/duplicate-pull-to-refresh-spinner
Oct 13, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/duplicate-pull-to-refresh-spinner

Conversation

@Quick104

@Quick104 Quick104 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none. #305 C1 refreshes Home; the refresh works as before and only its indicator changes.

Pulling to refresh on iPhone Home showed two spinners: the system refresh control in the header row and a "Refreshing" pill under the header. A library's Recommended tab had the same pair. This change keeps only the system spinner.

Approach

Removes RefreshStatusPill and RefreshStatusPillState. The system refresh control stays because it follows the pull and is what iOS users expect. The pill only repeated it, and it stayed up for at least 1.5 s after a fast refresh. statusPillChrome() moves into ServerUnreachablePill.swift, so the "can't reach server" pill and the trailer status pills look the same as before. The offline pill still appears in the same place.

Affects iOS and iPadOS Home and the library Recommended tab. On macOS these pages have no pull-to-refresh, so nothing visible changes there. tvOS doesn't use the pill.

Validation

  • iOS, tvOS, and macOS Debug builds: succeeded.
  • Installed on a physical iPhone; launch verified.

Evidence

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

Surface and build: iPhone Home, pull-to-refresh. Before is from the current TestFlight build, after is from this branch.

Risks

None identified.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code in T3 Code
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a

🤖 Generated with Claude Code

- Remove RefreshStatusPill and RefreshStatusPillState, which drew a second "Refreshing" spinner on top of the system refresh control
- Move statusPillChrome() into ServerUnreachablePill.swift so the unreachable and trailer status pills keep their styling
- Update doc comments that referred to the removed pill
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T23:26:23.189968Z f136e6b PR opened
🔒 Security Review ✅ Completed 2026-10-13T23:26:47.846195Z f136e6b PR opened
ℹ️ About Codex in GitHub

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

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

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@silo-kody

silo-kody Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4e905661-aa32-49ac-8417-f6ca4fedb31d
📥 Commits

Reviewing files that changed from the base of the PR and between 2aa6595 and f136e6b.

📒 Files selected for processing: 7
  • iosApp/iosApp/Components/RefreshStatusPill.swift
  • iosApp/iosApp/Components/RefreshStatusPillState.swift
  • iosApp/iosApp/Components/ServerUnreachablePill.swift
  • iosApp/iosApp/Screens/Browse/BrowseView.swift
  • iosApp/iosApp/Screens/Detail/Phone/PhoneTrailerStatusPill.swift
  • iosApp/iosApp/Screens/Home/HomeView.swift
  • iosApp/iosApp/tvOS/Screens/Detail/TVTrailersRail.swift
 _______________________________________
< Nullus Bugus Maximus. No bug too big. >
 ---------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • 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

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

@silo-triage silo-triage Bot added bug Something isn't working impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish labels Oct 13, 2026
@Quick104
Quick104 merged commit 446fc50 into main Oct 13, 2026
7 of 8 checks passed
@Quick104
Quick104 deleted the fix/duplicate-pull-to-refresh-spinner branch October 13, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant