Closed Bug 1845123 Opened 1 year ago Closed 1 year ago

Use moz-message-bar to show extension shortcut warnings in about:addons

Categories

(Toolkit :: XUL Widgets, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: hjones, Assigned: annhermy)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fidefe-reusable-components])

Attachments

(2 files)

We can display a stack of warning messages in the "Manage Extension Shortcuts" section of about:addons when a user has installed multiple extensions that try to use the same shortcut. Currently this is implemented as a stack of message-bars via the message-bar-stack element, but now that moz-message-bar is available we should use that instead. While the message-bar-stack component doesn't handle creating message-bars, it's possible the code will need to be modified to work with the newer element.

The HTML code for the stack of duplicate warning messages can be found here, and the JS code that handles adding message bars to the stack can be found here.

Blocks: 1845151
Whiteboard: [fidefe-reusable-components]
Assignee: nobody → annhermy
Status: NEW → ASSIGNED
Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ab4ddf800f7e Use moz-message-bar to show extension shortcut warnings in about:addons. r=tgiles,fluent-reviewers,extension-reviewers,flod,rpl
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: