Annotate `learn-module-assessment` pages in sidebar
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 57
- Forks
- 47
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 68
Description
In https://github.com/mdn/fred/issues/664, the Content team has requested to add an icon in the sidebar after "Test your skills" articles (page-type: learn-module-assessment).
In order to identify these sidebar items across locales, we need to annotate them in the sidebar HTML.
I would suggest to add data-page-type="learn-module-assessment" to these items (but only for this page type for now).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the sidebar HTML generation and the handling of page-type: learn-module-assessment in the Rari source. Confirm how sidebar items are emitted across locales, then add the requested annotation only for this page type. Done means matching items include data-page-type="learn-module-assessment" and other sidebar items remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100