Closed Bug 1838222 Opened 1 year ago Closed 1 year ago

Set up the moz-message-bar custom element

Categories

(Toolkit :: XUL Widgets, task)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: hjones, Assigned: annhermy)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-reusable-components])

Attachments

(1 file)

This task covers setting up the foundation for our new custom element. We will start by implementing the base or "Informational" variant of the message bar only. At this point our message bar will just support displaying an icon and some message text - it will not yet be dismissible, or have support for buttons or links.

To get started we can run the addwidget scaffold command:

./mach addwidget moz-message-bar

This will create all the necessary files for the component. In addition to implementing the markup and styles for our basic element, we should also add a story and at least one simple test case.

The Credential Management team reacently added a Lit-based login-alert component that looks similar to what we're envisioning for our message-bar component. When getting started it may be helpful to adapt that code by moving it to toolkit/widgets.

Blocks: 1838223
Blocks: 1838225
Blocks: 1839648
Assignee: nobody → annhermy
Attachment #9340436 - Attachment description: WIP: Bug 1838222 - Set up the moz-message-bar custom element. r=hjones → Bug 1838222 - Set up the moz-message-bar custom element. r=hjones
Status: NEW → ASSIGNED
Blocks: 1840684
Blocks: 1840866
Whiteboard: [fidefe-reusable-components]
Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/587915c7b1a7 Set up the moz-message-bar custom element. r=hjones,desktop-theme-reviewers,dao,tgiles
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: