Nav Status Icon Legend
Run the Nav Status Icon Legend MicroSim Fullscreen
Edit in the p5.js Editor
About This MicroSim
Readers never see sim-status.json. What they see is a small colored icon beside each
MicroSim in the site navigation. This legend reproduces the five nav status icons used by the
sister book learning-record-store, with the colors from its docs/css/extra.css and the
tooltip text from the extra.status block of its mkdocs.yml:
| Status | Icon | Color | Tooltip in the nav |
|---|---|---|---|
scaffold |
filled circle | red #d32f2f |
Scaffold — placeholder, not yet implemented |
built |
filled circle | orange #f57c00 |
Built — implementation complete, awaiting review |
implemented |
filled circle | blue #1976d2 |
Implemented — the MicroSim works |
instrumented |
broadcast signal | teal #00897b |
Instrumented — the MicroSim emits xAPI events; add ?xapi=teaching to the URL to see them |
approved |
check circle | green #388e3c |
Approved — tested and approved |
The mock sidebar lists five titles from this book. Their statuses are illustrative, chosen so
that each icon appears once. Selecting an icon shows its meaning and the batch lifecycle state
that usually produces it, using the mapping that Chapter 14 describes as this book's plan:
scaffolded gives scaffold, implemented gives implemented, validated gives built or
approved depending on score, and instrumented is set by sync-status.py --apply once a sim
carries xAPI handling. That mapping is a proposal; who sets approved is still an open
decision, and sync-status.py never overwrites it.
The panel also reports the contrast ratio of the icon color against the sidebar background. Turn on Dark mode to check that the colors stay readable on a dark theme.
Learning objective: The learner will match each nav status icon and color to its meaning and to the batch lifecycle state that usually produces it.
Bloom's taxonomy level: Understand (verb: match)
How to Use
- Hover over an icon to read the tooltip exactly as a reader would see it in the nav.
- Click an icon (or press keys 1 to 5) to fill the panel with its meaning, lifecycle state and contrast ratio. Before anything is selected, the panel shows the full legend.
- Check Dark mode and compare the contrast ratios with the light sidebar.
- Press Quiz me. The labels and tooltips disappear and the icons are shuffled among the titles. Click the icon that matches each description, then press Next question. The score counts correct first answers out of attempts.
Iframe Embed Code
You can add this MicroSim to any web page by adding this to your HTML:
1 2 3 4 | |
Lesson Plan
Audience
Teachers, instructional designers, learning-technology developers and learning-analytics practitioners (college undergraduate and professional development).
Duration
10 minutes
Prerequisites
- The status lifecycle in Chapter 14 (
specifiedthroughdeployed) - Page front matter in Material for MkDocs (a
status:key inindex.md)
Activities
- Explore (3 min): Hover every icon and read its tooltip, then click each one and read its lifecycle state.
- Quiz (4 min): Complete one quiz round of five questions. Aim for five of five.
- Discuss (3 min): Two icons share the
validatedlifecycle state. Explain what separatesbuiltfromapproved, and why a script should never overwriteapproved.
Assessment
- The learner scores at least four of five in a quiz round.
- Given a lifecycle state, the learner names the nav status a reader will see.
- The learner explains why the three shapes (circle, broadcast signal, check) help a reader who cannot tell the colors apart.
References
- Material for MkDocs: Reference -
Official documentation; its section "Setting the page status" covers the
statusfront matter key shown in the navigation. - Contrast ratio (WCAG 2.1 Understanding: Non-text Contrast) - W3C. The 3:1 guideline for icons used in the contrast readout.
- Color blindness - Wikipedia. Why the icons differ in shape as well as color.
- CSS mask-image - MDN. The CSS property that paints the status icon shapes in Material's nav.