Skip to content

feat: support notification priority on Windows - #50383

Merged
jkleinsc merged 2 commits into
42-x-yfrom
trop/42-x-y-bp-feat-support-notification-priority-on-windows-1773949467995
Mar 25, 2026
Merged

jkleinsc merged 2 commits into
42-x-yfrom
trop/42-x-y-bp-feat-support-notification-priority-on-windows-1773949467995

Conversation

@trop

@trop trop Bot commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

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 <[email protected]>
Co-authored-by: Charles Kerr <[email protected]>
@trop
trop Bot requested review from a team and codebytere March 19, 2026 19:44
@trop trop Bot mentioned this pull request Mar 19, 2026
4 of 5 tasks
@trop trop Bot added 42-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Mar 19, 2026

@bitdisaster bitdisaster left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

.

@VerteDinde VerteDinde left a comment

Copy link
Copy Markdown
Member

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 7dfd55b into 42-x-y Mar 25, 2026
78 checks passed
@jkleinsc
jkleinsc deleted the trop/42-x-y-bp-feat-support-notification-priority-on-windows-1773949467995 branch March 25, 2026 19:49
@release-clerk

release-clerk Bot commented Mar 25, 2026

Copy link
Copy Markdown

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

42-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.

3 participants