Closed Bug 2081663 Opened 1 month ago Closed 1 month ago

Add design token train-hop checks to the New Tab AGENTS.md

Categories

(Firefox :: New Tab Page, task, P2)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: nina-py, Assigned: nina-py)

References

Details

Attachments

(1 external file)

Bug 2049387 moved the New Tab dialogs onto --dialog-* tokens that only exist from Firefox 160, so the dialogs were transparent when the train-hop was applied to Firefox 158 and 159 (bug 2080654).

Add guidance to browser/extensions/newtab/AGENTS.md so that agents implementing or reviewing New Tab changes check each design token a change references against Release, and add a fallback with a @backward-compat marker when the token is newer.

The New Tab AGENTS.md now has a "Design tokens" section, so that agents
implementing or reviewing New Tab changes check each design token a
change references against Release. A token newer than Release gets a
fallback to the token it aliases and a @backward-compat marker, as
bug 2080654 needed.

Severity: -- → S4
Priority: -- → P2
Pushed by npypchenko@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d98971f7f3ee https://hg.mozilla.org/integration/autoland/rev/5cdb58bd3943 Add design token train-hop checks to the New Tab AGENTS.md r=ai4dev-reviewers,mconley,padenot DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: