Commit Graph

19 Commits

Author SHA1 Message Date
9503962dd5 Allow for time adjustments with +/-
I much prefer this solution to the old one. Parsing times was a mistake.

I wonder if rustc realizes that I only ever pass 5 or -5 as arguments to
that function and then creates two `time::Duration`s for 5 and -5
minutes respectively to avoid the allocations on each keypress.

Also, I had to satisfy the OCD meme by rounding all adjusted times to %5.
It would be too annoying to change a number without being able to always
set it to a “nice” number.
2020-04-27 16:24:33 +02:00
a94d8b77ea Only allow toggling for todo items 2020-04-27 12:34:58 +02:00
0439c3a637 Allow yanking an entry with y 2020-04-23 14:07:51 +02:00
eacc10d625 go back to dd for deletions 2020-04-20 11:12:45 +02:00
129e890670
split into more modules 2020-04-19 20:11:28 +02:00
1204be40fb
clippy 2020-04-19 19:22:06 +02:00
84f13d1806
clean up time grouping 2020-04-19 19:04:27 +02:00
292aeb417f
use macro for current focus 2020-04-18 18:15:23 +02:00
b52311e840
make timesheet work 2020-04-13 23:56:25 +02:00
559413e4a9
Start refactoring ListViews into trait 2020-01-27 12:06:05 +01:00
61c385404b
Add WIP timesheet 2020-01-25 22:15:41 +01:00
e0d3bad477
First steps towards adding multiple panels 2020-01-25 18:05:35 +01:00
54c217741c
Slightly refactor json read/write 2020-01-25 12:22:36 +01:00
904a3dbe2d
refactor to OOP because I’m too lazy to pass around stuff 2020-01-25 12:11:19 +01:00
05ed013485 Don’t use Option as selected index 2020-01-24 11:40:16 +01:00
cc7b8beda9 Fix a few panics and add register 2020-01-24 11:07:37 +01:00
d2c142f65f
Add persistent storage via json 2020-01-24 08:11:07 +01:00
51cba3c68c
Wip: persistent storage of list entries 2020-01-24 00:02:32 +01:00
4fa4764cd4
Initial commit 2020-01-23 23:06:06 +01:00