Description
When creating a new branch from an existing branch (e.g., main), the branch selector UI continues to display the previous branch name until the UI is manually refreshed.
Steps to Reproduce
- Open a project on the
main branch
- Create a new branch from
main
- Observe that the branch selector still shows
main
- Refresh the UI
- Branch selector now correctly shows the new branch
Expected Behavior
The branch selector should automatically update to reflect the current branch immediately after a branch switch or creation.
Actual Behavior
The branch selector remains showing the previous branch until a manual UI refresh.

Description
When creating a new branch from an existing branch (e.g.,
main), the branch selector UI continues to display the previous branch name until the UI is manually refreshed.Steps to Reproduce
mainbranchmainmainExpected Behavior
The branch selector should automatically update to reflect the current branch immediately after a branch switch or creation.
Actual Behavior
The branch selector remains showing the previous branch until a manual UI refresh.