Skip to content

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

Merged
claucambra merged 1 commit into
masterfrom
feature/macos-notifications
May 11, 2022
Merged

Revamp notifications for macOS and add support for actionable update notifications#4512
claucambra merged 1 commit into
masterfrom
feature/macos-notifications

Conversation

@claucambra

Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

/backport to stable-3.5

@mgallien

Copy link
Copy Markdown
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
…date notifications

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@mgallien mgallien force-pushed the feature/macos-notifications branch from c843283 to c22d595 Compare May 11, 2022 15:33
@nextcloud-desktop-bot

Copy link
Copy Markdown

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
Copy Markdown

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