Skip to content

Add Discard All Changes... to right click context menu on changed file list - #4230

Merged
nerdneha merged 1 commit into
masterfrom
unknown repository
Mar 14, 2018
Merged

nerdneha merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Mar 12, 2018 •

Copy link
Copy Markdown

Fixes #4197

  • Test if issue exists manually in GitHub Desktop
  • Find implementations that need to be changed
  • Pass onDiscardAllChanges from changed-file-list to changed-file using React.props
  • Add new function to context menu
  • Test if issue is fixed manually in GitHub Desktop
  • Automated Testing?

Right click context menu on changed file list before the commit:
context menu before change

Right click context menu on changed file list after the commit:
context menu after change

Discard All Changes was only shown by clicking the Changed Files Header.
Behavior is changed to show Discard All Changes in the right click menu item.

Discard All Changes was only shown by clicking the Changed Files Header.
Behaviour is changed to show Discard All Changes in the right click menu item.
@nerdneha nerdneha added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Mar 12, 2018
@nerdneha nerdneha self-assigned this Mar 12, 2018
@nerdneha nerdneha changed the title Fix Discard All Changes isn't discoverable #4197 Add Discard All Changes... to right click context menu on changed file list Mar 13, 2018

@nerdneha nerdneha left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent job on the checklist, making sure we switch casing for windows v mac, and the thorough PR description! 💯🎆

looks good to me, it's a 👍🏾

@nerdneha

Copy link
Copy Markdown
Contributor

FYI @xamm we leave our PRs open for 24 hours to give the rest of the team a chance to 👀 and request any changes! We'll merge this soon :)

@shiftkey

Copy link
Copy Markdown
Member

@desktop/core should we track a tech-debt issue to eventually remove the right-click header behaviour?

@ghost

ghost commented Mar 13, 2018

Copy link
Copy Markdown
Author

Thanks for your fast review 👍
I will try to find a new issue I can work on.

@nerdneha
nerdneha merged commit 5b901e1 into desktop:master Mar 14, 2018
@nerdneha nerdneha mentioned this pull request Mar 21, 2018
13 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants