microsoft / microsoft/WindowsAppSDK
Feature Request: Implement missing AppNotificationBuilder APIs
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
### Describe the bug
`AppNotificationBuilder` is missing APIs that were available in UWP's `ToastContentBuilder`:
- `AdaptiveText`
- `AdaptiveGroup`
- `AdaptiveSubgroup`
- `AddVisualChild`
- ...
### Steps to reproduce the bug
In UWP I was able to do the following. Those APIs are not available for `AppNotificationBuilder`
```
var text = new AdaptiveText { HintWrap = true, Text = text, HintStyle = AdaptiveTextStyle.CaptionSubtle };
new ToastContentBuilder()
.AddVisualChild(new AdaptiveGroup { Children = { new AdaptiveSubgroup { Children = { text } } } });
```
It's also documented as not being available: https://learn.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=appsdk#columns-and-text-elements
### Expected behavior
_No response_
### Screenshots
_No response_
### NuGet package version
Windows App SDK 1.7.3: 1.7.250606001
### Packaging type
Packaged (MSIX)
### Windows version
Windows 11 version 24H2 (22621, October 2024 Update)
### IDE
Visual Studio 2022
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with AppNotificationBuilder and compare its available surface with UWP's ToastContentBuilder, focusing on AdaptiveText, AdaptiveGroup, AdaptiveSubgroup, and AddVisualChild. Review the linked adaptive interactive toasts documentation and define completion as supporting the listed APIs and the demonstrated nested text composition pattern.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, csharp
- Domain
- api, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100