Skip to content

Keybindings refactor#2

Merged
Maxteabag merged 9 commits into
mainfrom
keybindings-refactor
Dec 15, 2025
Merged

Keybindings refactor#2
Maxteabag merged 9 commits into
mainfrom
keybindings-refactor

Conversation

@Maxteabag

Copy link
Copy Markdown
Owner

No description provided.

- Add TursoAdapter using libsql_client library
- Support libsql:// and https:// URL schemes
- Add Turso to DatabaseType enum and schema definitions
- Add Turso badge to tree view
- Add integration tests for Turso
- Add libsql-server container to docker-compose for testing
- Use adapter.execute_query/execute_non_query instead of direct cursor access
- Add has_cursor check in commands.py for streaming CSV/JSON output
- Fixes "'ClientSync' object has no attribute 'cursor'" error with Turso
- Add SSH server container (linuxserver/openssh-server) with TCP forwarding
- Add postgres-ssh container as tunnel target
- Add SSH connection fixtures and test helpers
- Add SSH tunnel integration tests
- Configure MaxStartups for high connection throughput in tests
- Add test_cancellable_query_select for TUI async SELECT path
- Add test_cancellable_query_insert for TUI async INSERT path
- Add test_streaming_csv_output for CLI streaming path
- Add test_streaming_json_output for CLI streaming path
- Add test_adapter_interface_compliance to verify adapter methods
- Add test_query_service_execution for QueryService path
- These tests ensure all code paths are covered across all adapters
Keybindings:
- Refactor to use centralized keybinding definitions
- Add leader key menu for discoverable shortcuts
- Add connection picker with fuzzy search

UX improvements:
- Add query execution timing to notifications (e.g. "in 156ms")
- Add JSON/Python literal pretty-printing in value view
- Add zebra striping to results table
- Improve validation feedback in connection forms

Testing:
- Add validation unit tests
- Add UI tests for explorer toggle and fullscreen
- Add keybindings tests
- Add connection picker tests
- Document Turso database support
- Update uv.lock with new dependencies
- Add test-unit job for validation and UI tests
- Add test-turso job for Turso integration tests
@Maxteabag Maxteabag merged commit baa6351 into main Dec 15, 2025
18 checks passed
@Maxteabag Maxteabag deleted the keybindings-refactor branch December 15, 2025 06:42
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.

1 participant