Skip to content

feat(sidebar): keyboard shortcut to focus the table filter#412

Merged
debba merged 1 commit into
TabularisDB:mainfrom
Davydhh:feat/table-filter-shortcut
Jul 2, 2026
Merged

feat(sidebar): keyboard shortcut to focus the table filter#412
debba merged 1 commit into
TabularisDB:mainfrom
Davydhh:feat/table-filter-shortcut

Conversation

@Davydhh

@Davydhh Davydhh commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Today the only way to reach the sidebar's "Filter tables…" input is with the mouse. This adds a keyboard shortcut — ⌘⇧F / Ctrl+Shift+F — that focuses it.

Changes

  • New focus_table_filter shortcut in shortcuts.json (navigation, overridable) — so it shows up under Settings → Shortcuts and can be rebound.
  • Handled in useGlobalShortcuts: it dispatches a tabularis:focus-table-filter event and is whitelisted in the "ignore while typing" guard (like the Quick Navigator), so you can jump to the filter even from the SQL editor.
  • ExplorerSidebar focuses (and selects) the first visible "Filter tables…" input. That input is rendered three ways — flat (MySQL/SQLite), per-schema (Postgres), and per-database (multi-DB) — so it's targeted via a stable data-table-filter attribute rather than the translated placeholder.
  • i18n: settings.shortcuts.focusTableFilter added to all 8 locales.

New "focus_table_filter" navigation shortcut (⌘⇧F / Ctrl+Shift+F,
rebindable in Settings) dispatches a tabularis:focus-table-filter event;
ExplorerSidebar focuses the first visible "Filter tables…" input across
the flat, per-schema, and per-database layouts (via a data-table-filter
hook), and works even while another input is focused. i18n added for all
8 locales.
@debba debba merged commit feb3214 into TabularisDB:main Jul 2, 2026
1 of 2 checks passed
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.

2 participants