Commit Graph

9 Commits (main)

Author SHA1 Message Date
Takayuki Maeda 4bcd4802fc
Add SQL Editor component (#84)
* syntax text

* add sql editor

* remove sytaxx_text module

* remove sytax_text

* add a focus above key

* add a event for movining focus and table component

* add syntax text component

* add a key for executing queries

* add completion

* add reserved words

* update completion when key is delete or left/right

* use reserved words in where clause

* editor

* add a macro for debugging

* stop inserting a new line in the sentence

* remove run key

* enter to execute a query

* fix tests for stateful paragraph

* change const to let
3 years ago
Takayuki Maeda 7a202aa8b9
Expand tilde and environment variables in path field (#120)
* expand tlide in path field

* join path

* implement `expand_path`

* fix compile error on Windows

* fix typo

* use HOMEPATH

* fix home dir

* use HOME env
3 years ago
Takayuki Maeda 6bc3afef12 move table_status under table 3 years ago
Takayuki Maeda ce312c435a get index_name 3 years ago
Takayuki Maeda 06039f1397 add a connection for SQLite 3 years ago
Takayuki Maeda 40f5c69a13
Pass config file path as a command line argument (#45)
* pass config file as an argument

* update keymap
3 years ago
Takayuki Maeda 5da6b1b796
Support PostgreSQL (#35)
* move utils into database module

* draw help in connections view

* support postgres

* add table_schema field

* implement Pool for Postgres

* fix database tree for postgres

* add tests for selection_top, bottom

* fix clippy warnings

* remove unused function

* get schema

* fix clippy warnings

* show user defined types

* fix cell with when selecting far right cell

* split tests into tree functions

* convert TEXT[] to Vec<String>

* add prefix

* remove column pattern matching
3 years ago
Takayuki Maeda 4472b63754
Implement table infinite scrolling (#22)
* implement infinite scrolling

* add windows as runs-on OS
3 years ago
Takayuki Maeda 82b47a1c78
Architecture (#1)
* layout

* architecture

* implement side-scrolling

* implement util functions

* use user config

* use config conn

* remove cache

* fix user config

* add useful functions

* remov mut

* cargo clippy --fix

* cargo fmt

* implement some handlers

* add gif

* chang gif
3 years ago