Skip to content

feat: support notification priority on Windows#50382

Merged
jkleinsc merged 2 commits into41-x-yfrom
trop/41-x-y-bp-feat-support-notification-priority-on-windows-1773949467202
Mar 25, 2026
Merged

feat: support notification priority on Windows#50382
jkleinsc merged 2 commits into41-x-yfrom
trop/41-x-y-bp-feat-support-notification-priority-on-windows-1773949467202

Conversation

@trop
Copy link
Copy Markdown
Contributor

@trop trop bot commented Mar 19, 2026

Backport of #50225

See that PR for details.

Notes: Notes: Added support for the urgency option in Notifications on Windows.

trop bot and others added 2 commits March 19, 2026 19:44
Add Windows notifications support urgency/priority levels.
This maps the existing `urgency` option (previously Linux-only) to
Windows toast notification priorities:

- 'critical' maps to ToastNotificationPriority_High, which sorts the
  notification above default-priority items in Action Center.
- 'normal' and 'low' both map to ToastNotificationPriority_Default.

Note that on Windows, 'critical' priority does not prevent the toast
from being auto-dismissed. Users should additionally set `timeoutType`
to 'never' for that behavior.

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
@trop trop bot requested review from a team and codebytere March 19, 2026 19:44
@trop trop bot added 41-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Mar 19, 2026
Copy link
Copy Markdown
Member

@VerteDinde VerteDinde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved on behalf of @electron/wg-releases

@jkleinsc jkleinsc merged commit 2962293 into 41-x-y Mar 25, 2026
122 of 123 checks passed
@jkleinsc jkleinsc deleted the trop/41-x-y-bp-feat-support-notification-priority-on-windows-1773949467202 branch March 25, 2026 19:49
@release-clerk
Copy link
Copy Markdown

release-clerk bot commented Mar 25, 2026

Release Notes Persisted

Notes: Added support for the urgency option in Notifications on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

41-x-y backport/approved ✅ backport This is a backport PR semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants