-
-
Notifications
You must be signed in to change notification settings - Fork 245
Description
Describe the issue
The docs may cause confusion when a contributor wants to know if they can directly make a PR in the freecodecamp repo, or if they need to make an issue and wait until it is triaged. A discussion about the best handling of this would be greatly appreciated.
The documentation reads at faq.mdx:
I found a typo. Should I report an issue before making a pull request?
For minor typos or wording changes, you can directly open a pull request without creating an issue first. Just include enough details in the pull request description to help us review your contribution.
When I read this, I thought that for rewordings, one may directly open a pull request. Rewordings as in:
Original: A background gradient in CSS is a smooth transition between two or more colors.
Wording change: A background gradient in CSS is a way to create a smooth transition between two or more colors.
Based on previously approved PRs, there are at least two instances of wording changes that cannot be classified as typos which were approved without a preliminary issue in the repo. Details at the end.
However, the guidance provided by some members reflects that a wording change like the above should be reported and triaged in an issue before a PR is made, and that PRs without an issue are reserved only for typographical errors (misspelling, boldface, punctuation) and minor grammar fixes.
Summary
If the ruling regarding issues is, "Always make an issue for everything that's not a typo before making a PR", that's fine; and if so, can we please make the wording in the contribute site clearer?
To Reproduce
View guidance provided at the Contribute site
Expected behavior
I would like to request clearer wording about preliminary issues.
Option 1: We could have a wording that explicitly requires issues for everything that is not a typo. This means those PRs approved without preliminary issues were exceptions to the rule and should not be considered a standard for contributors.
Option 2: A wording that reflects what currently gets approved in the repo, which would entail allowing wording changes beyond typographical errors without a preliminary issue.
I believe either could be helpful to reduce guesswork when contributing.
Additional context
There are several merged PRs that have been approved without having a linked issue or preliminary issue.
freeCodeCamp/freeCodeCamp#63356
freeCodeCamp/freeCodeCamp#63326
freeCodeCamp/freeCodeCamp#63320
freeCodeCamp/freeCodeCamp#63251
freeCodeCamp/freeCodeCamp#62927
There are two that introduced wording changes beyond just typographical errors.
freeCodeCamp/freeCodeCamp#63366
freeCodeCamp/freeCodeCamp#61811
This raises a more complex question beyond the exclusion for typos:
When should a contributor make a preliminary issue, and how do we update the docs at the contribute site to clearly reflect that?