iOS: prevent toolbar flash when switching primary tabs
Switching between the primary iOS tabs could briefly remove the top toolbar, including when Notifications had filter and mark-all-read controls. A shared navigation host now owns the root toolbar above the native TabView and changes its actions for the active tab. Tab selection suppresses the outgoing toolbar animation while each tab retains its navigation path.
Notification deep links wait for the destination stack to appear. Feed refresh follows the active tab, uses the configured request deadline, and updates relative timestamps on return. Search keeps its navigation bar on older iOS versions.
Validation for 58ce74c2e48e25e1dae528c7b06098a5ea5b44b1:
- iPhone and iPad simulator tests passed (1,015 tests per device), along with mobile package tests and package conventions.
- Focused local Swift syntax, package groups, and feature flag checks passed.
- Recorded Notifications toolbar round trip is running against this exact revision.
- Required macOS checks are waiting for runners; the repository recovery workflow is active.
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
Fixes the iOS toolbar flash when switching primary tabs. A shared navigation host now owns the root toolbar above the native TabView, tab switches commit without animating the outgoing toolbar, and each tab keeps its own navigation stack while inactive stacks unmount.
Bug Fixes
- Notification filter and mark-all-read controls stay mounted in the shared toolbar across switches; mark-all-read requires confirmation.
- Feed and notification refresh only run for the active tab, are bounded by a 15-second request deadline, and re-anchor relative timestamps on return.
- Notification deep links queue until the destination stack is on screen; on iOS 26 only the selected tab is interactive.
- The task composer stays in the scaffold and hides for SSH workspace selection; workspace destinations show their own navigation bar, and search keeps its bar on older iOS.
- Pull-to-refresh on an SSH computer reconnects it, and the shared macOS/SSH workspace-creation gate now covers SSH computers.
- CLI tests resolve the repository source root from a CI runtime env var, and the console-session runner forwards it.
Summary by CodeRabbit
-
Navigation
- On iOS 26, only the selected Workspaces, Feed, Notifications, or Search tab is interactive; the bottom tab area remains available for switching.
- Search retains its destination context. Workspace destinations show their navigation bars, and shared toolbar controls remain available when switching between Workspaces and Notifications or using Notifications-scoped Search.
- Tab changes are immediate.
-
Notifications
- The Notifications toolbar includes filtering and a mark-all-read option when unread notifications are available. Marking all as read requires confirmation.