Skip to content
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

Use toast notification syntax to support actions on Win32 #1039

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

tupaschoal
Copy link
Collaborator

Context / Background

@ochan12 had kindly introduced the more modern notification syntax for Win32 when we eventually upgraded electron

What change is being introduced by this PR?

Updating the notification syntax, fixing some of the code that was previously there. For some reason, the button text only works if the variable is assigned first:
image

How will this be tested?

Tested it locally, but I'm not 100% sure it works

Copy link

codecov bot commented Nov 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (26066c4) 79.37% compared to head (95e521b) 79.40%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1039      +/-   ##
==========================================
+ Coverage   79.37%   79.40%   +0.03%     
==========================================
  Files          21       21              
  Lines        1275     1277       +2     
  Branches      189      189              
==========================================
+ Hits         1012     1014       +2     
  Misses        263      263              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@araujoarthur0
Copy link
Collaborator

@tupaschoal looks like the tests failed

@tupaschoal
Copy link
Collaborator Author

@araujoarthur0 should be fine now, since we changed the way that win32 notifications are created, I needed to check different notification parameters for the tests

@araujoarthur0 araujoarthur0 merged commit b935ef3 into TTLApp:main Nov 22, 2023
8 checks passed
@araujoarthur0
Copy link
Collaborator

\changelog-update
Message: Fix #1039: Use toast notification syntax to support actions on Win32

@tupaschoal
Copy link
Collaborator Author

\changelog-update
Message: Fix [#1039]: Use toast notification syntax to support actions on Win32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants