Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#1,732 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
50/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
dart, flutter
Domínio
desktop-dev, frontend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
Dart
Estrelas
23
Forks
1
Merge médio
31min
PRs com merge (30d)
570

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de QueryaHub/Querya-Desktop

Todas as issues de QueryaHub/Querya-Desktop

Issues semelhantes

Mais issues de Dart

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.