26 Commits

Author SHA1 Message Date
71f12ec7f9 WIP Refactoring methods: Merge Project into State, add DBConn struct with impl 2023-06-14 19:13:24 +07:00
4accf41c45 Fix colors and style, condense some logic. Fix task_idx when moving task 2023-06-14 17:38:23 +07:00
5d3e69d679 rustfmt 2023-06-10 11:12:17 +07:00
e3ce612ca3 Use a macro to concat the keybindings at compile time 2023-06-10 10:11:33 +07:00
09177ddbae Simplify keybindings and description. Add g and G movements. Remove -d flag 2023-06-09 15:49:52 +07:00
c6343a4805 Run and fix pedantic clippy and 2018 idioms 2023-06-09 13:26:29 +07:00
b2bf10f260 Scroll columns with a lot of tasks 2023-06-08 10:31:54 +07:00
e7564f8f82 Take DB path from cli arg, marker emoji for currently selected task 2023-06-07 13:26:39 +07:00
78cb7fe84a You can now edit an existing task 2023-06-06 21:59:18 +07:00
da10719250 Fix task edit border and rename some symbols 2023-06-06 21:03:19 +07:00
fc237b9f29 Remove task with D, move methods to column struct, select next/previous 2023-06-06 12:49:34 +07:00
be4fc3566d Buttons to create or cancel the task entry 2023-06-06 11:17:13 +07:00
61feafaf7e Highlight which text area is currently selected 2023-06-05 11:44:59 +07:00
ef90532d12 WIP: TextArea form to add a new TODO item, switch to ratatui 2023-06-05 11:24:18 +07:00
167f506291 NewTask state to manage adding a new task 2023-06-04 14:51:47 +07:00
c999764a28 WIP: Refactor data types 2022-12-09 04:25:50 +04:00
9b4341ccf1 Formatting 2022-12-07 04:41:25 +04:00
2e2145b2ab Show new popup screen for adding a task. Basic state added 2022-12-06 00:21:01 +04:00
52097aed09 Save changes when moving tasks 2022-12-05 15:50:31 +04:00
ae99fa193c Added task shifting up and down and left and right.
Francesco added some stuff as well.
2022-12-05 02:37:18 +04:00
c38fa823c9 Change columns up. Refactor input and state change code. 2022-12-05 00:32:48 +04:00
77f9c95cf1 Wrap description 2022-12-04 04:33:17 +04:00
6472bbb1bc Render selected task with bounds checking 2022-12-04 04:29:36 +04:00
07299d481d Show task description for selected column 2022-12-04 03:44:42 +04:00
436c9ed3cf Rendering tasks to their individual columns 2022-12-04 02:47:37 +04:00
d2850a3423 Setup everything. Rendering tasks on the done column from a json file 2022-12-03 00:59:24 +04:00