fix: cancelled threads show distinct "cancelled" status #525
Reference in New Issue
Block a user
Delete Branch "fix/522-cancelled-thread-status"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Cancelled threads now show
status: "cancelled"instead of"completed".Why
uwf thread cancelmoved threads to history but they appeared as completed. No way to distinguish cancelled from completed threads. Fixes #522.Changes
store.ts—ThreadHistoryLinegainsreasonfieldcommands/thread.ts—ThreadStatusadds"cancelled",cmdThreadCancelwritesreason: "cancelled",collectCompletedThreadsreads itcli.ts—"cancelled"added to valid status filter valuesthread-cancel-status.test.tswith 4 testsreasonfieldRef
Fixes #522
✅