feat: expand connected databases in a single explorer sidebar

This commit is contained in:
Valdemar Lorenzen
2026-10-19 13:37:30 +02:00
parent 11647e0a8a
commit de7d373cca
3 changed files with 159 additions and 66 deletions
+5 -3
View File
@@ -29,14 +29,16 @@ Use sslmode=disable only for trusted local connections.
The inspector needs 70×12 terminal cells; the PostgreSQL window needs 74×20.
Navigation:
Tab/Shift-Tab Cycle focus: databases, relations, rows (Esc returns to databases)
Up/Down, j/k Move selection (Enter connects to a database or opens a relation)
Tab/Shift-Tab Switch between explorer and rows/schema (Esc returns to explorer)
Up/Down, j/k Move selection; Enter connects/expands a database or opens a relation
Home/End, g/G First / last item
s Toggle rows and column schema
Left/Right Scroll columns (h/l also work)
Left/Right Collapse/expand in explorer; scroll columns in rows/schema (h/l too)
n/p, PgDn/Up Next / previous 100-row page
c Add a configured database in a floating window
r Refresh relations and the active relation
Connected databases show their tables and views beneath them in the explorer.
Enter on the connected database collapses/expands it without reconnecting.
q / Ctrl-C Quit
New database window: Up/Down chooses a provider; Enter starts editing.
Tab/Shift-Tab changes fields; Left/Right changes TLS when that field is focused.