The console notification-channel form edits webhook templates from ready-made presets and sends a test #159

Open
opened 2026-10-31 12:42:17 -04:00 by claude · 0 comments
Owner
  • Draft: PN-69
  • Priority: medium (channels work without it)
  • Agent: console-coder
  • Depends on: #158
  • Decisions: Q-PN-7

Why

Writing a template for each push service by hand is error-prone.

What changes

src/angular/src/app/features/notification-channels/ form:

  • For webhook channels, a preset picker for ntfy, Gotify, Discord and Slack. Each preset fills the URL hint, content type and template, written from that service's own published API documentation.
  • A placeholder help list ({{eventType}}, {{occurredAtUtc}}, {{server.hostName}}, {{event.*}}).
  • A "Send test" button on every channel kind that calls POST api/notification-channels/{id}/test and shows the outcome.

Acceptance

  • Specs: picking the ntfy preset fills the template and content type; the test button calls the endpoint and shows the status; lint, format and tests pass.

Source

audit-feature-parity.md §2A #12.
Owner decision 2026-10-31: Q-PN-7.

- **Draft:** PN-69 - **Priority:** medium (channels work without it) - **Agent:** console-coder - **Depends on:** #158 - **Decisions:** Q-PN-7 ### Why Writing a template for each push service by hand is error-prone. ### What changes `src/angular/src/app/features/notification-channels/` form: - For webhook channels, a preset picker for ntfy, Gotify, Discord and Slack. Each preset fills the URL hint, content type and template, written from that service's own published API documentation. - A placeholder help list (`{{eventType}}`, `{{occurredAtUtc}}`, `{{server.hostName}}`, `{{event.*}}`). - A "Send test" button on every channel kind that calls `POST api/notification-channels/{id}/test` and shows the outcome. ### Acceptance - [ ] Specs: picking the ntfy preset fills the template and content type; the test button calls the endpoint and shows the status; lint, format and tests pass. ### Source `audit-feature-parity.md` §2A #12. Owner decision 2026-10-31: Q-PN-7.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#159
No description provided.