feat: move provider beside bottom cursor position

This commit is contained in:
Valdemar Lorenzen
2026-10-19 16:19:29 +02:00
parent 2ea3d53c2e
commit fccdfff2cd
3 changed files with 39 additions and 6 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
- [x] adopt vamp-style top and bottom bars with a fixed layout, not vamp's configurable segment/tab system.
- [x] render full-width bars in the outer shell (`src/connection.rs`) before splitting explorer/content; remove the old content-only header (`src/app.rs`, see above).
- [x] top: `dbdash` badge with vamp-style `▓░` trailing edge; retain provider and READ ONLY information without tab numbering.
- [x] bottom-left: current mode badge with `▓░` trailing edge, followed by the connected database name; bottom-right: focused input's one-based `line:column` with `░▓` leading edge.
- [x] top: `dbdash` badge with vamp-style `▓░` trailing edge; retain READ ONLY information without tab numbering.
- [x] bottom-left: current mode badge with `▓░` trailing edge, followed by the connected database name; bottom-right: database provider followed by the focused input's one-based `line:column` (or N/A) with `░▓` leading edge.
- [x] capture a safe database display name on successful saved-profile and CLI connections, including SQLite; use the connected database, not explorer selection or `Database::name()` (which returns the provider). Never expose raw connection strings/passwords; show a clear disconnected state and retain the previous identity after a failed switch.
- [x] add Normal/Insert query editing with mode-aware key routing; define entry/navigation keys and make Esc leave Insert before returning to the explorer. Preserve query execution, multiline editing, paste, and focus cycling.
- [x] keep connection/password forms direct-entry for now; make the mode indicator reflect the focused surface rather than a stale query mode.
@@ -20,5 +20,5 @@
- [x] remove the path from the database entry in the sidebar (can be viewed in the info panel)
- [x] info panel should also pop up when pressing `i` on a child entry of that database entry in the sidebar (instead of only when the parent/database connection is hovered)
- [x] `line:col` indicator in the bottom-right status bar should never disappear but instead display "N/A" in that case.
- [ ] database type indicator should be moved down just left of the "line:col" indicator like in the attached image
- [x] database type indicator should be moved down just left of the "line:col" indicator like in the attached image
- [ ] introduce vim navigation inside the query input field.