Skip to content

Warn user when committing files with conflict markers #6381

Closed

Description

@outofambit

from designs in #6213 (comment)

cc @desktop/design

Activity

  1. added this to the 1.6.0 milestone on Dec 10, 2018
  2. self-assigned this
    on Dec 10, 2018
  3. ampinsk commented on Dec 10, 2018

    @ampinsk
    Contributor

    Here's what I was thinking! Very open to thoughts on language here:

    conflict-marker-confirm

  4. billygriffin commented on Dec 10, 2018

    @billygriffin
    Contributor

    @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).

  5. billygriffin commented on Dec 10, 2018

    @billygriffin
    Contributor

    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.

  6. ampinsk commented on Dec 10, 2018

    @ampinsk
    Contributor

    @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?

    commit-conflict

  7. billygriffin commented on Dec 10, 2018

    @billygriffin
    Contributor

    @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!

  8. modified the milestones: 1.6.0, 1.5.1 on Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions