trop[bot]
7dfd55b8ea
feat: support notification priority on Windows ( #50383 )
...
* feat: support notification priority on Windows
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 >
* chore: make linter happy
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2026-03-25 15:49:53 -04:00
..
2026-03-19 18:47:59 -07:00
2026-01-22 17:01:09 -05:00
2026-02-12 12:37:56 -05:00
2026-03-23 14:23:20 +01:00
2026-02-12 12:37:56 -05:00
2026-03-09 09:20:22 -07:00
2025-08-11 12:57:31 +09:00
2026-03-06 15:24:33 -05:00
2026-03-02 14:28:52 +01:00
2026-03-10 12:27:00 -04:00
2026-03-25 15:49:53 -04:00
2026-03-02 11:24:48 -05:00
2025-08-07 11:18:32 -04:00
2026-02-13 07:40:14 -05:00
2026-02-10 15:06:21 +01:00
2026-03-09 09:20:22 -07:00
2026-03-18 20:12:01 -07:00
2026-03-09 09:20:22 -07:00
2025-02-06 15:30:54 -05:00
2025-09-22 20:16:27 -07:00
2025-09-24 19:10:05 -05:00
2025-09-08 12:57:15 +02:00
2025-09-08 12:57:15 +02:00
2026-03-09 18:16:34 +00:00
2026-03-09 18:16:34 +00:00
2026-02-12 12:37:56 -05:00
2026-02-15 19:54:50 +01:00
2026-01-14 15:34:24 +01:00
2026-03-09 18:16:34 +00:00
2026-03-09 18:16:34 +00:00
2026-03-09 18:16:34 +00:00
2025-12-16 12:32:38 -05:00
2025-10-17 13:04:24 -04:00
2025-10-17 13:04:24 -04:00
2026-01-12 17:02:58 -06:00
2025-08-27 09:30:50 +09:00
2026-03-18 14:21:26 -04:00
2026-03-18 14:21:26 -04:00
2025-04-25 13:11:53 -05:00
2025-03-24 10:09:14 +01:00
2026-03-18 14:21:26 -04:00
2026-03-18 10:14:05 +01:00
2026-03-10 12:27:00 -04:00
2026-03-10 12:27:00 -04:00
2025-11-13 10:39:03 -05:00
2025-04-22 15:53:29 -04:00
2026-02-18 12:08:03 +09:00
2025-10-03 01:18:14 +02:00
2026-03-18 10:14:05 +01:00
2025-08-27 09:30:50 +09:00
2026-03-02 10:28:14 -05:00
2025-02-19 16:49:34 -06:00
2025-07-14 13:42:37 -07:00
2025-06-03 11:19:20 -04:00
2025-12-16 12:32:38 -05:00
2025-09-22 20:16:27 -07:00
2026-03-23 14:23:20 +01:00
2026-03-23 14:23:20 +01:00
2025-12-04 16:40:04 -08:00
2025-12-04 16:40:04 -08:00
2025-07-28 15:31:54 -07:00
2025-08-06 20:14:23 -04:00
2025-08-06 20:14:23 -04:00
2025-08-06 20:14:23 -04:00
2025-04-22 15:53:29 -04:00
2025-03-14 10:59:15 -05:00
2025-10-15 14:10:10 -07:00
2025-09-11 16:03:17 -04:00
2024-12-03 16:25:48 -06:00
2026-01-14 15:34:24 +01:00
2026-01-09 22:57:38 -08:00
2025-09-08 12:57:15 +02:00
2025-03-07 18:22:03 +09:00
2026-03-25 13:00:13 -04:00
2025-04-03 19:02:49 -05:00
2025-11-10 21:30:44 +01:00
2025-11-10 21:30:44 +01:00
2024-10-29 23:25:40 -05:00
2026-03-16 21:14:02 +01:00
2026-03-19 15:37:42 -04:00
2026-02-12 12:37:56 -05:00
2025-10-03 20:10:18 +02:00
2026-03-17 10:05:57 -04:00
2026-02-19 18:53:13 -06:00
2026-02-19 18:53:13 -06:00
2026-02-12 12:37:56 -05:00
2025-08-25 18:52:06 +09:00
2025-06-13 10:15:32 +02:00
2025-06-13 10:15:32 +02:00
2025-09-08 12:57:15 +02:00
2026-03-04 11:59:49 -05:00
2025-03-14 10:59:15 -05:00
2024-11-30 06:54:40 -06:00
2025-01-31 09:32:45 -05:00
2025-01-31 09:32:45 -05:00
2026-02-12 12:37:56 -05:00
2026-02-12 12:37:56 -05:00
2026-03-09 09:20:22 -07:00
2026-02-12 12:37:56 -05:00
2026-03-09 00:50:01 -07:00
2026-03-02 10:30:13 -05:00
2025-10-13 12:21:54 -04:00
2025-10-23 16:28:51 -04:00
2025-07-14 13:42:37 -07:00
2025-07-14 13:42:37 -07:00
2024-12-03 16:25:48 -06:00
2025-06-29 21:32:03 +02:00
2026-02-12 12:37:56 -05:00
2026-02-12 12:37:56 -05:00