Skip to content

feat(commands): Quick Switcher Ctrl/Cmd+K (CP-03, #747) - #751

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/747-quick-switcher
Sep 19, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/747-quick-switcher

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • showQuickSwitcher / QuickSwitcherDialog — filter, kind icon, arrows/Enter/Esc.
  • Source: in-memory QueryaSchemaObjectCache (tree loads merge; first open fetches once).
  • PG / MySQL / SQLite open the grid (same path as a tree leaf). Mongo collections + extension tables when the cache has them.
  • Shortcuts: Ctrl/Cmd+K (and Russian Л), Edit → Go to Object, # / @ in the Command Palette.
  • Large schemas filter off the UI isolate (compute above 250 rows).

Test plan

  • Connect PG, expand public or not, Ctrl/Cmd+K, type users, Enter → public.users grid
  • MySQL / SQLite: same for a known table
  • Esc closes without changing selection
  • Command Palette: type #users + Enter opens the switcher
  • Motion Off: dialog appears instantly
  • flutter test test/core/actions/querya_schema_object_cache_test.dart test/features/command_palette/quick_switcher_dialog_test.dart test/features/command_palette/command_palette_dialog_test.dart test/core/actions/querya_command_registry_test.dart --exclude-tags=golden

Closes #747

Jump to a cached table/view/collection without walking the tree.
Filter stays on the snapshot (isolate above 250 rows). Palette #/@
opens the same switcher. Closes #747.
@github-actions github-actions Bot added enhancement New feature or request ui User interface components and widgets connections Database connections, URI parsing, pools ux User experience, keyboard shortcuts and interactions labels Sep 19, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 50f0ea8 into dev Sep 19, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connections Database connections, URI parsing, pools enhancement New feature or request ui User interface components and widgets ux User experience, keyboard shortcuts and interactions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant