Open Bug 2086330 Opened 27 days ago Updated 5 days ago

[Good first bug] Fix stale mesaging schema docs and lists, and remove an unused test provider

Categories

(Firefox :: Messaging System, task, P1)

task
Points:
1

Tracking

()

ASSIGNED

People

(Reporter: mviar, Assigned: vnagireddy)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [omc])

Attachments

(1 external file)

Proposed changes

  1. In toolkit/components/messaging-system/schemas/index.md:
    • Remove the link to WhatsNewMessage.schema.json, which doesn't exist.
    • Add the five missing templates: BookmarksBarButton, MenuMessage, NewtabMessage, SidebarChatBotPromo and SmartWindowNewtabPromo.
    • Point the two CI links (lines 82 and 140) at the fxms-schemas job in taskcluster/kinds/source-test/python.yml.
    • Fix the #!/$defs typo (line 60) and the invalid JSON example (lines 120–131).
    • Remove the unused link references (lines 157–158) and fix the tests//xpcshell double slash.
  2. In SpecialMessageActionSchemas/index.md, remove the wording that describes actions as being "for CFRs".
  3. In browser/components/asrouter/bin/import-rollouts.js, add action_only, sidebar_chatbot_promo and smart_window_newtab_promo to the validator list. Rollouts using those templates are currently skipped without any validation.
  4. Remove browser/components/asrouter/tests/InflightAssetsMessageProvider.sys.mjs. It's a generated test-only module that no test imports. Also remove its TESTING_JS_MODULES entry in moz.build, and its lines in .prettierignore and tools/rewriting/Generated.txt.
  5. Remove the milestone doorhanger references from the privacySecurityMessaging description in FeatureManifest.yaml.
Points: --- → 1
Keywords: good-first-bug
Priority: -- → P3
QA Whiteboard: [omc]
Assignee: nobody → vnagireddy
Status: NEW → ASSIGNED
QA Whiteboard: [omc]
Whiteboard: [omc]

Just FYI: Other changes pushed beyond the bug's proposed changes are as below

  • Dropped the line number anchors from the CI links since they keep drifting.
  • Updated the CANCEL action's description as well, which still referred to CFR notifications. TY!
Priority: P3 → P1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: