Repository navigation
Slide a commit in when the Log opens it on one column - #217
Merged
Merged
Conversation
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>
This was referenced Nov 26, 2026
simonhamp
marked this pull request as ready for review
November 26, 2026 13:56
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 #216, which hides the tab bar in the same file. Merge that first, then retarget this to
main.On an iPhone or a folded Duo, a commit opened from the Log popped into place instead of sliding in.
AdaptiveWorkspaceController.reconcile()applied every stack change withsetViewControllers(animated: false). Back looked right only because the chevron and the edge swipe are UIKit's own animated pops.A stack 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, as before. The existing
applyingflag keeps the delegate from treating the animated push as the user going back, and later frames wait for the transition to finish.Checked on an iPhone 17 Pro simulator (iOS 27.0) and the iPhone Duo simulator (iOS 27.1), with core's Swift refreshed to mobile-air 25490e8:
What to watch: in two columns, a second commit opened inside the detail column still appears without a slide, as it did before. That's a one-line change if we want it.
Tests: a source test in
FeedWorkspaceTestchecks when the stack animates, and fails without the change. Full suite: 2316 passed, 12 skipped (the edge blur and layout animation tests, which need a newer core than main's lock).Screenshots
iOS light only.
FeedWorkspaceis iOS only, and the slide is the same in dark mode. The before and after images are frame strips of the push.commit-push
Recordings: iOS light, after
🤖 Generated with Claude Code