diff options
| author | Adam Malczewski <[email protected]> | 2026-06-01 09:28:37 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-01 09:28:37 +0900 |
| commit | 786bc4336c9e4619385e9bce105f95727bcbb6ca (patch) | |
| tree | 4b1e32dcf3fa1aaaab855a67396678d80aba2a10 /packaging/[email protected] | |
| parent | 21cdb1199599c4dc6e2a941e52713ba6511cd675 (diff) | |
| download | dispatch-786bc4336c9e4619385e9bce105f95727bcbb6ca.tar.gz dispatch-786bc4336c9e4619385e9bce105f95727bcbb6ca.zip | |
feat(frontend): ntfy.sh settings block in SettingsPanel
Adds a 'Notifications (ntfy.sh)' section below 'Backend URL' with:
- Enable toggle (master switch)
- Topic URL field (with security hint: anyone with the URL can read)
- Optional auth token (password input; placeholder reflects whether one
is already stored, and a 'Clear stored token' button surfaces only when
hasAuthToken=true)
- Per-event-type checkboxes driven by the eventTypes catalog returned
from GET /notifications (so adding a new event type in core doesn't
require a frontend change)
- Save + Send test buttons, with inline success/error feedback
The component hand-mirrors the NtfyConfig shape rather than importing it
from @dispatch/core — matching the existing pattern (lib/types.ts mirrors
a few core types) to keep node-only barrels out of the browser bundle.
Diffstat (limited to 'packaging/[email protected]')
0 files changed, 0 insertions, 0 deletions
