Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't add restore-file action on new files in PRs #3666

Merged
merged 3 commits into from
Oct 17, 2020

Conversation

fregante
Copy link
Member

@fregante fregante commented Oct 16, 2020

  1. New files can be "reverted" by deleting them.
  2. PRs already have a button to delete the files
  3. Thanks to highlight-deleted-and-added-files-in-diffs now we also know which files are new as I had hoped in the JS comment.

Test on https://github.com/sindresorhus/refined-github/pull/3650/files?file-filters%5B%5D=.json&file-filters%5B%5D=.tsx#diff-793b39887195dc240846c30af909a5a6ef55a7fc329979225fecbebea653047f

@fregante fregante merged commit f7b2cf4 into master Oct 17, 2020
@fregante fregante deleted the skip-ajax-in-restore-file branch October 17, 2020 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants