Skip to content

"Discard all changes" context menu on Changes header removed #7696

Closed

Description

@varkor

Right-clicking on the "4 changed files" header in the changed files list no longer produces a context menu. The context menus on the individual files themselves still works.

I'm on GitHub Desktop version 2.0.2 on macOS 10.12.6.

Activity

  1. shiftkey commented on Jun 5, 2019

    @shiftkey
    Member

    @varkor thanks for the feedback!

    This was a change we decided to make in #7394 to address some UX concerns about "Discard All Changes". We had some feedback about this after #7415 was merged which I'll pull into this issue and figure out how we want to proceed.

  2. shiftkey commented on Jun 5, 2019

    @shiftkey
    Member

    From @fatcerberus in #7415 (comment)

    I don't even know how I first discovered this option - I think I just subconsciously knew it would be there, which doesn't exactly say "bad UX" to me.

    I'm sad this command is now gone and moved to the menu bar which isn't anywhere near as ergonomic - this was a big part of my workflow (do some experimental change -> experiment fails -> discard-all and try again). I didn't find the command particularly unsafe as there's a huge "Are you really sure?" warning that pops up which AFAICT can't be disabled, and right-clicking "X changed files" to discard everything is a natural extension of right-clicking individual files to discard them.

    A keyboard shortcut would help, but personally I'm kind of mouse-bound (which is why I want to use a GUI client in the first place); right-clicking things to discover new stuff comes more naturally than hunting through menus, so I tend to miss features if that's the only way to discover them.

    From @nycdotnet in #7415 (comment)

    The old UX felt very tactile/interactive.

    From @NickCraver in #7415 (comment)

    I used this many times a day. When right clicking on an item like a file, I expect to have options for that thing. When I see a count up top, I naturally right clicked thinking I'd have options for n thing (and I did!). I was pretty surprised this was removed. Does also having the right click menu there cause some issue? Selecting all the files to do an action or hunting in another place is not intuitive to me. It also puts a lot of distance between a global work-loss action and the count of things I'm about to execute it on. That context should be readily apparent. While it did say "Discard all changes" before, it's far away from context now, and I have to go mentally check if I want to really execute that dangerous action. When it was immediately beside the things it affects? Yeah sure, I know where I'm at and what's about to happen. I know that's minor, but I wanted to convey why that feels like a regression in and of itself.

  3. varkor commented on Jun 5, 2019

    @varkor
    Author

    For the record, I agree with the quotes you've posted: though it's fine to have a main menu option too, the context menu was an intuitive and efficient place to find this option and it's a little frustrating to have to learn a new UX pattern when the old one worked well.

  4. AevVRC commented on Jun 5, 2019

    @AevVRC

    Was a big fan of that context menu and used it often, would love to see it return in some form.

  5. JamesToohey commented on Jun 6, 2019

    @JamesToohey

    First thing I came to do was report a bug (assuming it was mistakenly removed). I think it was an intuitive place for this control.

    Edit: To elaborate; right clicking on each individual file prompts me to discard that file, right clicking on the header to perform the same action on all files makes sense in the same way that the checkbox in the header applies to all files.

  6. lubomirblazekcz commented on Jun 6, 2019

    @lubomirblazekcz

    Yeah, this change really seems like a step back

  7. Ravi5ingh commented on Jun 6, 2019

    @Ravi5ingh

    Just leaving my desire here. I would like to have this feature. I agree with @varkor and others. Taking this feature out is a step back.

  8. photonstorm commented on Jun 6, 2019

    @photonstorm

    I came here to report this as a bug, but see that it was done on purpose. I honestly think calling it a UX issue was incorrect, it made complete sense for it to be there, next to the 'all files' checkbox, and was part of my daily workflow :(

  9. changed the title [-]Right click / context menu broken on "x changed files" header[/-] [+]"Discard all changes" context menu on "x changed files" header removed[/+] on Jun 6, 2019
  10. changed the title [-]"Discard all changes" context menu on "x changed files" header removed[/-] [+]"Discard all changes" context menu on Changes header removed[/+] on Jun 6, 2019
  11. DanTup commented on Jun 6, 2019

    @DanTup

    I also really miss this. All day I've been trying to use it (I didn't realise it had moved at the time). I think having it on the context menu of text that says "15 changed files" is a completely intuitive place to put it. Please bring it back :-)

  12. billygriffin commented on Jun 6, 2019

    @billygriffin
    Contributor

    Thanks for all the feedback folks, this is great! Sorry for making your workflows more difficult in the near term. We're discussing some options internally and expect to iterate on this - just wanted to make sure y'all knew you weren't shouting into a void, and appreciate everyone's thoughts.

  13. the-avid-engineer commented on Jun 6, 2019

    @the-avid-engineer

    Might be an unpopular opinion, but I have accidentally clicked on Discard all changes a few times, and because of that, I like that it's not a part of the Changes context menu any more. (Fortunately discarded changes go to the trashcan instead of binary hell, but still..)

    Sure, you get a confirmation modal, but you also get a confirmation modal when you discard a subset of changes. And who actually reads those after the first few times? Not me. I instinctively go straight for the confirm button.

  14. fatcerberus commented on Jun 6, 2019

    @fatcerberus

    @the-avid-engineer There’s a reason I disable the confirmation for discarding single files (that, and it’s annoying) :)

  15. NickCraver commented on Jun 6, 2019

    @NickCraver
    Contributor

    @the-avid-engineer I'd love to understand your use case. It's still in the context menu per-item, and in the header case it was the only content menu item...so I have to ask: what did you think you were clicking on? I'm at a loss for what this would be confused with, even with prompt numbness.

  16. 9 remaining items

  17. Ravi5ingh commented on Jun 10, 2019

    @Ravi5ingh

    @shiftkey will there be a decision take on this at some point? ie. whether or not to bring it back?

  18. shiftkey commented on Jun 10, 2019

    @shiftkey
    Member

    @hazendaz please do open an issue. We can confirm whether its a new case to investigate, or related to some previous behaviour.

    @Ravi5ingh we'll be talking as a team this week about this and other feedback from last week's release. Stay tuned for updates.

  19. JosephTLyons commented on Jun 10, 2019

    @JosephTLyons
    Contributor

    There was nothing wrong with having this discard functionality in a right-click menu before. Not sure why this was removed, taking it away after having it here for this long seems odd. Please bring it back.

  20. billygriffin commented on Jun 10, 2019

    @billygriffin
    Contributor

    Hi folks, we removed the context menu from the header because we thought it wasn't very discoverable and thought a menu item and associated keyboard shortcut would be more discoverable. For those who used it regularly and knew it was there, it was obviously very useful (as evidenced by the response on this thread 😄). Appreciate y'all weighing in, and as I mentioned previously we're discussing this internally about how to proceed. We hear you and we're planning to iterate on this, likely in the next release.

  21. added
    bug
    on Jun 11, 2019
  22. added this to the 2.0.4 milestone on Jun 11, 2019
  23. shiftkey commented on Jun 12, 2019

    @shiftkey
    Member

    Thanks for the feedback everyone!

    We decided to just restore this in #7766 and this will go out in the 2.0.4 update scheduled for today.

  24. billygriffin commented on Jun 12, 2019

    @billygriffin
    Contributor

    Hi folks, the release is out (2.0.4) with this added back. This was on me, sorry for the disruption to your workflow. Thanks again for the feedback and for your patience.

  25. Ravi5ingh commented on Jun 12, 2019

    @Ravi5ingh

    Awesome. Thank you!

  26. fatcerberus commented on Jun 12, 2019

    @fatcerberus

    I was highly amused that this was listed as a bugfix in update notification. 😉

    Thanks for bringing it back.

  27. JamesToohey commented on Jun 13, 2019

    @JamesToohey

    Champions

  28. xv commented on Jun 13, 2019

    @xv

    Thanks for listening and bringing it back. 🎉

  29. photonstorm commented on Jun 13, 2019

    @photonstorm

    Brilliant, thank you!

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

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions