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
Please describe the problem you think should be solved
For the longest time we've had the ability to discard all changes by right-clicking the "Changes" header:
This was available on at least the classic Windows app, and it came over in #1647 because we needed somewhere to keep this functionality. Context menus for non-interactive elements like headers aren't very intuitive, but we marched on.
Then we added it to the context menu for a changed file in #4188 (requested in #4314):
This has lead to some confusion in #5342 because it is right next to the "Discard Change" menu item, and if a user doesn't have the "Confirm Discard Changes..." setting enabled they could accidentally move all the files to the trash.
This combination of "header context menu" and "item context menu" makes me think that neither place is the right place for this functionality.
[Optional] Do you have any potential solutions in mind?
in #5342 (comment) we identified a list of changes that will help us to improve this area:
I think we can solve this through implementing these four things, I believe in this order:
Remove Discard All Changes from file context menu
Add Discard All Changes as a top menu item
Remove Discard All Changes from the header context menu
Add a UI menu to the changes top bar (containing Discard All Changes and potential future actions)
For anyone who picks this up:
For 2, I think Discard All Changes should live in Branch > Discard All Changes in a new section between the first and the second section.
For 4, I think we can wait and see how 1-3 feels first before implementing.
changed the title [-]"discard all changes" context menu is not discoverable[/-][+]"discard all changes" header context menu is not discoverable[/+]on Apr 24, 2019
One option is to combine the Discard all Changes and the check all toggle under one cog icon that opens a drop down. This opens the door to add other functionality if needed, like potentially adding the Undo commit button.
This is such a 💩 change. It doesn't make any sense having this option hidden in the Branch menu. I wasted a good five minutes trying to find the damn option, in which I still didn't and had to come here only to know where it is by reading @kylefox's comment. Bring the old stuff back. Terrible UX choice.
Bring back the old functionality or add the gear icon as a button for a drop-down menu. Putting this ONLY in a menu has completely screwed with how quickly and efficiently I can work with Desktop.
Activity
[-]"discard all changes" context menu is not discoverable[/-][+]"discard all changes" header context menu is not discoverable[/+]shiftkey commentedon Apr 24, 2019
We've made this point before but it got buried in a more complex issue: #5342 (comment)
tierninho commentedon Apr 25, 2019
One option is to combine the
Discard all Changesand thecheck alltoggle under one cog icon that opens a drop down. This opens the door to add other functionality if needed, like potentially adding theUndocommit button.[-]"discard all changes" header context menu is not discoverable[/-][+]improve "discard all changes" UX[/+]shiftkey commentedon Apr 25, 2019
I've updated the issue body to mention the list of changes we proposed, and I'm going to mark this as
help-wantedfor someone to pick up.ahuth commentedon Apr 26, 2019
Should be resolved in #7415, with the Discard All Changes item moved to the Branches menu.
karimcambridge commentedon Jun 7, 2019
WHY?
There was nothing wrong with the placement of this, both could've existed. The place where it was before actually made alot of sense. But... OK.
kylefox commentedon Jun 9, 2019
I miss the "Discard all changes..." context menu 😕I never would've thought to look under the "Branch" menu item.
xv commentedon Jun 9, 2019
This is such a 💩 change. It doesn't make any sense having this option hidden in the Branch menu. I wasted a good five minutes trying to find the damn option, in which I still didn't and had to come here only to know where it is by reading @kylefox's comment. Bring the old stuff back. Terrible UX choice.
shiftkey commentedon Jun 10, 2019
Please follow along with our discussion about this in #7696
JosephTLyons commentedon Jun 10, 2019
Bring back the old functionality or add the gear icon as a button for a drop-down menu. Putting this ONLY in a menu has completely screwed with how quickly and efficiently I can work with Desktop.