Improve the Changesets experience in GitHub PRs
If a GitHub repo uses Changesets, this userscript adds a new "Changesets" section in the sidebar of pull requests of an overview of the changeset files and a one-click button to create a changeset.
Compared to the Changesets bot, this does not create a comment for each pull requests regarding information about changesets. The goal is to move the burden of creating and managing changesets to the maintainers so that contributors don't have to worry about this, and to also allow better quality changesets.
As such, this userscript will also automatically remove comments from the Changesets bot to reduce noise. (You can edit the script options at the top of the file to disable this behavior if desired)
Single changesets:
Multiple changesets:
A warning is shown if there's no changesets:
MIT