docs.rodeo

MDN Web Docs mirror

Creating and working on issues

As a contributor, you can report and work on issues. After you report an issue, the issue gets triaged. Issue triaging is typically done by people assigned the role of a maintainer or an owner.

General guidelines for participation

While reporting an issue or participating in a conversation in an issue, always ensure that your inputs are contributing to the overall progress of the project. Consider whether the issues you open and your comments in an issue are constructive and on topic and are not just adding noise.

Do the following:

Avoid doing the following:

Guidelines for reporting an issue

Issues are used to track bugs. An issue must be a single actionable task or a collection of related actionable tasks and must have a clear outcome.

Before filing an issue

If you think you’ve found a bug with the content on MDN Web Docs or with the look and feel of the website, search the current open issues in the relevant repository and make sure nobody else has reported the issue.

Reporting an issue

Depending on the type of problem you’ve discovered, you can report it by filing an issue on one of the main MDN GitHub repositories. If the information you provide in the issue is incomplete, you might be asked to provide more details during the issue triaging process.

Here are some hints for opening issues:

Creating a task list issue

If the issue you’re opening is not to report a bug but to perform a series of tasks, you can create the issue as a task list. Explain the context or reason for performing the tasks in the description. Ensure that you list all the actionable tasks as a checklist.

For example:

// Issue title
Ensure sections follow the order defined in the CSS property template

### Description

The CSS property page template is defined [here](/en-US/docs/MDN/Writing_guidelines/Page_structures/Page_types/CSS_property_page_template).
The task list in this issue will be used to compare the documented CSS properties with the template and track changes to the property pages for compliance.

### List of pages checked

- [x] [accent-color](/en-US/docs/Web/CSS/accent-color) - checked, okay
- [ ] [backdrop-filter](/en-US/docs/Web/CSS/backdrop-filter)
- [ ] [letter-spacing](/en-US/docs/Web/CSS/letter-spacing) - open pull request to move `Accessibility concerns` and `Internationalization concerns` sections before the `Specifications` section.

Guidelines for working on an issue

Remember that if you take on an issue, the expectation is for the work to be completed in a timely manner. If you’re not able to make any progress for a week after being assigned or can no longer complete the required task, leave a comment and unassign yourself from the issue.

These are the general steps for working on an issue:

  1. Find an issue: If you’re looking to contribute, search for issues with good first issue, help wanted or p3 label. Most repositories have issues with these labels. You are welcome to browse and pick an issue that is suitable for your skill set. Another useful place to look for issues to work on is the MDN Contributors Task Board. This project view lists open issues from multiple repositories. You can filter the list based on the topics (Labels column) you’re interested in. See the description of some of the labels that get applied during the issue triage process.

    [!NOTE] An issue with the needs triage label indicates that the MDN Web Docs core team has not reviewed the issue yet, and you shouldn’t begin work on it.

  2. Assign the issue to yourself: After finding an issue you’d like to work on, make sure that the issue is not assigned to anybody else. Add a comment saying you would like to work on the issue, and if you are able to, assign the issue to yourself.

  3. Do the research: Most issues need some investigation before work can start.

    • Scope out the work that needs to be done. If you need to ask questions, ask them in the MDN Web Docs chat rooms.
    • If the issue is well-described, and the work is pretty obvious, go ahead and do it.
    • If the issue is not well-described, and/or you are not sure what is needed, feel free to @mention the poster and ask for more information.
  4. Make the changes: Fork and branch the repository. Do your work and open a pull request in the repository. Reference the issue in the pull request description. Depending on the files you’ve updated in the pull request, a reviewer will be assigned to your pull request automatically. (Teams per topic area are defined in the CODEOWNERS file).

    After opening the pull request, if you find you no longer have the time to make changes or incorporate review feedback, let the team know as soon as possible in a comment in the pull request. This will help the team assign another interested contributor to complete the work on the pull request and close the linked issue.

  5. After your pull request has been reviewed and merged, you can mark the linked issue as closed. If you opened the pull request with Fixes #<issue> verbiage, the issue will be closed automatically when the pull request is merged.

Fixing issues yourself

If you spot a bug — whether it’s a problem with the website’s look and feel or an error in documentation — you can try to fix it yourself. Learn how you can contribute by going through our contribution guide.

If the bug is small, such as a typo or a minor sentence improvement, or involves an uncontroversial fix, submit a pull request with the changes.

For all other type of bugs, begin by opening the issue. Add a comment about your intent to work on the issue and if possible, describe your proposed solution or steps to fix the issue. Wait for the issue to be triaged, so that the MDN Web Docs team can verify that the issue is legit and approves your proposed solution.

[!NOTE] If you open a pull request before the issue has been triaged, your time and effort might go waste if the linked issue is deemed invalid or the solution does not match the one expected by the MDN Web Docs team. After the issue is triaged, assign the issue to yourself.

Using the guidelines on working on an issue, try to fix the problem by updating the appropriate source, such as:

Each repository includes useful information to guide you on how to contribute. For more information, see our main GitHub repositories.

Guidelines for triaging issues

If you are a maintainer or an owner in the MDN Web Docs GitHub organization, you are responsible for triaging issues in one or more MDN Web Docs repository.

The overall process for triaging includes some general and some issue-specific tasks.

General triaging tasks

Issue-specific triaging tasks

These are the guidelines to follow while triaging each issue.

Review if the issue is valid

These are some of the things to keep in mind while reviewing the validity of an issue:

Review the issue for completeness of information

Review each issue against the following checklist to ensure that the issue contains the described information for someone to start working on the bug:

If any of the above information is not present, then you should ask the author of the issue to provide these details, and add the needs info label to the issue. Resume triaging the issue only after those details have been provided (after which, you can remove the needs info label). It is okay to wait for up to a week to get a response from the author.

Set a priority label

For each bug, set a priority label based on the severity of the issue to help people who want to work on the most important issues or areas.

In general, critical issues should be fixed immediately and are most likely handled by MDN Web Docs staff and peers.

Add helpful information

If possible, add information that can help contributors to fix the issue. The information can be in the form of steps, general approach, links to other similar fixed issues, or reading resources. A well-laid out plan or steps is especially required in issues that are labeled good first issue and can help ramp up new contributors quickly. You can time-box this task to 5-10 minutes.

For example, as a triager, you can add the following information to the issue you are triaging:

To whoever fixes this issue, it looks like the following is needed:

- Update the first paragraph below heading X to correct the problem with Y
- Add a description of X
- Update the compatibility data at Link-X

Set other labels

Next, set the following labels as appropriate:

In this article

View on MDN