|
tui: sort milestone groups by status rank so finished ones sink
Todo widget already sorted steps within a milestone by status, but the milestone groups themselves stayed in plan order — a done milestone sat mid-list while its steps were pushed down. Group milestones by their worst step status (in_progress < pending < failed/skipped/done) with a stable sort that preserves plan order within equal rank; the unnamed (legacy, no-milestone) group participates in the same ranking. |
|---|
|
|
| clients/terminal/tui/widgets/todo_list.py |
|---|
| tests/clients/test_todo_list.py |
|---|