Repository navigation
refactor(ui): dropdown menus #488 - #496
Closed
Bohreromir wants to merge 5 commits into
Closed
Bohreromir wants to merge 5 commits into
Bohreromir wants to merge 5 commits into
Conversation
Bohreromir
changed the base branch from
main
to
refactor-370-popover-layering
November 24, 2026 08:44
1 of 6 tasks
This was
linked to
issues
Nov 24, 2026
ui/ components may only import from ui/, and the upcoming DropdownMenu needs the anchor positioning fallback.
A menu button whose menu opens as a popover anchored below it, for menus opened by a button rather than a right-click. It follows the menu button keyboard pattern and flips where there is no room.
The pinned location's "⋯" opened a context menu with a single Unpin action. A direct button saves the extra step and names the location. Focus moves on to the next unpin button, as the clicked one disappears with its row. Part of #488
The "⋯" buttons in the saved connections sidebar and on the connections settings page opened a context menu at the pointer, which put it in the top-left corner when the button was activated with the keyboard. They now open a DropdownMenu anchored to the button. Right-click on a connection still opens the context menu. The sidebar buttons are now named after their connection, as on the settings page. Fixes #488
Bohreromir
force-pushed
the
refactor-488-dropdown-menus
branch
from
November 25, 2026 12:19
d9da705 to
914c817
Compare
Both menus rendered the same item list. MenuItems now holds it together with the menu keyboard pattern, so right-click menus also move with the arrow keys and Home/End and close on Tab.
Bohreromir
force-pushed
the
refactor-488-dropdown-menus
branch
from
November 25, 2026 14:17
914c817 to
8df3dab
Compare
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.
Description
New ui/DropdownMenu.
Reworks button triggered menus to be drop downs instead of context menus (which are triggered by a right click) and solves a positioning issue.
Changes the single item unpin menu to be a direct unpin button.
closes #488
closes #495
Warning
Merge together with #499
Docs
Release note
Checklist
Author
Reviewer
Acceptance