Make it possible for PopupNotification's to be considered "unopinionated"
Categories
(Firefox :: Messaging System, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox88 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-door-hangers])
Attachments
(1 file)
Our PopupNotifications are, by default, opinionated by visually highlighting the main action. For Proton, we're (at least visually) moving away from putting our thumb on the scale on which permission we consider the "primary", and we want them to look equivalent to the other buttons.
This is only the case for some types of PopupNotifications, so I'm going to add an optional argument opinionated: false to the structure that a PopupNotification can be constructed with. This property will default to true if it's not passed.
The CSS will then be modified to only highlight the main action for panels that are opinionated.
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
Being 'visually unopinionated' means not showing distinct styling for the main action.
Comment 3•5 years ago
|
||
| bugherder | ||
Comment 4•5 years ago
|
||
Backed out as per mconley`s request.
Backout link: https://hg.mozilla.org/integration/autoland/rev/2b508e9258a3d2b05608e852aa2d177accb7f835
| Assignee | ||
Comment 5•5 years ago
|
||
It turns out that there was already a way to do this built-in to PopupNotifications and popupnotification.js, and I just never noticed it - one can pass disableHighlight on the mainAction, or set buttonhighlight="false" on the popupnotification to disable the default action highlighting. This was originally added in bug 1377006.
Updated•5 years ago
|
Comment 7•5 years ago
|
||
| bugherder | ||
Description
•