Repository navigation
fix(browse): stack Sort and Filter at large text sizes instead of breaking words - #625
Merged
Quick104 merged 3 commits intoOct 6, 2026
Merged
Conversation
…aking words
At the largest accessibility text sizes the Sort and Filter chips on a library page no longer fit side by side, and SwiftUI squeezed the Sort label until it broke mid-word ("Dat/e/Ad/de/d", "Ne/we/st").
The control row now stacks the two chips when they don't fit on one line. At normal sizes nothing changes.
Found during the Series validation, silo-apple#337 C7.
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
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:
|
Keep the library Shuffle control in both adaptive layouts, preserving its availability, launch state, and failure alert.
…5-conflict-resolution
Closed
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Related issue: N/A
Validation tasks: changes #337 C7
At the largest accessibility text sizes the Sort and Filter chips on a library page no longer fit side by side, and SwiftUI squeezed the Sort label until it broke mid-word ("Dat/e/Ad/de/d", "Ne/we/st"). The row now stacks the chips when they don't fit.
Approach
The control row stacks Sort, Filter, and the available Shuffle button when they don't fit on one line. Nothing changes at normal sizes.
Validation
2ade24b5) mergedmainat16f10785, preserving Shuffle in both layouts and including fix(browse): tell an empty library apart from filters that match nothing #626's empty-library behavior.git diff --checkpassed. The saved simulator test server was unavailable, so this run did not verify the rendered Browse layout.Evidence: https://evidence.siloserver.org/r/silo-apple/pr-625/
scripts/ci/check-no-api-v1.sh: pass.main(6242652): the full iOS unit suite ran 2,691 tests. The only failures areArtworkURLTests.testDeliveryCapabilityOnIOSUsesV2RouteAndResetsandImageSizeCapabilityTests.testResetClearsCapability, which fail the same way onmain. tvOSbuild-for-testingand the macOS build succeed.Simulator screenshots (iOS 26.5, tvOS 26.5):
Risks
None identified.
Checklist
AI Disclosure
gpt-6.1-solthrough the Codex harness in T3 Code; Git, GitHub CLI, xcodebuild, the mac-builder simulator helper, agent-device, and silo-report-share.mainat medium effort, checking behaviour, platform guards (iOS, tvOS, macOS), tests and commit hygiene. No findings.Note
Fix
BrowseViewcontrol bar breaking at large text sizes withViewThatFitsReplaces the fixed horizontal layout in
controlBarwith aViewThatFits. Sort, Filter, and Shuffle stay in one row when they fit, otherwise they stack vertically with leading alignment.filterButton,shuffleButton) in BrowseView.swiftMacroscope summarized 2ade24b.