Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Reworks the workspace header title bar to make branch context first-class.

  • Move workspace path into the Runtime badge tooltip (with copy-to-clipboard)
  • Add a searchable BranchSelector (local + remotes) driven by executeBash
  • Add git status invalidation + generation gating to prevent stale divergence flashes after branch switches

Validation:

  • make static-check

Generated with mux • Model: openai:gpt-5.2 • Thinking: xhigh

- Created BranchSelector component with branch listing and switching via executeBash RPC
- Move workspace path display to RuntimeBadge tooltip
- Add copy branch name button (appears on hover)
Add generation counter to GitStatusStore to track invalidations. Status
updates now capture the generation when they start checking and verify
it hasn't changed before applying results. This prevents race conditions
where an in-flight status check returns old branch data after a branch
switch has invalidated the cache.
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

- Rename AIView/WorkspaceHeader prop branch -> workspaceName
- Remove unused @radix-ui/react-dropdown-menu and dropdown-menu wrapper
@ammario
Copy link
Member

ammario commented Dec 14, 2025

Screenshot 2025-12-14 at 11 52 29 AM

@ammario ammario merged commit 5e4cab3 into main Dec 14, 2025
20 checks passed
@ammario ammario deleted the title-bar-wrb8 branch December 14, 2025 17:57
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.

2 participants