Skip to content

Clean up github PR form defaults, e.g. "docs/internal_api/index.rst" does not exist #1595

Closed

Description

@Sevans711

Opening a new PR uses the uxarray/.github/PULL_REQUEST_TEMPLATE.md file to provide a nice interface to the person who is opening the PR, with helpful formatting and reminders. However, some of these reminders are outdated or confusing:

  1. Comment at the top implies that syntax like "Closes #XXX, #YYY, #ZZZ" would actually close XXX, YYY, and ZZZ. I believe that is not true. To actually close all three upon merge, you need something like "Closes #XXX, closes #YYY, closes #ZZZ".
  2. Comment at the top implies the PR must fully close an issue. Sometimes in practice it makes more sense to split an issue up into multiple PRs, in which case it would be clearer to say something like "Fixes part of #XXX but does not fully close it".
  3. In "Expected Usage", there is a comment including "If you are adding a feature into the Internal API, please produce a short example of it in action." Should the scope be expanded here to include "If you added a new feature" (i.e. any new feature) instead of just an internal feature?
  4. In the PR checklist: "Add appropriate labels" is a bit confusing for new contributors trying to make PRs from forks, where they do not have permission to edit labels (if I recall correctly…). Perhaps it would help to rephrase slightly or leave a quick comment to tell new contributors not to worry about the labels?
  5. In the PR checklist, there is a reference to "docs/internal_api/index.rst", however there is no "docs/internal_api" anywhere, and the online readthedocs documentation seems to include only the public API, not internal functions. I believe this list item should be removed.
  6. In the PR checklist, there is a reference to "docs/user_api/index.rst", however there is no "docs/user_api". Should this just be "docs/index.rst"?

Activity

  1. added
    documentation
    community support
    developer experience
    on Jul 20, 2026
  2. Sevans711 commented on Jul 20, 2026

    @Sevans711
    CollaboratorAuthor

    I think the "community support" label applies here but I'm not sure. If it doesn't apply, please feel free to remove it.

  3. moved this from 📚 Backlog to 📝 To-Do in UXarray Developmenton Jul 21, 2026
  4. self-assigned this
    on Jul 21, 2026
  5. Sevans711 commented on Jul 22, 2026

    @Sevans711
    CollaboratorAuthor

    Additional points I noticed while working on this:

    1. In the PR checklist, new notebook examples might be added to examples, but might instead be added to user-guide. The "examples" folder is solely for items that should be in the gallery. This should be clarified.
    2. In the PR checklist, there is no "examples.rst"; the relevant file is actually named "gallery.rst".
    3. The final comment includes "This PR should be listed as a draft PR until you are ready to request reviewers". In practice, I don't think the expectation is for people to necessarily request reviewers, especially for new contributors picking "who should review my PR?" sounds like an intimidating task. This should be rephrased to something like "until you are ready for it to be reviewed".
  6. Sevans711 commented on Jul 22, 2026

    @Sevans711
    CollaboratorAuthor

    Also:
    10. minor typos in: "An issue is linked created and linked" and "Docstrings have updated with any function changes".

  7. moved this from 📝 To-Do to 👀 In review in UXarray Developmenton Jul 22, 2026
  8. moved this from 👀 In review to ✅ Done in UXarray Developmenton Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

community supportdeveloper experiencedocumentation

Type

No type

Fields

Priority

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions