Skip to content

Branch selector doesn't reflect current branch after creating a new branch #2179

@blinkagent

Description

@blinkagent

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

  1. Open a project on the main branch
  2. Create a new branch from main
  3. Observe that the branch selector still shows main
  4. Refresh the UI
  5. 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.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions