Commit Graph

16 Commits

Author SHA1 Message Date
Takayuki Maeda
919d0753f0 create version module 2021-09-06 22:34:23 +09:00
Takayuki Maeda
78ba8459ad implement a log macro 2021-09-06 16:10:06 +09:00
Takayuki Maeda
bba5883c5f create sqlite module 2021-08-29 12:18:31 +09:00
Takayuki Maeda
40f5c69a13
Pass config file path as a command line argument (#45)
* pass config file as an argument

* update keymap
2021-08-28 15:42:44 +09:00
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
2021-08-08 20:57:40 +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
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
a9f918b53d
add error component (#19) 2021-07-09 19:32:55 +09:00
Takayuki Maeda
0ebb39f3cd
Implement TableValue component (#17)
* use table value component

* add todo

* add linux target_os

* add default features for copypasta

* fix clippy warnings

* update gobang.gif
2021-07-09 15:51:08 +09:00
Takayuki Maeda
2f1edc8384
Select one specific Cell (#14)
* select a cell

* add tests for headers and rows

* fix redundant codes

* update README

* update gobang.gif
2021-07-09 01:42:41 +09:00
Takayuki Maeda
f221e817a3
Refactor components (#12)
* add logger

* add shift key

* implement record table reset function

* fix style

* ignore gobang.log

* use table component

* remove doc

* pass focused as an argument

* remove unused enums

* create table component

* use databases component

* use query component

* remove unused fields

* use query component

* use connections component

* remove unused struct

* use tab component

* use table status component

* remove unneeded return type

* update gobang.gif
2021-07-08 23:08:04 +09:00
Takayuki Maeda
acac235c6e
Implement DatabaseTree (#10)
* remove unused functions

* remove unused functions

* use databasetree

* update gobang.gif

* refactor

* remove unused dependencies

* fix header's and row's default style
2021-07-07 16:15:18 +09:00
Takayuki Maeda
b8c36b5f94
implement query widget (#8) 2021-07-02 13:09:03 +09:00
Takayuki Maeda
4b26b71a38
Refactor handlers (#3)
* fix workflows

* remove a unused function

* initialize record table state every time specifying table

* add a crates.io badge

* close pool if exists

* remove unneeded lines

* change gobang.gif

* fix layout

* update gobang.gif

* refactor `utils::get_records`

* refactor handlers

* change gobang.gif

* fix clippy warnings
2021-06-26 01:44:54 +09:00
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
2021-06-23 03:40:27 +09:00
Takayuki Maeda
087d2f4153 first commit 2021-06-12 13:43:25 +09:00