Closed Bug 1775135 Opened 2 years ago Closed 2 years ago

Support inline/hero image in Windows native notifications

Categories

(Toolkit Graveyard :: Notifications and Alerts, enhancement)

enhancement

Tracking

(firefox106 verified)

VERIFIED FIXED
106 Branch
Tracking Status
firefox106 --- verified

People

(Reporter: nalexander, Assigned: nalexander)

References

Details

(Whiteboard: [fidedi-notifications])

Attachments

(1 file)

Right now, Firefox supports icon but not image from the Web Notifications API. I would like to be able to specify image to the Alert service in some form for use in Bug 1775128. This might just be a chrome-only option.

Blocks: 1775128

The final design for the Windows re-engagement toast notification wants to display the image as a hero image. This ticket tracks allowing that.

Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Whiteboard: [fidedi-notifications]

The immediate effect is to make any image larger and more prominent.
This might not be the right option for regular DOM notifications,
which support only icon (and not image) in Firefox at this time,
but we can adjust (perhaps limiting the generic template to privileged
alerts) as we need in the future.

Pushed by nalexander@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0e3de6124871
Make Windows native toasts use "ToastGeneric" template. r=nrishel
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Regressions: 1790692

Verified with Firefox 106.0b4 and Nightly 107.0a1 that Windows native notifications support inline/hero images on Windows 10x64 and Windows 11x64.

Status: RESOLVED → VERIFIED
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: