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

Think about ways to use desktop notifications #102

Open
simonw opened this issue Sep 11, 2021 · 1 comment
Open

Think about ways to use desktop notifications #102

simonw opened this issue Sep 11, 2021 · 1 comment
Labels

Comments

@simonw
Copy link
Owner

simonw commented Sep 11, 2021

Just spotted Electron has the ability to show native desktop notifications: https://www.electronjs.org/docs/tutorial/notifications

I fired up the Electron Chrome debugger and ran this:

const { Notification } = require('electron');
new Notification({ title: "This is a notification", body: "The notification body goes here" }).show()

And this happened (with a little ping noise):

notify.mov

Think about ways this could be useful.

@simonw
Copy link
Owner Author

simonw commented Sep 11, 2021

The obvious thing here is plugins that do any kind of long-winded process - from crunching a giant CSV file to enriching data through APIs. They could use notifications to let the user know that they are done.

Might even be something that can be done with scraping automation further down the line.

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

No branches or pull requests

1 participant