added plan
This commit is contained in:
parent
10f3de5030
commit
70031b4160
3 changed files with 51 additions and 4 deletions
50
README.md
50
README.md
|
@ -1,3 +1,53 @@
|
|||
# Lqs
|
||||
|
||||
TUI database client app.
|
||||
|
||||
## Idea
|
||||
|
||||
To have TUI client for DB viewer and editor. Should be possibilities to add many sources.
|
||||
Will start with mysql, later should be added more engines
|
||||
|
||||
|
||||
# Plan
|
||||
|
||||
### Milestone 1
|
||||
|
||||
- [ ] connect to DB hardcoded
|
||||
- [ ] query window
|
||||
- [ ] result window
|
||||
- [ ] navigate in result window
|
||||
- [ ] copy value in result window
|
||||
- [ ] edit value in result window
|
||||
|
||||
### Milestone 2
|
||||
|
||||
- [ ] result window as tabs
|
||||
- [ ] left/right navigation tabs in result window
|
||||
- [ ] sort in result window
|
||||
- [ ] filter in result window
|
||||
- [ ] next/prev chunk of data
|
||||
- [ ] change limit
|
||||
- [ ] insert new row in result window
|
||||
|
||||
### Milestone 3
|
||||
|
||||
- [ ] fzf switch result window tab
|
||||
- [ ] fzf open table to result tab
|
||||
- [ ] view table structure
|
||||
- [ ] show key, nullable in result window
|
||||
- [ ] edit table structure
|
||||
- [ ] drop table
|
||||
|
||||
### Milestone 4
|
||||
|
||||
- [ ] new DB connection
|
||||
- [ ] DB connection selector
|
||||
- [ ] preview result field in popup
|
||||
- [ ] format preview popup in json
|
||||
- [ ] format preview popup in serialized
|
||||
|
||||
### Milestone 5
|
||||
|
||||
- [ ] sqlite driver
|
||||
- [ ] postgresql driver
|
||||
- [ ] open csv file
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/gdamore/tcell/v2"
|
||||
)
|
||||
|
||||
func run() {
|
||||
fmt.Println("Prade...")
|
||||
|
||||
var screen tcell.Screen
|
||||
var err error
|
||||
if screen, err = tcell.NewScreen(); err != nil {
|
||||
|
|
Loading…
Reference in a new issue