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
"Discard all changes" context menu on Changes header removed #7696
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.
Reacted by Bruce Pascoe, Nick Craver, Ruuubick, Aev, Chris Sealey, James Toohey, Lubomír Blažek, Ravi Singh, Danny Tuppeny, May Thu Khin and 7 more
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.
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.
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.
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.
Reacted by Bruce Pascoe, Ruuubick, Aev, James Toohey, Chris Sealey, Lubomír Blažek, Ben Margevicius and Yannic
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.
Reacted by Chris Sealey, Kira Derksen, Jonathan Jato, Ivan Rahn and Yannic
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 :(
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
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
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 :-)
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.
Reacted by Aev, James Toohey, Bruce Pascoe, Tiernan L and Jad
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.
@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.
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.
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.
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.
Reacted by Bruce Pascoe
Reacted by Bruce Pascoe
Reacted by James Toohey, Bruce Pascoe, Jad and Lubomír Blažek
Activity
shiftkey commentedon Jun 5, 2019
@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.
shiftkey commentedon Jun 5, 2019
From @fatcerberus in #7415 (comment)
From @nycdotnet in #7415 (comment)
From @NickCraver in #7415 (comment)
varkor commentedon Jun 5, 2019
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.
AevVRC commentedon Jun 5, 2019
Was a big fan of that context menu and used it often, would love to see it return in some form.
JamesToohey commentedon Jun 6, 2019
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.
lubomirblazekcz commentedon Jun 6, 2019
Yeah, this change really seems like a step back
Ravi5ingh commentedon Jun 6, 2019
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.
photonstorm commentedon Jun 6, 2019
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 :(
[-]Right click / context menu broken on "x changed files" header[/-][+]"Discard all changes" context menu on "x changed files" header removed[/+][-]"Discard all changes" context menu on "x changed files" header removed[/-][+]"Discard all changes" context menu on Changes header removed[/+]DanTup commentedon Jun 6, 2019
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 :-)
billygriffin commentedon Jun 6, 2019
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.
the-avid-engineer commentedon Jun 6, 2019
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.
fatcerberus commentedon Jun 6, 2019
@the-avid-engineer There’s a reason I disable the confirmation for discarding single files (that, and it’s annoying) :)
NickCraver commentedon Jun 6, 2019
@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.
9 remaining items
Ravi5ingh commentedon Jun 10, 2019
@shiftkey will there be a decision take on this at some point? ie. whether or not to bring it back?
shiftkey commentedon Jun 10, 2019
@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.
JosephTLyons commentedon Jun 10, 2019
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.
billygriffin commentedon Jun 10, 2019
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.
shiftkey commentedon Jun 12, 2019
Thanks for the feedback everyone!
We decided to just restore this in #7766 and this will go out in the
2.0.4update scheduled for today.billygriffin commentedon Jun 12, 2019
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.
Ravi5ingh commentedon Jun 12, 2019
Awesome. Thank you!
fatcerberus commentedon Jun 12, 2019
I was highly amused that this was listed as a bugfix in update notification. 😉
Thanks for bringing it back.
JamesToohey commentedon Jun 13, 2019
Champions
xv commentedon Jun 13, 2019
Thanks for listening and bringing it back. 🎉
photonstorm commentedon Jun 13, 2019
Brilliant, thank you!