Skip to content

refactor(ui): dropdown menus #488 - #496

Draft
Bohreromir wants to merge 5 commits into
refactor-370-popover-layeringfrom
refactor-488-dropdown-menus
Draft

Bohreromir wants to merge 5 commits into
refactor-370-popover-layeringfrom
refactor-488-dropdown-menus

Conversation

@Bohreromir

@Bohreromir Bohreromir commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Description

Warning

Needs #494 to be merged first

Docs

Release note

Checklist

Author

  • AI review done, findings addressed
  • Tests added or updated
  • Changelog updated (if the repo keeps one)

Reviewer

  • Useful comments and logging
  • Docs added or updated per the style guide

Acceptance

  • Check for release notes and docs

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
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 68.38% 9436 / 13799
🔵 Statements 67.35% 12677 / 18822
🔵 Functions 69.09% 3032 / 4388
🔵 Branches 58.55% 5344 / 9127
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/lib/components/DateTimePicker.svelte 92.13% 68.51% 97.95% 90% 76, 93, 95-96, 98, 100, 102-103, 137, 150-151, 153-154, 225
src/lib/components/storage/BucketSelect.svelte 80.59% 55.88% 84.21% 72.6% 26, 39-43, 52-74, 156-158, 170, 131
src/lib/components/storage/sidebar/BucketList.svelte 83.15% 66% 84.84% 77.77% 35-36, 64-73, 80-97, 110, 126, 136, 138, 204, 220, 221, 223
src/lib/components/storage/sidebar/StorageConnectionSidebar.svelte 61.73% 22% 57.81% 56.55% 53-68, 86-88, 97-102, 106-117, 122-134, 143, 148-155, 147, 161-160, 180-182, 269-281, 295, 305, 306, 326
src/lib/components/ui/DropdownMenu.svelte 98.9% 90.69% 94.73% 98.18% 124
src/routes/(app)/settings/connections/+page.svelte 0% 0% 0% 0% 17-170
Generated in workflow #1347 for commit d9da705 by the Vitest Coverage Report Action

@Bohreromir
Bohreromir changed the base branch from main to refactor-370-popover-layering November 24, 2026 08:44
@Bohreromir
Bohreromir added this pull request to stack #497 November 24, 2026 08:44
@Bohreromir Bohreromir changed the title Refactor dropdown menus #488 refactor(ui): dropdown menus #488 Nov 24, 2026
Like #494 does for the other storage controls: on touch devices the hover-only buttons stayed invisible. The E2E tests no longer need to force their clicks.
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.

Row level menus open in top left when opened by keyboard Button-triggered menus should be dropdowns instead of contextmenus

1 participant