Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
improve "discard all changes" UX #7394
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.
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:
referenced this issue
Jun 5, 2019
This is such a