-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[Ntfy] Action link should only be included if url is defined #3274
Comments
This seems to happen for those cases where no URL is available, e.g. when monitoring a docker container. Could this also be the issue in your case @cfouche3005 ? |
Yes, I can confirm (when I create an http monitor, the button on the notification redirect me to the monitored website), I was thinking that the button redirected to the probe on uptime-kuma, not the monitored website (but it make sense) |
@cfouche3005 |
@CommanderStorm Sorry if it wasn't clear (English is not my first language), the issue is just a "normal" behavior : Uptime-Kuma set the action button web link with the monitored website but for Groups (or docker container), witch doesn't have a web link, it just set a blank link. The rest of the issue was just a misunderstanding of the actual behavior. |
Just to clarify, the issue occurs currently for those monitors that do not have a URL associated to them (like docker containers). The ntfy notification logic just assumes, that the URL field is set for every monitor and sets it as the target action of the "Open " button, it adds to the notification. This leads to confusion to the user, because the button leads to an empty tab. Therefore uptime-kuma should either set the action to something meaningful (like a link to uptime-kuma itself) or don't display the button at all. EDITED to state my opinion more clearly |
🛡️ Security Policy
Description
When using the ntfy notification, uptime-kuma create an action button to go to the uptime-kuma page on the ntfy notification but the actual link is not completed. The main URL is setup on uptime-kuma
👟 Reproduction steps
Create an ntfy notification
Receive a down or up notification
Click on the action button on ntfy
See the result
👀 Expected behavior
the action button take you to the uptime-kuma page
😓 Actual Behavior
the action button take you to a about:blank page
🐻 Uptime-Kuma Version
1.22.0-beta.0
💻 Operating System and Arch
Fly.io
🌐 Browser
Not browser related
🐋 Docker Version
Fly.io
🟩 NodeJS Version
No response
📝 Relevant log output
No response
The text was updated successfully, but these errors were encountered: