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

Feature request: clickable links in notifications #10

Open
ryanwalls opened this issue Feb 12, 2018 · 1 comment
Open

Feature request: clickable links in notifications #10

ryanwalls opened this issue Feb 12, 2018 · 1 comment

Comments

@ryanwalls
Copy link

Would love to be able to add a clickable link to notifications. Not sure how this would be implemented cross-platform, but toast on windows 10 has the capability (see https://github.com/go-toast/toast).

Other recommendations to accomplish the same thing?

@gen2brain
Copy link
Owner

gen2brain commented Feb 12, 2018

On Linux there is support for actions https://developer.gnome.org/notification-spec/ . It will need to check capabilities of notification daemon first, some do not have support.
I never used actions, will need to see how it can be done with dbus.

It seems that macOS do not support actions/callbacks https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/DisplayNotifications.html .

Edit: For JS there is support for actions https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification .

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

No branches or pull requests

2 participants