fix(sheet): make "Mark done" mark it done
The button advanced one step round the untouched → doing → done cycle, so pressing "Mark done" on a fresh event produced "doing it" and needed a second press. Worse, the press after "done" cleared the status outright rather than undoing anything. Three states need three targets — that is the control directly above it. This one is the commit, so it sets done and back. cycleStatus had no other caller and is gone. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
edc6f3e4bb
commit
2a7a117705
@@ -87,6 +87,10 @@ completion the user already has.
|
||||
Three states, not two: untouched, doing it, done. Plus an optional effort estimate — quick, short,
|
||||
long, grind — and a free-text note.
|
||||
|
||||
Three states need three targets. A single control cycling untouched → doing → done makes a button
|
||||
labelled "Mark done" produce "doing it", which is the control lying about itself; the detail sheet
|
||||
has an explicit control per state, and its primary action goes straight to done and back.
|
||||
|
||||
Effort is not decoration. Combined with the time remaining it answers the question the calendar
|
||||
can't: *can I still finish this?* The same two days is comfortable for a quick event and hopeless
|
||||
for a grind, so an event carrying an effort estimate gets a "tight" or "running out of time" flag
|
||||
|
||||
Reference in New Issue
Block a user