clean up github PR form template#1608
Conversation
See #1595 for detailed description of PR form template issues
|
Should we take this opportunity to add something to the "Testing" part of the PR checklist like "If this PR should improve memory usage or runtime efficiency, at least one benchmark demonstrates expected improvements (add a new benchmark if necessary)"? |
|
Interesting and helpful finds. Some I didn't even notice when reading through before this, ha |
|
Thank you for taking a look!
It is the former! I believe you need to be granted some nonzero level of permissions for directly editing the uxarray repository in order to actually assign labels to your PR. But, you can certainly open a PR from a fork, even without any permissions at all. For my first uxarray PR I didn't have permissions and opened it from a fork, and I remember being a bit confused about whether I should check this box, and whether I was supposed to be able to add labels somehow but just couldn't figure it out, when in fact you need some edit permissions for it. Maybe we can workshop the phrasing a bit to come up with something that clarifies this, while also not being too vague? Perhaps something like "Added appropriate labels (if you have uxarray edit permissions)" would be clearer? |
|
Oh that's interesting, I would have been confused too. Since some of the other checks have much more added context now, it may help to also add this context too (while also covering the case where they want to check the box but couldn't add labels):
A bit wordy but may cover all the points of confusion? I avoided the word "edit" because that sounds like a higher level of permission that "using"/"adding", but it seems like the user can either do all or none so it may not matter much either way. |
erogluorhan
left a comment
There was a problem hiding this comment.
Looks great overall, just a few inline comments
| - [ ] Internal (private) function names start with an underscore (`_`) | ||
|
|
||
|
|
||
| **Examples** |
There was a problem hiding this comment.
Maybe add something about this section can/should be removed if no work on examples was conducted in this PR?
| - [ ] Added appropriate labels (if you have label edit permissions) | ||
| - [ ] Filled out Overview and Expected Usage (if applicable) sections | ||
|
|
||
| **Testing** |
There was a problem hiding this comment.
Maybe add something about this section can/should be removed if no work on testing suite was conducted in this PR?
| - [ ] Clear the output of all cells before committing | ||
| - [ ] New notebook files added to `docs/examples.rst` toctree | ||
| - [ ] New notebook files added to new entry in `docs/gallery.yml` with appropriate thumbnail photo in `docs/_static/thumbnails/` | ||
| - [ ] New notebook examples cleared the output of all cells before committing |
There was a problem hiding this comment.
Not only new actually, Any notebooks that the PR's owner played with in their local might need this. Please rephrase accordingly
Closes #1595
Overview
Fixes/improves a variety of outdated/confusing aspects of the default PR form, as noted in #1595:
_)"docs/api.rst"docs/examples/; guide:docs/user-guide/; quickstart:docs/getting-started/". Also clarified that adding entries to "gallery.yml" only applies for gallery-type examples.docs/gallery.rst; guide:docs/userguide.rst; quickstart:docs/quickstart.rst)"PR Checklist
General