ui: context menus and the title-bar menus on the kit's menu surface (#1465)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 50/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- desktop-dev, frontend
Direzione di ricerca
Start with querya_menu_surface.dart and compare the existing MenuAnchor surface with the four listed areas: features/connections, querya_window_title_bar.dart, erd_table_menu.dart, erd_group_menu.dart, and grid_cell_actions.dart. Then inspect the existing menu tests and their ValueKeys. Done means all listed menus use the kit, the shadcn guard passes, and the required keyboard and widget-test acceptance criteria are met.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of #1465 (step 4a).
Problem
Right-click menus and the window menu bar are shadcn widgets while every other menu (dropdowns, split and menu buttons) is the kit's MenuAnchor surface (querya_menu_surface.dart, queryaMenuItems). Uses on dev (2026-10-18): MenuButton 114, ContextMenu 15, MenuDivider 15, MenuItem 13, showContextMenuBuilder 1, Menubar 1.
Where:
- connection tree context menus (
features/connections, ~45 entries: Postgres / MySQL / SQLite / Mongo / Redis / extension trees, folders, sidebar) - window title bar menus File / Edit / View / Connection / Help (
querya_window_title_bar.dart,Menubar+ 30 entries) - ERD card and group menus (
erd_table_menu.dart,erd_group_menu.dart, ~24) - result grid cell menu (
grid_cell_actions.dart,showContextMenuBuilder, ~15)
The two menu styles look and behave differently (padding, hover, keyboard, submenu arrow), so the same app has two kinds of menus.
Change
QueryaContextMenu(wraps a child, opens on secondary tap / long press / context-menu key at the pointer) and a menu entry model with submenu, divider, shortcut hint and disabled state, all on the kit's menu surface.QueryaMenuBarfor the title bar on the same surface (keyboard: Alt / F10 opens, arrows move between menus).- Migrate the four areas above, one PR each if it gets big; keep every
ValueKeythe tests use. - Guard: no
ContextMenu,MenuButton,MenuDivider,MenuItem,Menubar,showContextMenuBuilderfrom shadcn inlib/.
Acceptance
- All context menus and the menu bar use the kit; the guard passes.
- Keyboard: menus open with the context-menu key / Shift+F10, arrows and Esc work, submenus open with Right.
- Widget tests for open / select / submenu / Esc; existing menu tests pass with their keys.
- Lingua principale
- Dart
- Stelle
- 23
- Fork
- 1
- Merge medio
- 31m
- PR unite (30g)
- 570
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di QueryaHub/Querya-Desktop
-
enhancement ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
QueryaHub/Querya-Desktop#1689 ·
I maintainer di solito rispondono entro 1 giorno
-
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflowApertabug frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
QueryaHub/Querya-Desktop#1642 ·
I maintainer di solito rispondono entro 1 giorno
-
bug error-handling settings
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
QueryaHub/Querya-Desktop#1637 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
QueryaHub/Querya-Desktop#1636 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement marketplace
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
QueryaHub/Querya-Desktop#1635 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di QueryaHub/Querya-Desktop
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
atsign-foundation/at_server#2896 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
lugassawan/swe-workbench#823 ·
I maintainer di solito rispondono entro 1 giorno
-
auto-implement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bannzai/kashakeibo#142 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Images copied with `adb push` don't show in the wallpaper picker ("No images found on device")Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
meddouribadis/arclauncher#53 ·
I maintainer di solito rispondono entro 1 giorno
-
p: material_ui package team-design
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
flutter/flutter#195096 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno