-
Notifications
You must be signed in to change notification settings - Fork 101
Fix #356: Make "Create a Good PR" tutorial #457
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
base: develop
Are you sure you want to change the base?
Conversation
add "Create a Good PR" under "Making your first PR"
Add table of content part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @LittleRainC! Left some notes, PTAL.
_Sidebar.md
Outdated
@@ -32,6 +32,7 @@ | |||
* [[Tips for analyzing the codebase|Analyzing-the-codebase]] | |||
* [[Learning resources for developers|Learning-Resources]] | |||
* [[Rules for making PRs|Rules-for-making-PRs]] | |||
* [[Create a Good PR|Create a Good PR]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should reorganize this section...
- Good first issues (bolded)
- Tips for finding the right code to change
- Finding the commit that introduced a bug
- Tips for analyzing the codebase
- How to create a good PR (your new page, bolded)
- Rules for making PRs
- Coding style guide
and we move the learning resources for developers to the "getting started" section above? Just some thoughts, feel free to suggest a better ordering -- we want devs to discover this page. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjusted as pointed above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a Good PR.md
Outdated
- [Reviewers Appreciate...](#reviewers-appreciate) | ||
- [Need Help?](#need-help) | ||
|
||
This page is an introduction to creating a great Pull Request(PR). A great Pull Request (PR) is more than just code—it’s clean, clear, and easy for reviewers to understand. This guide shares best practices for writing high-quality PRs that are easy to review and quick to merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add space between "Pull Request" and "(PR)" in first sentence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjusted as pointed above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjusted -> Create a Good PR
|
||
Contributing code is awesome—but making it **easy to review** is just as important. A thoughtful PR saves time for reviewers, avoids misunderstandings, and helps Oppia maintain a high standard of quality. | ||
|
||
## Before You Open Your PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this doc, do you need to refer to the more detailed "PR guide" at some point?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a link for the detailed PR guide as a essential checklist, and I think it might be okey?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a Good PR.md
Outdated
|
||
## Final Checklist Before You Request Review | ||
|
||
- My PR addresses **one issue only** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format as a checklist using - [ ] ...
? (Not sure)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjusted as pointed above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a Good PR.md
Outdated
Don’t be afraid to ask! You can: | ||
|
||
- Tag reviewers in comments | ||
- Use GitHub Discussions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link to the relevant github discussions category
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a Good PR.md
Outdated
|
||
- Tag reviewers in comments | ||
- Use GitHub Discussions | ||
- Ask in Oppia’s chat or community channels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this differ from the previous bullet point?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed "Ask in Oppia's chat or community channels"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved the learning resources for developers to the "getting started" section above. Adjusted the structure of makings PRs.
1. Added space between "Pull Request" and "(PR)" in first sentence 2. Added a refer to the more detailed "PR guide" at some point 3. Used a checklist format - [ ] 4. Linked the relevant github discussions category 5. Removed the "Ask in Oppia’s chat or community channels".
@LittleRainC Please don't resolve review comments, it makes it hard for reviewers to tell what has and hasn't been addressed. Follow the instructions in step 5 here and make sure that the assignee is correct as well. Please fix the above and ensure you are following the correct PR review process -- thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good! Just one small note.
Create a Good PR.md
Outdated
|
||
A good pull request isn’t just about working code—it’s about making collaboration easier. Clear, well-structured PRs save reviewers time, reduce confusion, and help maintain high code quality. In open source, thoughtful PRs build trust and keep the project maintainable for everyone. | ||
|
||
For the essential checklist and best practices, be sure to follow [Rules for making PRs](./rules-for-making-prs.md)—every good PR starts there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a syntax you can use for links to other pages in the same wiki -- please look at the other wiki pages for how to do this, so that the md files follow a consistent style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LittleRainC The syntax is [Rules for making PRs|Rules-for-making-PRs]
, right? Please check other wiki pages to make sure I got this correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be [Rules for making PRs](https://github.com/oppia/oppia/wiki/Rules-for-making-PRs)"
. Because in Tutorial-Learn-How-to-Fix-a-CI-Flake-waitFor-Statements.md, you can notice that they used the same syntax.
@LittleRainC Are you still working on this PR? |
Updated the link for "Rule for making PRs"
@seanlip Yeah, I'm just a bit busy last week. Sorry! |
Thanks @LittleRainC! Please resolve the merge conflicts, and then I think we can merge this. |
@LittleRainC Sorry, one more comment -- #457 (comment) |
Fix #356: Make "Create a Good PR" tutorial -> Make "Create a Good PR" tutorial.
Changed files: