Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git - Conflict notification should be actionable #153712

Closed
daviddossett opened this issue Jun 29, 2022 · 9 comments
Closed

Git - Conflict notification should be actionable #153712

daviddossett opened this issue Jun 29, 2022 · 9 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues merge-editor verified Verification succeeded
Milestone

Comments

@daviddossett
Copy link
Contributor

Feels like this should have a button to open the merge editor. Thoughts @jrieken @hediet @isidorn?

CleanShot 2022-06-29 at 09 00 30@2x

@jrieken jrieken added the git GIT issues label Jun 30, 2022
@jrieken jrieken assigned jrieken and unassigned hediet Jun 30, 2022
@jrieken jrieken added the feature-request Request for new features or functionality label Jun 30, 2022
@jrieken jrieken modified the milestones: July 2022, Backlog Jun 30, 2022
@jrieken
Copy link
Member

jrieken commented Jun 30, 2022

Yeah, that's a blast from the past when there was no merge editor. It is a good opportunity to "sell" that now

@isidorn
Copy link
Contributor

isidorn commented Jun 30, 2022

Maybe this should not be a notification at all? Does this happen on commit, maybe it should be a modal dialog with an option to open 3-way merge.

@jrieken jrieken modified the milestones: Backlog, June 2022, July 2022 Jun 30, 2022
@daviddossett
Copy link
Contributor Author

I saw it when I merged my branch with another. A dialog could work but might feel very intrusive. Would be good to try both to see how it feels assuming we can just use modal: true on the notification to test it.

@isidorn
Copy link
Contributor

isidorn commented Jul 1, 2022

@daviddossett aha, so if it can just happen with you merging branches from terminal than a dialog is too much. I agree that the notification is better.

@jrieken
Copy link
Member

jrieken commented Jul 20, 2022

Low-hanging: add command to "Open SCM View"

@lszomoru lszomoru modified the milestones: July 2022, August 2022 Jul 25, 2022
@jrieken jrieken modified the milestones: August 2022, September 2022 Aug 18, 2022
@jrieken jrieken modified the milestones: September 2022, October 2022 Sep 26, 2022
@jrieken
Copy link
Member

jrieken commented Sep 26, 2022

@lszomoru leaving this up to SCM land. This is specific to 3wm and I don't even know how to trigger this...

@lszomoru lszomoru changed the title Merge Editor: Conflict notification should be actionable Git - Conflict notification should be actionable Dec 10, 2024
@lszomoru
Copy link
Member

Updated the notification to be more actionable:
Image

@lszomoru lszomoru added bug Issue identified by VS Code Team member as probable bug and removed feature-request Request for new features or functionality labels Dec 19, 2024
@lszomoru lszomoru modified the milestones: Backlog, January 2025 Dec 19, 2024
@osortega
Copy link
Contributor

Not sure if I'm doing the steps right since I'm getting a modal kind of notification, but I don't see the Show Changes button.

The steps I did were:

  1. Change a file in the main branch directly through github.com
  2. Commit a conflicting change through the local cloned repo
  3. Try to push the change to the remote through source control
Image

@osortega osortega added the verification-found Issue verification failed label Jan 29, 2025
@amunger amunger reopened this Jan 31, 2025
@lszomoru lszomoru modified the milestones: January 2025, February 2025 Feb 3, 2025
@lszomoru lszomoru modified the milestones: February 2025, March 2025 Feb 21, 2025
@lszomoru
Copy link
Member

The improvements that we have made are scoped to conflicts during merge. Verification steps:

  • Open a workspace that contains a git repository
  • Modify the same file in two branches to create a conflict
  • Perform a merge between the two branches
    • Confirm that the following dialog is shown:
      Image
    • Confirm that pressing the "Show Changes" buttons open the Source Control Changes view

@lszomoru lszomoru removed the verification-found Issue verification failed label Mar 26, 2025
@rzhao271 rzhao271 added the verified Verification succeeded label Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues merge-editor verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

8 participants