Skip to content

Commit a2477a9

Browse files
jwmsftCopilot
andauthored
Move Notification content out of Design node (#5629)
* move push notifications from wasdk to develop * move app notifications from wasdk to develop * move badge notifications from design to develop * move push notifications from design to develop * Rename WNS-Notification-Priorities.md to wns-notification-priorities.md * Rename windows-push-notification-services--wns--overview.md to wns-overview.md * Rename the-code-generated-by-the-push-notification-wizard.md to code-generated-by-wizard.md * redirect renamed wns files * move pin-to-taskbar from design to develop * update links * move app notifications from design to develop * move misc notification topics up a level * fix links, move images * link and validation fixes * Update hub/apps/develop/notifications/badges.md Co-authored-by: Copilot <[email protected]> * update 'toast' to 'app notification' * fix link * fix a typo --------- Co-authored-by: Copilot <[email protected]>
1 parent dfc8a9c commit a2477a9

File tree

144 files changed

+1919
-1745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+1919
-1745
lines changed

.openpublishing.redirection.json

Lines changed: 261 additions & 76 deletions
Large diffs are not rendered by default.

hub/apps/design/shell/tiles-and-notifications/includes/onlaunched-warning.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

hub/apps/design/shell/tiles-and-notifications/includes/send-toast-intro.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

hub/apps/design/toc.yml

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -298,95 +298,6 @@
298298
href: controls/text-handwriting-view.md
299299
- name: Title bar
300300
href: controls/title-bar.md
301-
- name: Shell
302-
items:
303-
- name: Overview
304-
href: shell/index.md
305-
- name: Toast notifications
306-
items:
307-
- name: Overview
308-
href: shell/tiles-and-notifications/toast-notifications-overview.md
309-
- name: UX guidance
310-
href: shell/tiles-and-notifications/toast-ux-guidance.md
311-
- name: Send local toast
312-
items:
313-
- name: C# apps
314-
href: shell/tiles-and-notifications/send-local-toast.md
315-
- name: C++ UWP apps
316-
href: shell/tiles-and-notifications/send-local-toast-cpp-uwp.md
317-
- name: C++ WRL apps
318-
href: shell/tiles-and-notifications/send-local-toast-desktop-cpp-wrl.md
319-
- name: Other apps
320-
href: shell/tiles-and-notifications/send-local-toast-other-apps.md
321-
- name: Activating toast notifications from desktop apps
322-
href: shell/tiles-and-notifications/toast-desktop-apps.md
323-
- name: Toast content
324-
items:
325-
- name: Content
326-
href: shell/tiles-and-notifications/adaptive-interactive-toasts.md
327-
- name: Schema
328-
href: shell/tiles-and-notifications/toast-schema.md
329-
- name: Schedule toasts
330-
href: shell/tiles-and-notifications/scheduled-toast.md
331-
- name: Additional features
332-
items:
333-
- name: Custom audio
334-
href: shell/tiles-and-notifications/custom-audio-on-toasts.md
335-
- name: Progress bar
336-
href: shell/tiles-and-notifications/toast-progress-bar.md
337-
- name: Pending update
338-
href: shell/tiles-and-notifications/toast-pending-update.md
339-
- name: Custom timestamps
340-
href: shell/tiles-and-notifications/custom-timestamps-on-toasts.md
341-
- name: Collections
342-
href: shell/tiles-and-notifications/toast-collections.md
343-
- name: Headers
344-
href: shell/tiles-and-notifications/toast-headers.md
345-
- name: Notification Listener
346-
href: shell/tiles-and-notifications/notification-listener.md
347-
- name: Obsolete
348-
items:
349-
- name: Notification mirroring
350-
href: shell/tiles-and-notifications/notification-mirroring.md
351-
- name: Universal Dismiss
352-
href: shell/tiles-and-notifications/universal-dismiss.md
353-
- name: Badge notifications
354-
href: shell/tiles-and-notifications/badges.md
355-
- name: Push notifications
356-
items:
357-
- name: Overview
358-
href: shell/tiles-and-notifications/windows-push-notification-services--wns--overview.md
359-
- name: Quickstart Sending a push notification (XAML)
360-
href: shell/tiles-and-notifications/quickstart-send-push-notification.md
361-
- name: WNS Priorities
362-
href: shell/tiles-and-notifications/wns-notification-priorities.md
363-
- name: Allowlisting WNS Traffic
364-
href: shell/tiles-and-notifications/firewall-allowlist-config.md
365-
- name: Code generated by the push notification wizard
366-
href: shell/tiles-and-notifications/the-code-generated-by-the-push-notification-wizard.md
367-
- name: How to request, create, and save a notification channel
368-
href: shell/tiles-and-notifications/request-create-save-notification-channel.md
369-
- name: Push notification service request and response headers
370-
href: shell/tiles-and-notifications/push-request-response-headers.md
371-
- name: Troubleshooting push notifications
372-
href: shell/tiles-and-notifications/troubleshoot-notifications.md
373-
- name: Raw Notification Overview
374-
href: shell/tiles-and-notifications/raw-notification-overview.md
375-
- name: Taskbar
376-
items:
377-
- name: Pin your app to the taskbar
378-
href: shell/pin-to-taskbar.md
379-
- name: Misc
380-
items:
381-
- name: Notifications Visualizer
382-
href: shell/tiles-and-notifications/notifications-visualizer.md
383-
- name: Notification delivery methods
384-
href: shell/tiles-and-notifications/choosing-a-notification-delivery-method.md
385-
items:
386-
- name: Notification channel types
387-
href: shell/tiles-and-notifications/channel-types.md
388-
- name: Periodic notifications
389-
href: shell/tiles-and-notifications/periodic-notification-overview.md
390301
- name: Input and interactions
391302
items:
392303
- name: Overview

hub/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts.md renamed to hub/apps/develop/notifications/app-notifications/adaptive-interactive-toasts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: App notification content
44
ms.assetid: 1FCE66AF-34B4-436A-9FC9-D0CF4BDA5A01
55
label: App notification content
66
template: detail.hbs
7-
ms.date: 11/14/2022
7+
ms.date: 07/25/2025
88
ms.topic: article
99
keywords: windows 10, uwp, toast notifications, interactive toasts, adaptive toasts, toast content, toast payload, app notifications
1010
ms.localizationpriority: medium
@@ -18,13 +18,13 @@ App notifications are flexible notifications with text, images, and buttons/inpu
1818
1919
## Getting started
2020

21-
App notifications are defined with an XML payload which is defined by the [App notification schema](/uwp/schemas/tiles/toastschema/schema-root). Currently, there are three ways of generating the XML payload fo an app notification. The code examples in this article demonstrate all three methods:
21+
App notifications are defined with an XML payload that is defined by the [App notification schema](/uwp/schemas/tiles/toastschema/schema-root). Currently, there are three ways of generating the XML payload for an app notification. The code examples in this article demonstrate all three methods:
2222

2323
- The [Microsoft.Windows.AppNotifications.Builder](/windows/windows-app-sdk/api/winrt/microsoft.windows.appnotifications.builder) APIs - Introduced in Windows App SDK 1.2, this namespace provides APIs that allow you to easily build the XML payload for a notification programmatically without having to worry about the specifics of the XML format. Code examples using these APIs are in the tabs labeled "Windows App SDK".
2424
- The `Microsoft.Toolkit.Uwp.Notifications` builder syntax - These APIs are part of the UWP Community Toolkit and provides support for UWP apps. Although these APIs can also be used for Windows App SDK apps, and continue to be supported, we recommend that new implementations use the **Microsoft.Windows.AppNotifications.Builder** APIs. To use Community Toolkit APIs, add the [UWP Community Toolkit Notifications nuget package](https://www.nuget.org/packages/Microsoft.Toolkit.Uwp.Notifications/) to your project. The C# samples provided in this article use version 7.0.0 of the NuGet package. Code examples using these APIs are in the tabs labeled "Windows Community Toolkit".
2525
- Raw XML - If you prefer, you can create your own custom code to generate XML strings in the required format. The raw XML examples are in the tabs labeled "XML".
2626

27-
**Install Notifications Visualizer.** This free Windows app helps you design interactive app notifications by providing an instant visual preview of your toast as you edit it, similar to Visual Studio's XAML editor/design view. See [Notifications Visualizer](notifications-visualizer.md) for more information, or [download Notifications Visualizer from the Store](https://www.microsoft.com/store/apps/notifications-visualizer/9nblggh5xsl1).
27+
**Install Notifications Visualizer.** This free Windows app helps you design interactive app notifications by providing an instant visual preview of your toast as you edit it, similar to Visual Studio's XAML editor/design view. See [Notifications Visualizer](../notifications-visualizer.md) for more information, or [download Notifications Visualizer from the Store](https://apps.microsoft.com/detail/9nblggh5xsl1).
2828

2929
This article only covers creating the app notification content. For information on sending a notification after you have generated the XML payload, see [Send a local app notification](send-local-toast.md).
3030

0 commit comments

Comments
 (0)