add abandoned status to distinguish given-up habits from completed ones
Completed and abandoned habits were both lumped under a single terminal state, making it impossible to tell "finished successfully" apart from "gave up" when reviewing habit history.
This commit is contained in:
@@ -56,6 +56,7 @@ class HabitOut(BaseModel):
|
||||
reminder_time: time | None
|
||||
created_at: datetime
|
||||
completed_at: datetime | None
|
||||
abandoned_at: datetime | None
|
||||
|
||||
|
||||
class HabitReorderRequest(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user