18 Commits

Author SHA1 Message Date
9a779b1abb Bug: sort_order column was set to 0 when creating a task. Thank you tests 2023-06-17 16:16:22 +07:00
514c600bb1 Integration tests covering 6 main scenarios
Covers
- Add
- Select
- Select Top/Bottom
- Move
- Edit
- Delete
2023-06-17 12:35:17 +07:00
41778accdc Random clean up 2023-06-15 19:21:01 +07:00
f951e500f1 Bubble up all db errors. Implement Deref and DerefMut for DBConn 2023-06-15 16:32:23 +07:00
a3e3fa6551 WIP Refactoring methods: Got it to compile and it mostly works 2023-06-14 22:33:19 +07:00
c00500a4e1 WIP Refactoring methods: Move stuff from input to app 2023-06-14 21:53:38 +07:00
71f12ec7f9 WIP Refactoring methods: Merge Project into State, add DBConn struct with impl 2023-06-14 19:13:24 +07:00
4e0195e132 Pedantic clippy 2023-06-13 23:00:28 +07:00
7c2249ed08 Selected column and task now persist. Reworked the borrowing for task edit 2023-06-13 22:51:04 +07:00
c3255c97f5 Pedantic clippy pass 2023-06-13 15:59:24 +07:00
7fe20e6ae8 Run migrations on first creation, fix a bunch of panics 2023-06-13 15:50:16 +07:00
d7eb3fb47a Save new sort order when moving tasks to different columns 2023-06-13 14:47:34 +07:00
403572723c Formatting 2023-06-13 12:45:57 +07:00
00ac0c351d Update and move task order up/down, read ids, more column helper methods 2023-06-13 12:41:37 +07:00
4477bac258 Add/delete tasks, read task id from db 2023-06-12 22:25:58 +07:00
076c87c792 WIP: Switch to rusqlite 2023-06-12 21:36:00 +07:00
8393ed610f Read tasks from db on startup 2023-06-10 21:48:57 +07:00
535f332a81 WIP: Fetch all tasks 2023-06-10 13:48:20 +07:00