Skip to content

Display agent-powered merge conflict resolution in the status bar#53033

Merged
danilo-leal merged 4 commits intomainfrom
agent-merge-conflicts-iteration
Apr 6, 2026
Merged

Display agent-powered merge conflict resolution in the status bar#53033
danilo-leal merged 4 commits intomainfrom
agent-merge-conflicts-iteration

Conversation

@danilo-leal
Copy link
Copy Markdown
Member

@danilo-leal danilo-leal commented Apr 3, 2026

Follow up to #49807

Previously, when there were multiple conflicts across the codebase, we would pop a toast at the bottom right corner of the UI. A toast seemed like a functional idea because it'd be visible from any state of the app and thus it'd be a good place to expose the button that allows you to quickly prompt the agent to resolve all conflicts, as opposed to creating a thread for each individual one. However, the toast was met with some negative (and correct) feedback, mostly because it is interruptive, and thus can sometimes block very relevant surfaces, like either the agent panel itself or the Git commit area.

Therefore, in this PR, I'm removing the toast and adding a button in the status bar instead; a bit more minimal, not interruptive, and a common place for other items that might require your attention. The status bar can be quite busy these days, though; we can display diagnostics, LSP status, and file names in there; conscious of that. But it felt like it could work given this button is such a transient one that you can either easily manually dismiss or wait for it to be auto-dismissed as you or the agent resolves the merge conflicts.

Screenshot 2026-04-02 at 9  15@2x

Release Notes:

  • Git: Improved how we surface the affordance to resolve codebase-wide merge conflicts with the agent in the UI.
  • Agent: Added a setting to control whether or not the button to resolve merge conflicts with the agent should be displayed.

@danilo-leal danilo-leal self-assigned this Apr 3, 2026
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Apr 3, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Apr 3, 2026
@danilo-leal danilo-leal merged commit 91fc544 into main Apr 6, 2026
30 checks passed
@danilo-leal danilo-leal deleted the agent-merge-conflicts-iteration branch April 6, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants