Skip to content

fix(tui): address background strip rows in draw order - #698

Merged
mohitranka merged 1 commit into
mainfrom
fix/p2-completion-observation
Sep 15, 2026
Merged

mohitranka merged 1 commit into
mainfrom
fix/p2-completion-observation

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

P2 follow-up: i-attach, x-cancel, open, and approve/deny indexed tasks by raw id ascending while the strip draws state-ranked order, so the selected row acted on the wrong task whenever a failure/block outranked an earlier id. Adds shared tasks_strip::ordered_live filter-and-sort used by both the strip builder and selection; attach_selected_task doc notes TTL-retired rows clamp. Tests: new ordered_live unit test; tasks_strip suite 12 passed, fmt + clippy clean. The 3 failing app::tests::tasks sandbox tests fail identically on unmodified tree (pre-existing local sandbox denials).

attach/cancel/open/approve indexed by raw task id while the strip draws state-ranked order, so the selected row acted on the wrong task. Share one filter-and-sort (ordered_live) between the strip builder and selection.
@mohitranka
mohitranka merged commit 40c52d8 into main Sep 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant