Closed Bug 1714336 Opened 3 years ago Closed 3 years ago

Remove the `disableHighlight` option for doorhangers

Categories

(Firefox :: Toolbars and Customization, task, P3)

Desktop
All
task
Points:
1

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox91 --- wontfix
firefox92 --- fixed

People

(Reporter: Gijs, Assigned: kajalsah107)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-cleanups])

Attachments

(1 file)

Jared noted in https://phabricator.services.mozilla.com/D116630#inline-647659 that we only appear to ever set this property to true.

I think when I reviewed https://phabricator.services.mozilla.com/D116246 , I noticed that some notifications do not pass this. Mike, do you know if we can remove this, and/or can perhaps make the default to not show the highlight and have callers that want a highlighted button opt-in, instead of all the other ones opting out?

Flags: needinfo?(mconley)

Oops, looks like I got some wires crossed, this is about PopupNotifications, not doorhangers.

Summary: Consider removing and/or inverting `disableHighlight` option for notification bars → Consider removing and/or inverting `disableHighlight` option for doorhangers
Whiteboard: [proton-cleanups]

I think disableHighlight is safe to remove. That was mainly to make it possible to not highlight the primary button for PopupNotifications that are created imparitively, and for those, I think all of them now default to disableHighlight: true behaviour with Proton enabled.

There are some exceptions, but I believe they're all PopupNotifications that are created declaratively, and have a buttonhighlight="true" attribute, like: https://searchfox.org/mozilla-central/rev/bf8d5de8528036c09590009720bc172882845b80/browser/components/customizableui/content/panelUI.inc.xhtml#107

Flags: needinfo?(mconley)

Thanks Mike!

Severity: -- → N/A
Summary: Consider removing and/or inverting `disableHighlight` option for doorhangers → Remove the `disableHighlight` option for doorhangers
Points: --- → 1
Priority: -- → P3
Assignee: nobody → kajalsah107
Status: NEW → ASSIGNED
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/1913dbd50ba3 Removes the disableHighlight option for doorhangers. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: