Commit Graph

26 Commits

Author SHA1 Message Date
Takayuki Maeda
36b1da0afa
Create PropertiesComponent and redesign layout (#128)
* create properties component

* refactor app.rs

* add a test for checking if gobang has overlappted keys

* add keys for switching tabs to properties

* fix tab

* add serialize

* update record_table

* add properties group

* use serialize only in tests

* remove alias

* remove query field
2021-10-09 16:03:52 +09:00
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
2021-10-08 01:30:13 +09:00
Takayuki Maeda
acaec96204
v0.1.0-alpha.5 (#112) 2021-09-15 20:14:32 +09:00
Takayuki Maeda
6c1e41ebdb
v0.1.0-alpha.4 (#102) 2021-09-14 23:18:36 +09:00
Takayuki Maeda
ef8194b449
Fix SQL syntax error in PostgreSQL get_record (#101)
* fix SQL syntax error

* v0.1.0-alpha.4

* revert database-tree version
2021-09-14 22:55:16 +09:00
Takayuki Maeda
e82d78ea00
v0.1.0-alpha.3 release (#75)
* create FUNDING.yml

* v0.1.0-alpha.3
2021-09-08 10:29:43 +09:00
Takayuki Maeda
55fec4cc35
v0.1.0-alpha.2 release (#65) 2021-09-07 19:51:49 +09:00
Takayuki Maeda
1437f71717
Bump up dependency versions (#62)
* bump up dependency versions

* fix ci.yml

* turn off incremental compilation

* bump up sqlx version

* fix rust

* remove unused features

* add profile

* optimize proc macro

* default features false in database-tree

* remove sqlx from database-tree

* remove --release

* fix

* bump up opt-level 2

* 1

* sqlx 3

* remove profile

* remove windows gnu

* remove windows-gnu

* cache dependencies

* remove windows gnu

* fix typo
2021-09-07 19:10:27 +09:00
Takayuki Maeda
be9a1c87ec
Some minor modifications (#60)
* remove unused dependencies

* add table indexes to help

* fix description

* fix placeholder

* reset selection

* fix structopt description

* add usage section

* add the way to add connections

* remove a space
2021-09-07 00:41:44 +09:00
Takayuki Maeda
bba5883c5f create sqlite module 2021-08-29 12:18:31 +09:00
Takayuki Maeda
b4a1cc792d
Publish database-tree (#49)
* publish database-tree

* use v0.1.0-alpha.1

* always run cargo publish
2021-08-28 18:30:32 +09:00
Takayuki Maeda
95d6e8b2b4
v0.1.0-alpha.1 (#48) 2021-08-28 17:52:11 +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
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
2021-08-08 23:25:22 +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
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
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
2021-07-09 17:46:18 +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
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
8ca65cafa4
Implement structure tab (#9)
* implement structure tab

* fix border colors

* remove margin
2021-07-04 18:36:47 +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
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
2021-06-23 04:22:11 +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
1288cc9447 replace goban with gobang 2021-06-12 14:18:24 +09:00
Takayuki Maeda
c79c358be4 create ci.yml 2021-06-12 13:47:52 +09:00