Commit Graph

46 Commits (c56f1836ed9dc6e05f45f3da46e3a676444b359e)
 

Author SHA1 Message Date
Takayuki Maeda c56f1836ed sleep 2 3 years ago
Takayuki Maeda 413b422ab7
add README to database-tree (#50) 3 years ago
Takayuki Maeda b4a1cc792d
Publish database-tree (#49)
* publish database-tree

* use v0.1.0-alpha.1

* always run cargo publish
3 years ago
Takayuki Maeda 95d6e8b2b4
v0.1.0-alpha.1 (#48) 3 years ago
Takayuki Maeda 24c9b27a43
Add Configuration section to README (#47)
* add configuration section to README

* fix README

* update gobang.gif

* remove name field
3 years ago
Takayuki Maeda ae639a3da2
get indexes (#46) 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 1d7d6b48dc
get foreign keys (#44) 3 years ago
Takayuki Maeda 2a0abf65cb
Add constraints tab (#41)
* get constraints

* replace / with .

* add constraint tab

* return TableRow

* remove comment column

* fix clippy warnings
3 years ago
Takayuki Maeda 99961aea72
remove column type pattern matching (#40) 3 years ago
Takayuki Maeda f3e2436a1e
Scrolling multiple lines in databases and connections (#37)
* scrolling multiple line in databases and connections

* multiple lines scrolling in databases
3 years ago
Takayuki Maeda d493f46875
Use command for clipboard instead of copypasta (#36)
* use copy command instead of copypasta

* remove a step for installing dependencies

* rename copy_string to copy_to_clipboard
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 8f26ffed09
Highlight filter keywords (#34)
* highlight filter keywords

* remove src from gitignore

* move tree_nav

* remove unneeded line

* refactor databases component

* fix variable names

* update gobang.gif

* add scroll_up_down_multiple_lines command help

* add tests for tree_item_to_span
3 years ago
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
3 years ago
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
3 years ago
Takayuki Maeda c768ffd461
Refactor Table component (#31)
* fix table component field names

* refactor function name

* add a test for is_number_column

* fix variable names

* make some fields private
3 years ago
Takayuki Maeda 7e8291be22
Select multiple cells (#30)
* select multiple cells

* define `expand_selected_area_x`, `expand_selected_area_y`

* make some table component fields private

* fix keymap

* fix a cell selection bug in page 2 and after

* add tests for `is_selected_cell` and `selected_cells`

* select cells while scrolling right

* calculate the number of cells considering cell spacing

* add tests for expand_selected_area

* add comments

* implement `reset`

* fix clippy warnings
3 years ago
Takayuki Maeda da06d0b557
Make table cells responsive (#23)
* make table cells responsive

* add workspace flag

* fix compile error

* scrolling responsive cells

* horizontal scrolling without numbers

* fix limit

* add row number

* implement TEXT type

* remove unused functions

* add keymap and update gobang.gif

* add a test for `calculate_widths`

* remove a debug line
3 years ago
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
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 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
3 years ago
Takayuki Maeda a9f918b53d
add error component (#19) 3 years ago
Takayuki Maeda 91d0409560
Fix CI error (#18)
* fix ci error

* install dependencies

* remove linux feature

* remove cfg os

* default feature false

* fix dependencies

* install dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* add sudo

* fix dependencies

* remove unneeded dependencies
3 years ago
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
3 years ago
Takayuki Maeda 0be60b5039 update README 3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Takayuki Maeda 8ca65cafa4
Implement structure tab (#9)
* implement structure tab

* fix border colors

* remove margin
3 years ago
Takayuki Maeda b8c36b5f94
implement query widget (#8) 3 years ago
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
3 years ago
Takayuki Maeda 63e96b6aed add license to Cargo.toml 3 years ago
Takayuki Maeda cbb519e035 update Cargo.toml 3 years ago
Takayuki Maeda 9cad1181bc fix release workflow 3 years ago
Takayuki Maeda 2cdf867d50 Merge branch 'main' of github.com:TaKO8Ki/gobang 3 years ago
Takayuki Maeda f26974ae0d
Release workflow (#2)
* layout

* architecture

* implement util functions

* use config conn

* remove cache

* fix user config

* cargo clippy --fix

* 0.1.0-alpha.0 release
3 years ago
Takayuki Maeda 1daec68bb2 Merge branch 'main' of github.com:TaKO8Ki/gobang 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
Takayuki Maeda 8b4dee7b5a Merge branch 'main' of github.com:TaKO8Ki/goban 3 years ago
Takayuki Maeda fcde523f0b
Update README.md 3 years ago
Takayuki Maeda a101eeb702 layout 3 years ago
Takayuki Maeda 1288cc9447 replace goban with gobang 3 years ago
Takayuki Maeda c79c358be4 create ci.yml 3 years ago
Takayuki Maeda 4c9bc96b41
Create README.md 3 years ago
Takayuki Maeda 087d2f4153 first commit 3 years ago