Skip to content

fix(selection): make ticket.unregister() clear selection and tree state - #951

Merged
johnleider merged 1 commit into
masterfrom
fix/selection-layer-cleanup
Aug 30, 2026
Merged

fix(selection): make ticket.unregister() clear selection and tree state#951
johnleider merged 1 commit into
masterfrom
fix/selection-layer-cleanup

Conversation

@johnleider

Copy link
Copy Markdown
Member

ticket.unregister() skipped layer cleanup and left ghost ids in selectedIds, mixedIds, and nested maps. It now matches unregister(id).

Group/tree clear() and dispose() wipe mixed and open state. step() drains reindex before reading selectedIndex, so removing an earlier item no longer stalls next/prev. Progress onboard consumes pending apply() values. Mandatory tree unselectAll skips disabled tickets.

ticket.unregister() now runs the same selectedIds, mixedIds, and nested
map cleanup as unregister(id). Group/tree clear and dispose wipe mixed
and open state; step() drains reindex before reading selectedIndex;
Progress onboard consumes pending apply values.
@johnleider johnleider added this to the v1.2.x milestone Aug 30, 2026
@johnleider johnleider self-assigned this Aug 30, 2026
@johnleider
johnleider merged commit 8155332 into master Aug 30, 2026
21 of 22 checks passed
@johnleider
johnleider deleted the fix/selection-layer-cleanup branch August 30, 2026 21:19
@github-actions github-actions Bot mentioned this pull request Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant