Navigation Menu

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: allow Linux/Windows users to set notification timeout #20153

Merged
merged 2 commits into from Oct 9, 2019

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Sep 6, 2019

Description of Change

Closes #12458.

Allows users to set timeout type of Linux and Windows notifications - either default or never.

cc @ckerr

Checklist

Release Notes

Notes: Added timeoutType property to allows users to set timeout type for Linux and Windows notifications.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Sep 6, 2019
@codebytere codebytere force-pushed the linux-notif-timeout branch 3 times, most recently from 9498433 to 04060e8 Compare September 6, 2019 21:14
@codebytere codebytere changed the title feat: allow Linux users to set notification timeout feat: allow Linux/Windows users to set notification timeout Sep 6, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 7, 2019
Copy link
Contributor

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

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

Small documentation nit

docs/api/notification.md Outdated Show resolved Hide resolved
@codebytere codebytere force-pushed the linux-notif-timeout branch 2 times, most recently from ebe5752 to 0806aee Compare September 17, 2019 16:45
@jkleinsc jkleinsc merged commit f80a17c into master Oct 9, 2019
@release-clerk
Copy link

release-clerk bot commented Oct 9, 2019

Release Notes Persisted

Added timeoutType property to allows users to set timeout type for Linux and Windows notifications.

@jkleinsc jkleinsc deleted the linux-notif-timeout branch October 9, 2019 15:22
Copy link
Member

@felixrieseberg felixrieseberg left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I'd call out that using the reminder scenario will force a notification sound to be played (the reminder sound, to be precise).

I'm not sure if setting the notification to silent actually overrides that behavior.

Either way, solid addition!

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.

Timeout parameter for Notification for Linux
4 participants