Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ui: context menus and the title-bar menus on the kit's menu surface (#1465)

Aperta
#1,732 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Stack tecnologico
dart, flutter

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

frontend P2 ui ux

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.
  • QueryaMenuBar for 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 ValueKey the tests use.
  • Guard: no ContextMenu, MenuButton, MenuDivider, MenuItem, Menubar, showContextMenuBuilder from shadcn in lib/.
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

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di QueryaHub/Querya-Desktop

Tutte le issue di QueryaHub/Querya-Desktop

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.