Skip to content

Hide the tab bar when the Log opens a commit on iOS - #216

Merged
simonhamp merged 1 commit into
mainfrom
fix/log-commit-hides-tab-bar
Nov 26, 2026
Merged

simonhamp merged 1 commit into
mainfrom
fix/log-commit-hides-tab-bar

Conversation

@simonhamp

@simonhamp simonhamp commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

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, /log on iOS is FeedWorkspace. Opening a commit there doesn't call navigate(). The workspace pushes the commit onto its own UIKit navigation controller in AdaptiveFeedRenderer, 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:

  • Opening a commit from the Log hides the bar, and the reply bar drops into the freed space.
  • Moving around the commit's tree and opening a profile from it keep the bar hidden.
  • The chevron and an edge swipe back both bring the bar back, and a cancelled swipe keeps it hidden.

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 FeedWorkspaceTest checks 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. FeedWorkspace is iOS only, so Android doesn't change, and the bar looks the same in dark mode.

commit-from-log

iOS light iOS dark Android light Android dark
Before
After
  • No visible change

🤖 Generated with Claude Code

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
simonhamp marked this pull request as ready for review November 26, 2026 03:18
@simonhamp
simonhamp merged commit f6aa3a7 into main Nov 26, 2026
3 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant