Repository navigation
fix(ios): show one spinner during pull-to-refresh on Home and Browse - #786
Conversation
- 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
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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 — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 7
✨ Finishing Touches
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. Comment |
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
RefreshStatusPillandRefreshStatusPillState. 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 intoServerUnreachablePill.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
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
AI Disclosure
🤖 Generated with Claude Code