Repository navigation
Hide the tab bar when the Log opens a commit on iOS - #216
Merged
Merged
Conversation
Since the Duo layouts, the Log on iOS is FeedWorkspace, which pushes a commit onto its own UIKit navigation controller instead of calling navigate(). That controller lives on the tab's root level, and core only hides the tab bar on its own pushed levels, so the bar stayed on the commit page. The workspace now hides the bar itself while one column shows a conversation over the feed. It updates after each frame is applied, as a back swipe or the chevron starts, and when the transition ends, so a cancelled swipe hides it again. Two columns keep the bar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp
marked this pull request as ready for review
November 26, 2026 03:18
This was referenced Nov 26, 2026
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>
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.
On iOS, opening a commit from the Log left the tab bar showing on the commit page. Commits opened from Notifications or a profile hid it as they should.
Since #172,
/logon iOS isFeedWorkspace. Opening a commit there doesn't callnavigate(). The workspace pushes the commit onto its own UIKit navigation controller inAdaptiveFeedRenderer, and that controller sits on the tab's root level. Core only hides the tab bar on its own pushed levels (HideTabBarOnPushModifier), so the bar stayed.The renderer now hides the bar itself while one column shows a conversation over the feed. It updates after each frame is applied, when a back swipe or the chevron starts, and when the transition ends, so the bar comes back as you go back and a cancelled swipe hides it again. Two columns on the Duo keep the bar, as before.
Checked on an iPhone 17 Pro simulator on iOS 27.0:
Not run on the Duo.
Follow-ups in the same file, stacked on this: #217 slides the commit in rather than popping it into place, and #218 puts the Log's search and compose at the right edge on an open Duo. Since then this has also been checked on the iPhone Duo simulator, closed, open and half open.
Tests: a source test in
FeedWorkspaceTestchecks the renderer hides the bar and updates it at each of those points. It fails without the change. Full suite: 2314 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, so Android doesn't change, and the bar looks the same in dark mode.commit-from-log
🤖 Generated with Claude Code