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

Add "Why" section to PR template #90613

Merged
merged 1 commit into from May 13, 2024
Merged

Add "Why" section to PR template #90613

merged 1 commit into from May 13, 2024

Conversation

sirbrillig
Copy link
Member

Proposed Changes

This PR adds a "Why are these changes being made?" section to the PR template.

Related to p7H4VZ-3Hz-p2

Why are these changes being made?

It's easy to see what a PR does but much harder to find out why it was made, particularly when researching old changes in history. I frequently see PRs which use the "Proposed Changes" section of the template just to list what changes were made, like they were repeating the commit messages of the PR. Sometimes there's also a link to an external issue or post, but those links can get out-of-date quickly and rarely do I see an included explanation of the motivation for a change. I'm hoping this template change will encourage folks to add a "why" and not just "what".

Testing Instructions

A visual inspection. Does this wording sound right?

@sirbrillig sirbrillig requested a review from a team May 11, 2024 15:02
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label May 11, 2024
@sirbrillig sirbrillig self-assigned this May 11, 2024
@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Member

@tyxla tyxla left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks 👍

I've always liked Gutenberg's "what, why, how, how to test" template 💯

@sirbrillig sirbrillig merged commit 6b70bf9 into trunk May 13, 2024
13 checks passed
@sirbrillig sirbrillig deleted the add/why-to-pr-template branch May 13, 2024 14:37
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants