Skip to content

Right-clicking on file in Changes list should not include "Discard All Changes..." menu item in contextual menu #7356

Closed

Description

@bamwu

For the 3rd time in recent memory I have accidentally discarded all changes, only having meant to discard changes for 1 selected file.

Items in the contextual menu from right-clicking on a single file should pertain only to that file.

Thankfully in all 3 cases I was able to effectively undo the mistake by rummaging thru the trash.

The 2 minutes between destroying hours/days of work and remembering that the files with the changes are recoverable... are heart pumpingly scary.

I realize it's a "feature not a bug"... but please fix.

Thanks.

Screen Shot 2019-04-18 at 5 28 06 PM

Activity

  1. shiftkey commented on Apr 18, 2019

    @shiftkey
    Member

    @bamwu thanks for the feedback. I'm going to add this to #5342 where we're talking about the UX of this item. Please follow along with that discussion.

  2. tierninho commented on Apr 18, 2019

    @tierninho
    Contributor

    @bamwu Apologies that you are experiencing this.

    I suggest you enable the discard warning option in Preferences. Go to the GitHub Desktop menu, and click the Show confirmation dialog before discarding changes checkbox under the Advanced tab in Preferences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions