Skip to content

Make PR template form clearer and more concise - #1703

Merged
rajeeja merged 3 commits into
mainfrom
sevans/concise-pr-form
Aug 26, 2026
Merged

Make PR template form clearer and more concise#1703
rajeeja merged 3 commits into
mainfrom
sevans/concise-pr-form

Conversation

@Sevans711

Copy link
Copy Markdown
Collaborator

Closes #1696

Overview

Makes the PR template form more concise.

Minor expansions of this PR's scope:

  • Clarified language in a few places throughout the form and rearranged comments slightly. I think these changes will make the form clearer and easier to read quickly.
  • Removed the suggestions to delete entire sections of the checklist. There are far fewer items now (roughly half as many) so I think it shouldn't be too hard to just mark items as [N/A]…? This also helps reduce mental load; instead of "consider if the whole section applies, then consider if each point applies" it becomes simply "consider if each point applies".

I hope these changes would all improve contributor experience. But, they are all based on my subjective opinions and intuitions. Please let me know if you have any questions or concerns, or would prefer different phrasing!

PR Checklist

General

  • An issue is created and linked
  • Added appropriate labels (if your uxarray repo permissions allow it)
  • Filled out Overview and Expected Usage (if applicable) sections

AI Disclosure

AI Usage: GitHub Copilot suggestions show up inline in my editor and maybe influenced my thought processes here, but I don't remember if I actually accepted any of them directly.

  • I take responsibility for all AI-generated content in my PR.
  • I have tested all AI-generated content in my PR.

@Sevans711 Sevans711 added the developer experience Makes the codebase easier to read, debug, maintain, or extend. label Aug 24, 2026
@Sevans711 Sevans711 self-assigned this Aug 24, 2026

@dylannelson dylannelson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Overall more concise, less bullets, and more explanation in the form of comments instead. Good changes for the user in mind.

maybe this could be removed, as it's basically just saying "please listen and read" lol:

please follow instructions below while filling out this form, and read the etiquette reminders at the bottom.

Not a serious difference either way. Thanks for the change!

@Sevans711

Copy link
Copy Markdown
Collaborator Author

Overall more concise, less bullets, and more explanation in the form of comments instead. Good changes for the user in mind.

maybe this could be removed, as it's basically just saying "please listen and read" lol:

please follow instructions below while filling out this form, and read the etiquette reminders at the bottom.

Not a serious difference either way. Thanks for the change!

Thank you for the review! Re: the note at the top, I agree and I did feel a bit silly while writing it, but I think it might be okay (I certainly don't mind if people just skim past it). I mainly included it because I wanted to move the "Thank you for opening a PR" message to the top, to show some appreciation to contributors before asking to complete lots of steps/instructions. But, just putting "Thank you for opening a PR" felt too weird / too blunt to me…. Secondary benefit is to highlight that the etiquette reminders exist; before they were extremely easy to ignore / not notice at all. (I will leave as-is for now, but I'm definitely open to more feedback about it!)

@rajeeja rajeeja 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.

Thanks for doing this — we're at 17 checkboxes today and nobody in our ecosystem is close (xarray 7, matplotlib 5, dask 3). This gets us to 10, which is the right direction, but even after this PR we'd be at 81 lines. Let's cut more:

  • Expected Usage code block → comment
  • Etiquette reminders → CONTRIBUTING.md
  • Docs folder paths → CONTRIBUTING.md
  • Merge Documentation and Examples boxes
  • Target ~20 lines, xarray-sized

@dylannelson

dylannelson commented Aug 26, 2026

Copy link
Copy Markdown
Member

Expected Usage code block → comment

While I agree with some of the above, I think it's a good idea to keep some form of code visualized & required, not as a comment. When we receive bug reports, the code itself can make a massive difference in debugging and time to solve, so making it just a delete example and paste code here makes it far easier for a user and much less likely for a user to skim over and ignore. I say we keep the code block at least in some form

I also feel like 20 lines would not be possible without removing multiple entire sections, or making it an absolute wall of dense, hard to read text

@Sevans711

Copy link
Copy Markdown
Collaborator Author

Thanks for doing this — we're at 17 checkboxes today and nobody in our ecosystem is close (xarray 7, matplotlib 5, dask 3). This gets us to 10, which is the right direction, but even after this PR we'd be at 81 lines. Let's cut more:

  • Expected Usage code block → comment
  • Etiquette reminders → CONTRIBUTING.md
  • Docs folder paths → CONTRIBUTING.md
  • Merge Documentation and Examples boxes
  • Target ~20 lines, xarray-sized

Thank you for taking a closer look! To me it feels a bit too aggressive to make that many cuts all at once. What would your thoughts be about merging the changes here for now as "an improvement but not necessarily the final stage", with the intent to revisit in a few days/weeks/months?

Right now I think this PR is scoped as "rephrase things on the PR form to be clearer and more concise, mostly by removing redundancies, not by making major content cuts." I think implementing your suggestions would re-scope it to "make major cuts to the PR form", which feels to me like it would fit better as a new issue/PR. In particular I would definitely want to hear @erogluorhan's thoughts before making major cuts like that.

Sidenote, I might be concerned that replacing small helpful reminders with instructions like "go read the contributor's guide" would actually raise the barrier to entry, instead of lowering it, because it requires following a link to a separate location, and the Contributor’s Guide is quite long….

Also, what do you mean by "Merge Documentation and Examples boxes"?

I also agree with @dylannelson's point about the Expected Usage code block; it has been extremely useful for me in my PRs which have needed it, and it hasn't really been much of an imposition on my time or efforts to just delete that section completely when it isn't needed (honestly it feels kind of refreshing to delete an entire section, not bad at all).

@rajeeja

rajeeja commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Fair on the code block — keep it. On merging now and revisiting later: in my experience that revisit never happens, template cleanup is exactly the kind of low-priority thing that sits forever, so whatever we can agree to cut now is worth more than a follow-up issue. By "merge Documentation and Examples" I meant collapsing those two sections into one "docs and examples updated" box — that plus the docs folder paths moving to CONTRIBUTING would be a small, uncontroversial win to land here.

and remove those details from pr template form. pr template form now links to the relevant part of that docs page instead of providing all details inline.

Also, merges Documentation with Examples section in pr checklist, and edits examples language slightly.
@Sevans711

Copy link
Copy Markdown
Collaborator Author

Fair on the code block — keep it. On merging now and revisiting later: in my experience that revisit never happens, template cleanup is exactly the kind of low-priority thing that sits forever, so whatever we can agree to cut now is worth more than a follow-up issue. By "merge Documentation and Examples" I meant collapsing those two sections into one "docs and examples updated" box — that plus the docs folder paths moving to CONTRIBUTING would be a small, uncontroversial win to land here.

Fair about follow-up, I'm not sure if it would actually end up happening or not.

I agree that merging those sections and moving the docs folder paths details into the Contributor's guide are both likely uncontroversial (now that I understand what you meant by "merge Documentation and Examples"). I have implemented those changes in my latest commit!

@rajeeja

rajeeja commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Fair on the code block — keep it. On merging now and revisiting later: in my experience that revisit never happens, template cleanup is exactly the kind of low-priority thing that sits forever, so whatever we can agree to cut now is worth more than a follow-up issue. By "merge Documentation and Examples" I meant collapsing those two sections into one "docs and examples updated" box — that plus the docs folder paths moving to CONTRIBUTING would be a small, uncontroversial win to land here.

Fair about follow-up, I'm not sure if it would actually end up happening or not.

I agree that merging those sections and moving the docs folder paths details into the Contributor's guide are both likely uncontroversial (now that I understand what you meant by "merge Documentation and Examples"). I have implemented those changes in my latest commit!

way to go, approving :)

@rajeeja
rajeeja self-requested a review August 26, 2026 19:17
@rajeeja
rajeeja merged commit 7eff90d into main Aug 26, 2026
13 checks passed
@Sevans711
Sevans711 deleted the sevans/concise-pr-form branch August 26, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

developer experience Makes the codebase easier to read, debug, maintain, or extend.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make uxarray PR form template more concise

3 participants