Repository navigation
Conversation
simonhamp
marked this pull request as ready for review
November 26, 2026 16:28
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>
On iOS, /notifications and /remotes now route to NotificationsWorkspace and RemotesWorkspace, laid out like the Log's: the list in the primary column and what you open beside it on a wide window, or sliding in over it on one column. A notification's commit opens in the detail column; profiles and organizations still open over the whole tab. A Remotes thread, a person's or an org's, opens beside the inbox with its call and menu on its own bar. The open row is marked, as the Log marks its open commit. Pushes land in the same place: the workspace opens the pushed commit or thread once the tab has drawn, and closes it with a toast if it has gone. The workspaces forward the polls their children need, since only the root screen's run, and watch for calls. Outbox answers for messages now reach every pane, so a thread beside the inbox shows its message as pushed. Android is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonhamp
force-pushed
the
feat/duo-panes-notifications-remotes
branch
from
November 26, 2026 16:28
cceb927 to
8e9de48
Compare
1 task
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, Notifications and Remotes now work like the Log on a wide window. The list stays in the primary column and what you open from it shows beside it. On one column (any iPhone, or a folded Duo) it slides in over the list, the tab bar hides, and back swipe works. Android is unchanged.
How the bars work now
The adaptive-layout renderer used to hard-code the Log's bar: the wordmark, search, compose and delete. Each page now has an
adaptive-barelement placed after its component in the workspace's view. It is built from that component's ownnavTitle()andnavigationOptions(), menus included. Its buttons register in the embedded component's callback registry, so a press calls that component directly, the same way a tap inside it does. The Swift side turns them intoUIBarButtonItems andUIMenus and sends the press withNativeElementBridge.sendPressEvent. The hard-codedcompose,search,gameanddeletemessages throughhostChangedare gone. Onlybackstill goes that way.The Log looks the same. It keeps the SF Symbol magnifying glass, pencil and trash it has always shown in the workspace (the Log and CommitDetail pick those glyphs when embedded), and the wordmark comes from TabsLayout's logo paths. #216 to #218 still work: the tab bar hides on one column, a detail slides in and out, and on an open Duo the primary column's buttons move to the detail column's bar so they reach the vertical bar.
FeedWorkspace's pane history moved into a
Workspacebase class shared by the three workspaces. The checks that named FeedWorkspace (outbox answers, the photo picker, deletion, opening a pane from a tap) now use the base class. Outbox answers for messages are now broadcast to every pane like commit answers, so a thread beside the inbox sees its message go from staged to pushed.What to watch for
compose,gameanddeletethroughhostChanged. They now press the bar's own buttons. Two delete cases in the staleness tests went away, since a press now goes to the pane it was drawn for.Checked on the iPhone Duo simulator (open, half open, closed, folding and unfolding with a thread and a commit open, draft kept) and on an iPhone 17 Pro simulator, against a local devnull API.
Screenshots
iOS light only, on the open Duo and an iPhone. The recordings show a commit and a thread sliding in and back out on one column.
notification-commit-duo
notification-commit-iphone
Recordings: iOS light, after
notifications-duo
notifications-iphone
remotes-duo
remotes-iphone
remotes-thread-duo
remotes-thread-iphone
Recordings: iOS light, after
🤖 Generated with Claude Code