Jens Krause
6dc7eb81c2
fix(editable): auto jump to next possible editable while decreasing, but ignoring zero values ( #109 )
...
* extract `format_by_duration`
* fix(editable): switch to next ignoring zero values
2025-09-29 20:48:19 +02:00
Jens Krause
816741f842
improve format handling + fix days rendering ( #107 )
...
* render_(format) functions, compact `YyyDddHhMmSs`
* compact rendering of other formats
* add `YDHhMmSs`+`YDdHhMmSs` formats
* tests for `YDHhMmSs`+`YDdHhMmSs`
* `YyDHhMmSs` + `YyDdHhMmSs`
* `YyyDHhMmSs` + `YyyDdHhMmSs`
* fix `edit_up` to compare `years` properly
and add `test_edit_up_overflow_protection`
* fix rendering `Format::YyyDdHhMmSs`
2025-09-29 16:08:34 +02:00
jk
40eb602953
tests
2025-09-28 10:40:34 +02:00
Jens Krause
886deb3311
fix(notification): remove callbacks in favour of mpsc messaging ( #64 )
2025-02-05 13:35:24 +01:00
Jens Krause
8f50bc5fc6
AppEvent (#61 )
...
Extend `events` to provide a `mpsc` channel to send `AppEvent`'s from
anywhere in the app straight to the `App`.
2025-02-04 15:05:02 +01:00
Jens Krause
468b4a5abf
simplify style settings, improve naming ( #44 )
...
* simplify style settings by passing `style` directly to Widgets. No need to store it in `state` of widgets.
* remove unneeded things
* naming (state vs. widgets)
2025-01-07 19:02:57 +01:00
Jens K.
9bfe4e528b
extract clock elements ( #28 )
...
Few tests. Extract `Style` to `common`.
2024-12-28 12:32:27 +01:00
Jens K.
ca81094a36
fix edits ( #26 )
...
incl. editing `deciseconds` + more tests
2024-12-26 20:03:22 +01:00