Stop using deprecated message-bar element for outstanding shopping message bars
Categories
(Firefox :: Shopping, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: hjones, Assigned: hjones)
References
Details
(Whiteboard: [recomp])
Attachments
(1 file)
Bug 1844783 handled updating most of the message bars in the shopping sidebar to use the new moz-message-bar
component, but there were a few cases that the new component doesn't support yet that we decided to split out for later. Specifically we still need to address:
- the "stale" message bar (
moz-message-bar
doesn't support removing the background color) - the "analysis-in-progress" message bar (
moz-message-bar
doesn't support changing the icon + the blue loading spinner would be less visible on the blue message bar background, which is the new color for our "informational" message bar variant) - the "reanalysis-in-progress" message bar (has both of the issues listed above)
Before we can replace these message bars some collaboration needs to happen between the shopping and recomp teams to decide if we need to tweak the designs slightly, or if we want to modify moz-message-bar
to support some of these use cases.
Assignee | ||
Comment 1•6 months ago
|
||
The <shopping-message-bar>
component is the last place we're using the deprecated <message-bar>
component. As such, it's the one thing standing preventing us from remvoing the old <message-bar>
implementation (see Bug 1845151). I took a quick look and the <message-bar>
s here aren't actually providing any styling/layout and seem to be easily replacable with <div>
s.
Updated•6 months ago
|
Assignee | ||
Comment 2•5 months ago
|
||
At this point we don't want to support some kind of un-styled variant of moz-message-bar
, which is what we would need if we wanted to replace these simple text or text + button combos with that component. The fact that the styling can be preserved just by wrapping these "message bars" in a <div>
suggests that they don't really need to use a custom element at all. For the sake of being able to fully remove the older message-bar
element I'm changing the scope of this bug slightly.
Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
Comment 4•5 months ago
|
||
bugherder |
Description
•