Repository navigation
fix(calendar): link an empty week to the other two views - #525
Conversation
An empty Calendar week offered only Show Everything in Following and
Trending, and nothing in All (Refresh on tvOS). The empty state now links
to the other two views, never the current one, and the title names the
view ("Nothing trending this week"). On tvOS the empty state is a
full-width focus section so Down from any day in the week strip reaches
the buttons.
Closes #513
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedNext included review available in 19 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe calendar empty state now offers links to the other two filters. Its title and subtitle distinguish the selected filter. Button labels, focus behavior, and widths are updated. ChangesCalendar empty-state navigation
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The empty state provides links to the other filters, and tvOS users can reach those controls and reload the current filter by switching away and back. No actionable merge-blocking risk is established; the change is ready to merge after normal checks. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
|
The iOS |
Sync upstream silo-apple (2026-09-29): downloads, calendar, watch-party, native settings styling (Silo-Server#525-Silo-Server#546)
Problem
Closes #513
Related issue: Silo-Server/silo-android#398 (Android counterpart); web counterpart Silo-Server/silo-server#1494
Validation tasks: unblocks #303 C5, #304 C5; touches the tvOS empty-week focus next to #304 C2 (already failing under #514)
When a Calendar week has nothing to show, the empty state offered only Show Everything in Following and Trending. All offered nothing on iPhone and iPad, and Refresh on Apple TV. You couldn't jump to the other filtered view, and Trending and All shared the same generic title. Now the empty state links to the other two views, never the current one, and the title names the view.
Approach
Validation
CalendarFilterTestspasses on the iOS simulator. Silo, SiloTV, and SiloMac build.Evidence: https://evidence.siloserver.org/r/silo-apple/issue-513/
Risks
At the largest accessibility text sizes, "Following" can wrap inside the 150 pt iPhone button. On tvOS, selecting a link swaps in the loading state, so focus goes up to the filter bar. The old button did the same.
Checklist
AI Disclosure
xcodebuild), XcodeGen, agent-deviceclaude-opus-5-5[1m](Claude Opus 5.5)claude-opus-5-5, code-reviewer role) read the change,docs/tvos-focus.md, the surrounding tvOS focus code, and the web fix. It checked the link logic, focus trapping and Up navigation, layout from iPhone SE to tvOS, the macOS build, and VoiceOver labels. It found no blocking issues and two minor ones, both fixed: the link buttons now carry "Show …" accessibility labels, and a comment named the wrong focus neighbour.🤖 Generated with Claude Code
Note
Link an empty calendar week to the other two views
CalendarFilter.emptyStateLinks, which returns the two non-active filters in filter-bar order in CalendarModels.swiftMacroscope summarized 6e1437f.