Skip to content

Commit b4759f2

Browse files
drewbatgitCopilot
andcommitted
Rename toast-headers to notification-headers, add progress bar test code
- toast-headers -> notification-headers: rename, update all cross-refs and redirects, update upstream redirect chain - Add arguments comment to header activation snippet - Update test project with progress bar validation buttons (11-12) Co-authored-by: Copilot <[email protected]>
1 parent 2ed5405 commit b4759f2

6 files changed

Lines changed: 12 additions & 6 deletions

File tree

.openpublishing.redirection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9545,6 +9545,11 @@
95459545
"redirect_url": "notification-collections",
95469546
"redirect_document_id": true
95479547
},
9548+
{
9549+
"source_path": "hub/apps/develop/notifications/app-notifications/toast-headers.md",
9550+
"redirect_url": "notification-headers",
9551+
"redirect_document_id": true
9552+
},
95489553
{
95499554
"redirect_document_id": false
95509555
},
@@ -9615,7 +9620,7 @@
96159620
},
96169621
{
96179622
"source_path": "hub/apps/design/shell/tiles-and-notifications/toast-headers.md",
9618-
"redirect_url": "../../../develop/notifications/app-notifications/toast-headers",
9623+
"redirect_url": "../../../develop/notifications/app-notifications/notification-headers",
96199624
"redirect_document_id": false
96209625
},
96219626
{

hub/apps/develop/notifications/app-notifications/app-notifications-content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ You can group notifications under headers within Notification Center. For exampl
309309

310310
![A screenshot of a action center showing multiple notifications for the application Notifications Viewer organized under a header labeled "Camping!".](images/toast-content-headers.png)
311311

312-
To learn more about using headers, please see [Toast headers](toast-headers.md).
312+
To learn more about using headers, please see [App notification headers](notification-headers.md).
313313

314314

315315
## Adaptive content

hub/apps/develop/notifications/app-notifications/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This section provides design and implementation guidance for app notifications i
3737
- [App notification with pending update activation](toast-pending-update.md)
3838
- [Custom timestamps on app notifications](custom-timestamps-on-toasts.md)
3939
- [App notification collections](notification-collections.md)
40-
- [App notification headers](toast-headers.md)
40+
- [App notification headers](notification-headers.md)
4141
- [Notification listener: Access all notifications](notification-listener.md)
4242

4343
## Limitations

hub/apps/develop/notifications/app-notifications/notification-collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.localizationpriority: medium
1212

1313
Use collections to organize your app's notifications in Notification Center. Collections help users locate information more easily and allow developers to better manage their notifications.
1414

15-
A messaging app, for example, can separate notifications by chat group. Each group title ("Comp Sci 160A Project Chat", "Direct Messages", "Lacrosse Team Chat") is a separate collection. Notifications are grouped as if they were from a separate app, even though they all come from the same app. For a more subtle way to organize notifications, see [App notification headers](toast-headers.md).
15+
A messaging app, for example, can separate notifications by chat group. Each group title ("Comp Sci 160A Project Chat", "Direct Messages", "Lacrosse Team Chat") is a separate collection. Notifications are grouped as if they were from a separate app, even though they all come from the same app. For a more subtle way to organize notifications, see [App notification headers](notification-headers.md).
1616

1717
![Collection Example with two different Groups of Notifications](images/toast-collection-example.png)
1818

hub/apps/develop/notifications/app-notifications/toast-headers.md renamed to hub/apps/develop/notifications/app-notifications/notification-headers.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ Activation from a header is handled through the [**NotificationInvoked**](/windo
5353
```csharp
5454
AppNotificationManager.Default.NotificationInvoked += (sender, args) =>
5555
{
56-
// Arguments specified from the header
56+
// For the header defined above, args.Argument contains:
57+
// "action=openConversation&id=6289"
5758
string arguments = args.Argument;
5859
};
5960
```

hub/apps/develop/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ items:
477477
- name: Collections
478478
href: notifications/app-notifications/notification-collections.md
479479
- name: Headers
480-
href: notifications/app-notifications/toast-headers.md
480+
href: notifications/app-notifications/notification-headers.md
481481
- name: Notification Listener
482482
href: notifications/app-notifications/notification-listener.md
483483
- name: Notification delivery methods

0 commit comments

Comments
 (0)