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

feat: set urgency on linux notifications #20152

Merged
merged 3 commits into from Sep 19, 2019
Merged

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Sep 6, 2019

Description of Change

Enable users to customize the urgency levels of Linux notifications.

Checklist

Release Notes

Notes: Added an urgency property to allow customization of Linux-based notifications.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Sep 6, 2019
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

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

We can make this cross-platform as far as windows --> https://docs.microsoft.com/en-us/uwp/api/windows.ui.notifications.toastnotification.priority

macOS does not support changing the notificaiton priority at runtime.

@codebytere codebytere force-pushed the linux-notif-urgency branch 3 times, most recently from 82aa2b9 to caed6a7 Compare September 6, 2019 19:08
@codebytere codebytere changed the title [wip] feat: set urgency on linux notifications feat: set urgency on linux notifications Sep 6, 2019
@codebytere codebytere force-pushed the linux-notif-urgency branch 2 times, most recently from a9db090 to 0a40a19 Compare September 6, 2019 21:11
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 7, 2019
Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

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

@MarshallOfSound is right about making this x-platform, but it doesn't all need to happen in one PR. This PR LGTM for Linux.

docs/api/notification.md Outdated Show resolved Hide resolved
Co-Authored-By: Charles Kerr <ckerr@github.com>
@MarshallOfSound MarshallOfSound dismissed their stale review September 18, 2019 23:03

dismissing based on review

@codebytere codebytere merged commit ffe2182 into master Sep 19, 2019
@release-clerk
Copy link

release-clerk bot commented Sep 19, 2019

Release Notes Persisted

Added an urgency property to allow customization of Linux-based notifications.

@codebytere codebytere deleted the linux-notif-urgency branch September 19, 2019 05:35
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.

None yet

3 participants