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

Revamp notifications for macOS and add support for actionable update notifications #4512

Merged
merged 1 commit into from
May 11, 2022

Conversation

claucambra
Copy link
Collaborator

Our current implementation of macOS notification support uses deprecated code that prevents us from meaningfully customising notifications and making them more interactive (and thus more useful).

This PR reimplements our notification support by using Apple's UserNotifications framework, which allows us a lot more flexibility with what we can do with notifications.

Thanks to this, this PR also implements support for interactive update notifications which, upon clicking, redirect the user to the download page for the desktop client when we are not using the Sparkle auto-updater.

Screenshot 2022-05-10 at 16 21 23

@claucambra claucambra self-assigned this May 10, 2022
@claucambra
Copy link
Collaborator Author

/backport to stable-3.5

@mgallien
Copy link
Collaborator

/backport to stable-3.4

@claucambra claucambra force-pushed the feature/macos-notifications branch from b2f1170 to c843283 Compare May 11, 2022 14:41
@mgallien mgallien force-pushed the feature/macos-notifications branch from c843283 to c22d595 Compare May 11, 2022 15:33
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4512-c22d5959b8ebc018bfba421acae346f03e27a37e-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

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.

4 participants