Commit Graph

26 Commits (main)

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
3 years ago
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 acaec96204
v0.1.0-alpha.5 (#112) 3 years ago
Takayuki Maeda 6c1e41ebdb
v0.1.0-alpha.4 (#102) 3 years ago
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
3 years ago
Takayuki Maeda e82d78ea00
v0.1.0-alpha.3 release (#75)
* create FUNDING.yml

* v0.1.0-alpha.3
3 years ago
Takayuki Maeda 55fec4cc35
v0.1.0-alpha.2 release (#65) 3 years ago
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
3 years ago
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
3 years ago
Takayuki Maeda bba5883c5f create sqlite module 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 40f5c69a13
Pass config file path as a command line argument (#45)
* pass config file as an argument

* update keymap
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 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 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 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 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 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 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 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 1288cc9447 replace goban with gobang 3 years ago
Takayuki Maeda c79c358be4 create ci.yml 3 years ago