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
Add API method for showing OS notifications; integrate with jobs #3960
Comments
Also worth thinking about: the console's global progress bar (which summarizes the progress of all currently running background jobs) could be mirrored in the dock/taskbar. We're not using Electron, but this summarizes the idea well: |
FWIW https://github.com/gaborcsardi/notifier is cross platform and works well on macOS at least, it is what I have used since it was released. |
1 similar comment
FWIW https://github.com/gaborcsardi/notifier is cross platform and works well on macOS at least, it is what I have used since it was released. |
As someone who is new to R, it would be great to get a desktop notification when execution of a block finishes. |
I just want the window to flash when it's done and to have the option in the API. This behavior is part of my SQL IDE and helps immensely. I can make a separate issue if you prefer. Could be nice to choose:
Update: Chiming back in to say |
Taking this out of the Electron milestone. This isn't Electron-specific, and we aren't trying to add new features as part of the initial Electron release, just parity with the existing Desktop. |
Today, if you're running some code in RStudio that might take a while, there's no good mechanism for getting notified when it's done. There are a variety of R packages that can help, but the only truly cross-platform solution emits a simple beep, which isn't much help if you're away from your desk.
RStudio's API could add a method that would show a simple text notification, to be optionally used at the end of a long task. With the appropriate backends, it could show:
NSUserNotification
or UserNotificationsYou could call this API at the end of your R Script to show a custom notification on completion. Optionally, we'd also show you an auto-generated notification:
Other interesting resources:
The text was updated successfully, but these errors were encountered: