Commit Graph

6 Commits

Author SHA1 Message Date
Takayuki Maeda
78d1297452
Refactor filter components (#114)
* prevent cursor from sticking out of paragraph

* define StatefulDrawableComponent

* use database filter component

* fix event order
2021-09-17 15:16:31 +09:00
Takayuki Maeda
07b2b5090f
Add key config (#33)
* implement key config

* use key config in help component

* use key config in databases component

* use key config in error component

* use key config in connections component

* set commands

* use database/table as a table component name

* fix a test for get_text

* use key config in tab component

* fix function name

* add focus_connections key

* use quit exit key
2021-08-01 01:03:39 +09:00
Takayuki Maeda
3c00d78326
Implement Help component (#32)
* implement help compoment

* fix database filter

* add column types

* fix clippy warnings

* help scrolling

* panic if type is not implemented yet

* not panic but return error

* add decimal

* add a test for get_text

* fix clippy warnings
2021-07-29 19:47:36 +09:00
Takayuki Maeda
98ca815c68
Filter records (#24)
* filter records

* refactor components event

* fix scrollbar style

* remove unneeded doc

* fix event order and table filter cursor

* fix and enhance databases filter
2021-07-19 00:50:39 +09:00
Takayuki Maeda
4486fc707d
Filter tables (#20)
* filter databases

* implement utils

* remove filter when input is empty

* remove focus shortcut

* add tests for databasetree

* fix clippy warnings

* fix placeholder
2021-07-11 01:10:46 +09:00
Takayuki Maeda
a9f918b53d
add error component (#19) 2021-07-09 19:32:55 +09:00