Move Notifications back to Settings and link to it from Alert settings

Alert settings keeps Alert rules, Service levels and Alert tickets; administrators get a link to Settings -> Notifications.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-03 20:49:09 +01:00
1 parent 4269213275
commit ccb863e7c3
32 files changed
+152 -150

No files matched your search

+3 -3
View File
@@ -6,7 +6,7 @@ here, and they are easy to mix up:
| | **Event webhooks** | **The notification webhook** |
|---|---|---|
| For | **Machines**: a structured, signed JSON message per event | **People**: the same sentence a human would read, posted to a chat-style endpoint |
| Where | **Settings → API and webhooks → Event webhooks** | **Alert settings → Notifications → Channels → Webhook** |
| Where | **Settings → API and webhooks → Event webhooks** | **Settings → Notifications → Channels → Webhook** |
| Sent when | An alert opens or resolves, a maintenance window starts or ends | Whenever a notification is sent to a channel (it is one of the five channels) |
| Body | `{ event, id, createdAt, source, data }` | `{ "content": "**Title**\nmessage" }` |
| Authenticity | `X-HLM-Signature` — an HMAC-SHA256 of the body | a shared secret in `X-Webhook-Secret` (not a signature) |
@@ -274,7 +274,7 @@ def hook():
The fifth notification channel (beside Gotify, ntfy, email and push) posts each notification to a URL you give it, as the sentence a person would read — handy for chat tools that accept an incoming-webhook post.
**Alert settings → Notifications → Channels → Webhook**: switch it on, give the address, and optionally a secret.
**Settings → Notifications → Channels → Webhook**: switch it on, give the address, and optionally a secret.
```
POST <your address>
@@ -294,7 +294,7 @@ X-Webhook-Secret: <the secret> (only if one is set)
## Buttons on notifications
A notification can carry buttons that act on the alert it is about, from the phone's lock screen, without signing in: **Acknowledge**, **Silence for an hour** and **Snooze until tomorrow at 09:00**. An administrator switches
it on under **Alert settings → Notifications → Who hears what → Buttons on notifications**; it is off until then, and off means no link works. How each channel shows them is in [NOTIFICATIONS.md](../NOTIFICATIONS.md#buttons-on-notifications).
it on under **Settings → Notifications → Who hears what → Buttons on notifications**; it is off until then, and off means no link works. How each channel shows them is in [NOTIFICATIONS.md](../NOTIFICATIONS.md#buttons-on-notifications).
The addresses behind them, for anything that wants to build on it: