JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-14 21:53:59 +07:00
c00500a4e1 WIP Refactoring methods: Move stuff from input to app
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-14 19:13:58 +07:00
71f12ec7f9 WIP Refactoring methods: Merge Project into State, add DBConn struct with impl
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-14 17:38:56 +07:00
4accf41c45 Fix colors and style, condense some logic. Fix task_idx when moving task
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-14 11:13:11 +07:00
d85bb5a77b Remove async dep
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-14 10:54:40 +07:00
c2e3f0e70a Save column/task selections in a few other options
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-13 23:00:40 +07:00
4e0195e132 Pedantic clippy
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-13 22:51:48 +07:00
7c2249ed08 Selected column and task now persist. Reworked the borrowing for task edit
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-13 16:33:45 +07:00
c030984d51 Extract funcs from input-check to reduce nesting and make pedantic clippy happy
c3255c97f5 Pedantic clippy pass
7fe20e6ae8 Run migrations on first creation, fix a bunch of panics
Compare 3 commits »
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-13 15:12:26 +07:00
6cbba10325 Ignore db path
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-13 15:11:45 +07:00
293113949b Simplified dbpath cli argument handling
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-13 14:48:06 +07:00
d7eb3fb47a Save new sort order when moving tasks to different columns
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-13 12:46:09 +07:00
403572723c Formatting
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-13 12:42:22 +07:00
00ac0c351d Update and move task order up/down, read ids, more column helper methods
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-12 22:26:22 +07:00
4477bac258 Add/delete tasks, read task id from db
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-12 21:36:09 +07:00
076c87c792 WIP: Switch to rusqlite
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-10 21:49:12 +07:00
8393ed610f Read tasks from db on startup
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-10 13:49:01 +07:00
535f332a81 WIP: Fetch all tasks
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-10 11:12:33 +07:00
a8e3a44816 Install sqlx, basic select
5d3e69d679 rustfmt
Compare 2 commits »
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-10 10:11:51 +07:00
e3ce612ca3 Use a macro to concat the keybindings at compile time
JosephFerano pushed to master at JosephFerano/kanban-tui 2023-06-09 15:49:57 +07:00
09177ddbae Simplify keybindings and description. Add g and G movements. Remove -d flag