Closed Bug 1825821 Opened 2 years ago Closed 3 months ago

Add front end team's Code Review Standards to docs

Categories

(Developer Infrastructure :: Firefox Source Docs: Content, task, P3)

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
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.

Keywords: good-first-bug

To help Mozilla out with this bug, here's the steps:

  1. Comment here on the bug that you want to volunteer to help.
    This will tell others that you're working on the next steps.
  2. 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.
  3. Start working on this bug.
    • First, run ./mach doc browser/docs. This will install the necessary dependencies and build only the browser 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.
  4. 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 using mach lint.
  5. 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.
  6. After a series of reviews and changes to your patch, I'll push it to autoland.
Mentor: tgiles
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [lang=md]
Assignee: nobody → scolville
Status: NEW → ASSIGNED

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.

Assignee: scolville → nobody
Status: ASSIGNED → NEW
Assignee: nobody → scolville
Keywords: good-first-bug
Attachment #9328542 - Attachment is obsolete: true
Attachment #9431849 - Attachment description: WIP: Bug 1825821 - Add frontend code review best practices to source docs → Bug 1825821 - Add frontend code review best practices to source docs. r=mossop
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/38733a0c76ae Add frontend code review best practices to source docs. r=mossop
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

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.

Flags: needinfo?(scolville)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: