Closed Bug 2071289 Opened 2 months ago Closed 2 months ago

Update the documentation skill's mermaid guidance for the sizing and color-scheme changes

Categories

(Developer Infrastructure :: AI for Development, task)

task

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Two toolchain changes invalidate most of what the skill says about diagram color and width.

Bug 2071163 gives a page a derived dark scheme and lets a diagram follow it, so mermaid_dark_theme is no longer pinned and a classDef or style that hardcodes a fill needs an explicit color: as well, or its label comes out grey on a light fill. Those facts live in tools/moztreedocs/docs/mermaid-integration.md, so the skill should cite that page rather than restate it, and reconcile its color bullet, which reads as though hue were only an accessibility question.

Bug 2071258 is the larger edit: once a diagram renders at the size mermaid laid it out and a wider one scrolls, the body column stops being the constraint an author picks a layout for, and flowchart TD stops being the default for width reasons.

Blocks: 2071266
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4d322e497d05 https://hg.mozilla.org/integration/autoland/rev/333a1147c7e3 Bring the documentation skill's diagram guidance up to the sizing and color-scheme changes. r=ai4dev-reviewers,suhaib DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: