-
-
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] priority level is not clearly communicated to the user #4174
Comments
So sorry, just read the ntfy.js file and this appears to be the intended behavior. This is based on lines 44-45. |
The behaviour is this way since #2863 uptime-kuma/server/notification-providers/ntfy.js Lines 44 to 45 in ad4629c
=> down monitors have n+1 |
Thank you so much for the quick reply! |
Missing documentation / confusing UX is a bug too (!). |
@tdavis6 |
I think that looks good! However, if the set priority is 3 and it bumps it to 4 that might not be clear. I'm trying to think of something that would make that behavior clear, without being too long to put there. |
Perhaps "All events are sent with this priority, except DOWN-events, which have a priority one above this, with a maximum of 5". Although this might be too long. |
Thank you so much for helping me! |
I wasn't aware of this functionality. Would it be too much to have a separate priority for down alerts? |
Resolved by #4175 |
🛡️ Security Policy
Description
When a notification is triggered, it sends to ntfy with a priority of 5. This is the incorrect behavior because it is set to send with a priority of 4. The double chevron indicates a priority of 4, while the triple chevron indicates a priority of 5.
Thank you so much for such an awesome app!
👟 Reproduction steps
This is triggered by setting a notification to use ntfy, with a priority of 4. Then, if a monitor goes down, the notification is sent with a priority of 5.
👀 Expected behavior
It would be expected that the notification is sent with a priority of 4.
😓 Actual Behavior
The notification was sent with a priority of 5.
🐻 Uptime-Kuma Version
1.23.8
💻 Operating System and Arch
Synology DSM 7.2.1-69057 Update 3
🌐 Browser
Firefox 120.0.1
🐋 Docker Version
20.10.23
🟩 NodeJS Version
No response
📝 Relevant log output
No response
The text was updated successfully, but these errors were encountered: