Repository navigation
Put the Log's search and compose at the right edge on an open Duo - #218
Merged
Merged
Conversation
1 task
Base automatically changed from
fix/log-commit-slides-in
to
fix/log-commit-hides-tab-bar
November 26, 2026 13:56
simonhamp
marked this pull request as ready for review
November 26, 2026 14:01
1 task
AdaptiveWorkspaceController.reconcile() applied every stack change with setViewControllers(animated: false), so a commit opened from the Log popped into place on an iPhone or a folded Duo. Back looked right only because the chevron and the edge swipe are UIKit's own animated pops. A change now animates when it's a push or a pop on one column that's on screen: the stack only gains or loses levels at the top. A first mount, folding or unfolding between one and two columns, and the detail column still snap, so the Duo's two columns behave as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On an open Duo the Log is two navigation controllers side by side, and iOS 27.1 only moves trailing bar items into the vertical bar from a bar that reaches its edge. The feed column's bar stops at the fold, so its search and compose sat at the top in the middle of the screen, while every other screen's actions went to the vertical bar. With two columns and the vertical bar on the detail side, search and compose now go on the detail column's bar instead: the commit page, or the empty placeholder. Each page gets its own pair, since both bars are on screen during a push or pop there. A commit's delete keeps its own glass under them. One column, older iOS and no vertical bar keep them on the feed's bar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp
added a commit
that referenced
this pull request
Nov 26, 2026
The adaptive-layout renderer hard-coded the Log: its wordmark, search, compose, the delete on a commit and the long press on the logo. Each page of the workspace now carries an adaptive-bar element after the component it belongs to, built from that component's navTitle() and navigationOptions(), menus included. Its buttons register in the embedded component's own callback registry, so a press goes straight to that component, the way a tap inside it does. FeedWorkspace's pane history moves into a Workspace base class so the Notifications and Remotes tabs can share it. The checks that were tied to FeedWorkspace (outbox answers, the photo picker, deletion, opening a pane from a tap) now go through the base class. The Log keeps the same glyphs and behaviour, and #216 to #218 work as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp
force-pushed
the
fix/duo-log-actions-right-edge
branch
from
November 26, 2026 16:28
5e542f7 to
82b8073
Compare
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.
Stacked on #217 (a commit slides in), which is stacked on #216. All three change the same file. Merge them in order.
On an open Duo, the Log's search and compose sat at the top in the middle of the screen. Every other screen's actions go to the vertical bar at the right edge.
iOS 27.1 moves trailing bar items into the vertical bar only from a navigation bar that reaches its edge. Notifications, Profile and a commit opened from Notifications use core's single navigation stack, whose bar spans the screen. On an open Duo the Log is two navigation controllers side by side, and the feed column's bar stops at the fold.
With two columns and the vertical bar on the detail side, search and compose now go on the detail column's bar: the commit page, or the empty placeholder when no commit is selected. Each page gets its own pair, because both bars are on screen during a push or pop in that column. A commit's own delete keeps its own glass, under search and compose, so they stay in the same spot whether or not a commit is open. One column, older iOS and no vertical bar keep them on the feed's bar. A posture change without a new frame from PHP moves them on the next layout.
Checked on the iPhone Duo simulator (iOS 27.1):
Tests: a source test in
FeedWorkspaceTestchecks where the actions go, and fails without the change. Full suite: 2316 passed, 12 skipped.Screenshots
iOS light only. This only applies to the open Duo, and the placement is the same in dark mode.
log-duo-open
🤖 Generated with Claude Code