Add front end team's Code Review Standards to docs
Categories
(Developer Infrastructure :: Firefox Source Docs: Content, task, P3)
Tracking
(firefox134 fixed)
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: sclements, Assigned: muffinresearch, Mentored)
Details
(Whiteboard: [lang=md])
Attachments
(1 file, 1 obsolete file)
The frontend desktop team has its own document on code review standards that should be added to the firefox source docs.
Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
To help Mozilla out with this bug, here's the steps:
- Comment here on the bug that you want to volunteer to help.
This will tell others that you're working on the next steps. - Download and build the Firefox source code
- If you have any problems, please ask on Element/Matrix in the
#introduction
channel. They're there to help you get started.
- If you have any problems, please ask on Element/Matrix in the
- Start working on this bug.
- First, run
./mach doc browser/docs
. This will install the necessary dependencies and build only thebrowser
section of the docs (there are lot of unnecessary docs that will be built if you run just./mach doc
!).- This operation may take a few minutes!
- There may be a lot of red/error text about "WARNING: document isn't included in any toctree", you can ignore this for the most part.
- After running
./mach docs browser/docs
, a browser should appear with the url being localhost:5500. This is the built documentation. - Create a new file called "CodeReviewBestPractices.md" under browser/docs/ and add this Firefox Desktop Front end Code Review Best Practices document to the newly created file and make sure it is formatted properly (including headings at the correct level).
- You will also need to add "CodeReviewBestPractices" to the browser/docs/index.rst file to see your changes show up in the built documentation.
- If you have any problems with this bug, please comment on this bug and set the needinfo flag for me.
- First, run
- Build your change with
mach doc
and verify your change by navigating to the newly created doc. Also check your changes for adherence to our style guidelines by usingmach lint
. - Submit the patch (including an automated test, if applicable) for review. Mark me as a reviewer so I'll get an email to come look at your code.
- How to Submit a Patch
- This is when the bug will be assigned to you.
- After a series of reviews and changes to your patch, I'll push it to autoland.
- If there are changes requested, please read the "To update a submitted patch" section to ensure you don't accidentally create a duplicate revision!
- Your code will soon be shipping to Firefox users worldwide!
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Comment 3•2 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.
Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
Assignee | ||
Comment 4•3 months ago
|
||
Updated•3 months ago
|
Comment 6•3 months ago
|
||
bugherder |
Comment 7•3 months ago
|
||
It is now available:
https://firefox-source-docs.mozilla.org/browser/FrontendCodeReviewBestPractices.html
But we had a few docs about this:
https://firefox-source-docs.mozilla.org/contributing/reviews.html
https://firefox-source-docs.mozilla.org/contributing/Code_Review_FAQ.html
https://firefox-source-docs.mozilla.org/contributing/reviewer_checklist.html
https://firefox-source-docs.mozilla.org/contributing/how_to_submit_a_patch.html
https://firefox-source-docs.mozilla.org/devtools/contributing/code-reviews.html
https://firefox-source-docs.mozilla.org/devtools/contributing/code-reviews-checklist.html
https://firefox-source-docs.mozilla.org/devtools/contributing/making-prs.html
https://firefox-source-docs.mozilla.org/l10n/fluent/review.html
As most of what is in https://firefox-source-docs.mozilla.org/browser/FrontendCodeReviewBestPractices.html isn't Frontend specific and probably documented elsewhere, it would be nice to invest more in a common review strategy instead of having one per org/team/project.
What do you think folks?
Comment 8•3 months ago
|
||
(In reply to Sylvestre Ledru [:Sylvestre] from comment #7)
It is now available:
https://firefox-source-docs.mozilla.org/browser/FrontendCodeReviewBestPractices.htmlBut we had a few docs about this:
https://firefox-source-docs.mozilla.org/contributing/reviews.html
https://firefox-source-docs.mozilla.org/contributing/Code_Review_FAQ.html
https://firefox-source-docs.mozilla.org/contributing/reviewer_checklist.html
https://firefox-source-docs.mozilla.org/contributing/how_to_submit_a_patch.html
https://firefox-source-docs.mozilla.org/devtools/contributing/code-reviews.html
https://firefox-source-docs.mozilla.org/devtools/contributing/code-reviews-checklist.html
https://firefox-source-docs.mozilla.org/devtools/contributing/making-prs.html
https://firefox-source-docs.mozilla.org/l10n/fluent/review.htmlAs most of what is in https://firefox-source-docs.mozilla.org/browser/FrontendCodeReviewBestPractices.html isn't Frontend specific and probably documented elsewhere, it would be nice to invest more in a common review strategy instead of having one per org/team/project.
What do you think folks?
It would be nice yes. I'm not sure who has the time to own that though.
Assignee | ||
Comment 9•2 months ago
|
||
I think there's certainly a potential of perfection being the enemy of the good, and whilst additional consolidation could make sense in slower time, I'd be the first to acknowledge these efforts stalled previously due to not having time to prioritize making the previous attempt more universal. As a team our more immediate need was having something we can point to that covers what's needed specific to frontend even if there are overlaps with other existing docs.
Description
•