1. Description
When a commit's detail panel is open and the underlying Git history changes in a way that invalidates the currently selected commit (e.g. it gets merged, rebased/moved, or renamed via amend), the panel does not close or refresh. Instead, it stays open showing a completely empty panel, and the close icon also disappears, making it impossible to close the panel manually.
This happens whether the user stays on the Git Graph+ page or navigates away and back.
2. Steps to Reproduce
- Open Git Graph+
- Click on a commit in the graph to open its detail panel
- Without closing the panel, perform a Git operation that changes the commit's identity/position in the history (e.g. merge the branch containing that commit, rebase it, or amend it)
- Refresh the graph (or navigate to another view and back to Git Graph+)
3. Expected Behavior
When the previously selected commit no longer exists / is no longer resolvable in the updated graph, the detail panel should either close automatically or show a clear "commit not found" state, but in both cases the close icon should remain available, so the user can dismiss it.
4. Actual Behavior
- The commit is correctly deselected in the graph itself.
- The detail panel remains open but renders completely empty.
- The close (×) icon is also missing from the panel.
- As a result, there is no way to close the panel — it stays stuck open indefinitely, even after switching pages and coming back.
5. Screenshots or Logs
Sample of empty panel after a disappeared commit:
6. Environment
- OS: Ubuntu 26.04 + Dev-Container
- VS Code version: 1.130.0
- Git Graph+ version: 0.7.3
- Git version: 2.55.0
- Node.js version: 26.5.0
7. Additional Context
- Reproduced by merging/rebasing/renaming (amend) a commit whose detail panel was open.
- The only current workaround is to select another existing commit, then close the panel.
1. Description
When a commit's detail panel is open and the underlying Git history changes in a way that invalidates the currently selected commit (e.g. it gets merged, rebased/moved, or renamed via amend), the panel does not close or refresh. Instead, it stays open showing a completely empty panel, and the close icon also disappears, making it impossible to close the panel manually.
This happens whether the user stays on the Git Graph+ page or navigates away and back.
2. Steps to Reproduce
3. Expected Behavior
When the previously selected commit no longer exists / is no longer resolvable in the updated graph, the detail panel should either close automatically or show a clear "commit not found" state, but in both cases the close icon should remain available, so the user can dismiss it.
4. Actual Behavior
5. Screenshots or Logs
Sample of empty panel after a disappeared commit:
6. Environment
7. Additional Context