Skip to content

Local Badge Notification code changes #4926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

SatwikKrSharma
Copy link
Contributor

@SatwikKrSharma SatwikKrSharma commented Nov 29, 2024

Issue - #138
API Spec - https://github.com/microsoft/WindowsAppSDK/pull/4823/files#diff-17dae42945b77909c6b45f1e7635b67969b8656882ccca5d20c56fd9ab653d6a

A microsoft employee must use /azp run to validate using the pipelines below.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

@satkh
Copy link
Contributor

satkh commented Nov 29, 2024

i think if we are bringing in the hierarchy of base notification -> badge notification
We should also add other classes for the notification types that we currently support (Toast, raw notifications), Or will be follow up PR ?

Copy link
Member

@jonwis jonwis left a comment

Choose a reason for hiding this comment

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

Looking good. I think you can remove the BadgeNotification & BaseNotification types, though? If you need to update NotificationProperties to take a struct of parameters, or have a new ctor that knows "I'm being constructed with all defaults from the set badge notification path" then that's fine.

@SatwikKrSharma SatwikKrSharma force-pushed the user/satwiksharma/badgeNotificationCodeChangesFinal branch from dc52aef to ba39226 Compare December 3, 2024 09:29
@SatwikKrSharma
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@SatwikKrSharma SatwikKrSharma merged commit bc1af23 into main Dec 12, 2024
26 checks passed
@SatwikKrSharma SatwikKrSharma deleted the user/satwiksharma/badgeNotificationCodeChangesFinal branch December 12, 2024 11:52
godlytalias added a commit that referenced this pull request Dec 13, 2024
* testing changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* added copyright header

* badge clear method

* resolved comments

* app refactoring code

* AppNotification Refactoring

* Resolved PR comments

* Resolved PR comments

* badge code changes

* decouple app notification code changes

* corrected the telemetry events

---------

Co-authored-by: Satwik Kumar Sharma <satwiksharma@microsoft.com>
codendone pushed a commit that referenced this pull request Jan 10, 2025
* testing changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* badge notfication support code changes

* added copyright header

* badge clear method

* resolved comments

* app refactoring code

* AppNotification Refactoring

* Resolved PR comments

* Resolved PR comments

* badge code changes

* decouple app notification code changes

* corrected the telemetry events

---------

Co-authored-by: Satwik Kumar Sharma <satwiksharma@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants