Repository navigation
#929 #833 Home top-bar overflow menu - #976
Merged
Merged
Conversation
Home's Settings button becomes a ⋯ menu that holds Settings for now. HomeMenu (iOS and Android) puts feature entries first, in order, and adds Settings last behind a divider, so Search sessions, Archived sessions and Worktrees each add one entry. The shared overflow menu gains a dividerAbove slot, and on iOS a whole menu row now takes the tap, not just its icon and text. ⌘, / Ctrl+, still open Settings. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
Collaborator
Author
|
@cursor review |
ivanfenenko
marked this pull request as ready for review
November 3, 2026 21:31
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2bcdffb. Configure here.
Merged
Collaborator
Author
ivanfenenko
added a commit
that referenced
this pull request
Nov 3, 2026
- Undo the overflow menu width change; #976 fixes the divider there. - Session Chat: session.unarchived clears the banner directly, and an archive change since a session read began wins over that read, so a lagging GET no longer brings the banner back (both apps). iOS also clears the banner on rebind. - Archived list: unarchived or deleted rows stay gone while a list still carries their old archive time; Undo rows keep their project, so an unknown directory no longer drops them; one failing project keeps the others listed (both apps). - iOS: subscribe to events before the first load, and report cancellation from ArchivedSessionList. Co-Authored-By: Claude Opus 5.5 <[email protected]>
HorizontalDivider fills the width it is offered, and the panel offered the popup window's width, so a divider stretched the menu across the screen. The panel column now takes its widest row's intrinsic width, and every row fills it, so the whole row takes the tap as on iOS. Adds a grouped preview (subtitles plus divider) on both platforms and an instrumented layout test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ivanfenenko
added a commit
that referenced
this pull request
Nov 4, 2026
ivanfenenko
added a commit
that referenced
this pull request
Nov 4, 2026
main's only new commit is the #976 squash, whose tree matches fa295aa, already merged here in a9d2fac, so this branch's tree is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.







Summary
OpenCodeTopBarOverflowHost, AndroidOpenCodeTopBarOverflowHost). For now the menu holds one entry, Settings (gear). ⌘, / Ctrl+, still open Settings directly.HomeMenuon both platforms (ios/.../UI/Main/HomeMenu.swift,android/.../ui/main/HomeMenu.kt): feature entries first in the given order, then Settings, behind a divider whenever anything sits above it.dividerAboveon both platforms (1 pxborder-weak-base, 4 pt vertical padding, as in the Home menu prototype), with a Divider toggle in both component galleries and previews.home.more_options/home_more_options("More options"); Settings reusescommon.settings. New analytics actionhome_open_menu; the Settings entry still logshome_open_settings.Extension point for the Search, Archived sessions and Worktrees slices
Each slice adds its entry to the
featureslist, in prototype order (Search sessions, Archived sessions, Worktrees).HomeMenuadds Settings and the divider:ProjectListHomeView.homeMenuEntries:MainScreen.kthomeMenuEntries:subtitlefor "N in " / "N across M projects". Leave an entry out of the list to hide it (for example, Archived sessions on a server without archive support).Checks
:app:compileDebugKotlin,:app:compileDebugAndroidTestKotlin,:app:testDebugUnitTest --tests 'dev.opencode.mobile.ui.main.*' --tests 'dev.opencode.mobile.ui.keyboard.*'pass (newHomeMenuTest3/3).ktlintCheckadds no new violations (MainScreen.ktandOpenCodeOverflowMenu.kthave the same counts asmain).HomeMenuTests,OpenCodeKeyboardShortcutTestsandSessionListHomeChromeTestspass (44 tests). The UI test target builds.ConnectionSetupUITests(opens Settings through the new menu) passes on a dedicated simulator. An earlier run on a parallel-testing clone timed out evaluating a UI query while the host was under heavy load.scripts/check-string-keys.mjs: keys match.width(IntrinsicSize.Max)and rows fill it, so a divider no longer stretches the menu across the window. New instrumentedOpenCodeOverflowMenuLayoutTestpasses on a Pixel 9a emulator at fa295aa (1 test). Grouped previews (subtitles plus divider) on both platforms.ios-checksrun first failed onSessionReadyStoreTests.testFocusedStatusEvent_thenLeave_thenIdleEvent_setsReadyWithoutBusySnapshot(timing test outside this change, all 3264 Swift Testing tests passed) and passed on a single rerun.ConnectionSetupUITests,StoreScreenshotUITests,OpenCode_MobileUITests; AndroidStoreScreenshotTest.Evidence
Screenshots in the evidence comment. These are real-app captures of disconnected Home, with no server or session data. Snapshot tests can't draw this menu: it renders in a window overlay on iOS and a
Popupon Android, which the snapshot renderers skip.Issue
Part of #929 and #833
Risks / Follow-ups
🤖 Generated with Claude Code
Note
Medium Risk
Changes primary Home navigation for all users and broadens iOS overflow-menu tap targets app-wide; keyboard shortcut behavior with an open Android menu is untested.
Overview
Home’s top bar now opens Settings from a ⋯ More options overflow menu instead of a dedicated gear button; Terminal stays when applicable. ⌘, / keyboard shortcuts still open Settings directly.
Shared
HomeMenubuilders on iOS and Android append Settings last and insert adividerAbovegroup separator when feature entries sit above it (ready for Search, Archived, Worktrees). The design-system overflow menu gainsdividerAboveon both platforms, with gallery toggles and previews.Analytics: tapping ⋯ logs
home_open_menu; choosing Settings still logshome_open_settings. New copyhome.more_options/home_more_options.On iOS, overflow rows now use a full-width
contentShapeso taps on empty row area register (fixes all overflow menus app-wide).Tests: store screenshots and UI flows open Settings via ⋯ →
homeMenuSettings; newHomeMenuunit tests cover ordering and dividers.Reviewed by Cursor Bugbot for commit 2bcdffb. Bugbot is set up for automated code reviews on this repo. Configure here.