Skip to content

fix: clear a stale commit selection after refresh - #91

Open
arumata wants to merge 1 commit into
the0807:mainfrom
arumata:fix/commit-panel-invalidated
Open

fix: clear a stale commit selection after refresh#91
arumata wants to merge 1 commit into
the0807:mainfrom
arumata:fix/commit-panel-invalidated

Conversation

@arumata

@arumata arumata commented Sep 3, 2026

Copy link
Copy Markdown

When the selected commit was invalidated by a rebase/amend/merge and the graph refreshed, the commit disappeared from the store but the selection stayed, so the bottom panel stayed open, empty, and without a close button. Stale selections (single and multi) are now pruned right after a log/full refresh.\n\nFixes #74.

When the selected commit is invalidated by a rebase/amend/merge and the
graph refreshes, the commit disappears from commitStore but the selection
was left pointing at it, so the bottom panel stayed open and empty with no
way to dismiss it. Prune stale selections (single and multi) right after a
log/full refresh so the panel closes cleanly (issue the0807#74).
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