You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warn user when committing files with conflict markers #6381
@outofambit@ampinsk I would reverse the two statements. The first one is informing you of what the state is and why you're receiving the warning, and the second is making sure you actually want to do the weird thing you're about to do.
I'd also consider updating "Are you sure you want to commit conflict markers?" to "If you choose to commit, you'll be committing conflict markers into your repository" or something that's more of a statement. I'm generally of the belief that if a dialog is asking a question, the buttons should be the user's answer to the question (for example: "Are you sure" with "Yes" and "Cancel" as the buttons).
Also, does the conflict dialog go away when this pops up, or does this pop over that dialog, or does this content replace the content of the merge conflicts dialog temporarily? Just trying to understand the interaction here.
@billygriffin sorry, this is after you click Commit from the "manual" mode if you try to commit with conflict markers. So the conflicts dialog would already be "minimized" if you're seeing this.
@ampinsk Ah, thank you, sorry I didn't catch that. Because you're not able to commit with conflict markers in the guided flow. 👍 Your update looks great to me!
Activity
ampinsk commentedon Dec 10, 2018
Here's what I was thinking! Very open to thoughts on language here:
billygriffin commentedon Dec 10, 2018
@outofambit @ampinsk I would reverse the two statements. The first one is informing you of what the state is and why you're receiving the warning, and the second is making sure you actually want to do the weird thing you're about to do.
I'd also consider updating "Are you sure you want to commit conflict markers?" to "If you choose to commit, you'll be committing conflict markers into your repository" or something that's more of a statement. I'm generally of the belief that if a dialog is asking a question, the buttons should be the user's answer to the question (for example: "Are you sure" with "Yes" and "Cancel" as the buttons).
billygriffin commentedon Dec 10, 2018
Also, does the conflict dialog go away when this pops up, or does this pop over that dialog, or does this content replace the content of the merge conflicts dialog temporarily? Just trying to understand the interaction here.
ampinsk commentedon Dec 10, 2018
@billygriffin sorry, this is after you click Commit from the "manual" mode if you try to commit with conflict markers. So the conflicts dialog would already be "minimized" if you're seeing this.
How's this for a copy update?
billygriffin commentedon Dec 10, 2018
@ampinsk Ah, thank you, sorry I didn't catch that. Because you're not able to commit with conflict markers in the guided flow. 👍 Your update looks great to me!