Skip to content

Sovereign: expose all notification destinations and event subscriptions #2535

Closed as not planned

Description

@VijitSingh97

What's the problem

Parent: #2478 · Milestone: Sovereign UI — post-2.0 · After 2.0.0 GA; not a GA release blocker.

Deliverable

Expose notifications as an existing product capability, separating delivery destinations, event subscriptions, summaries and remote commands.

  • Work type: Existing notification redesign.
  • Design references: 18 Notifications (existing Sovereign mockups attached below; sample data, not runtime evidence).
  • Inventory coverage: C6–C7; 27 Telegram subscriptions.

Existing Sovereign mockups

Existing concept images with sample data. The acceptance criteria and validated host/API contracts take precedence over illustrative labels or values.

18 · Notifications

Sovereign — Notifications

Complete 36-image gallery · Parent: #2478

what it impacts

Dependencies and boundaries

Build on #2514.

Use the current host/API/schema contract when implementation starts; the design inventory is a baseline, not proof that develop has not changed. Preserve the parent accessibility, privacy, offline and authority rules. Any missing backend capability must be explicit, never represented by fabricated live data.

How I found it

Verification

Verify every subscription round-trips, group controls respect protected fields, destination validation/redaction and unavailable delivery evidence. Follow #2478's required checks and attach sanitized visual evidence to the implementing PR. This issue does not authorize a live deployment or changes to miners/nodes.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Acceptance criteria

  • Preserve Telegram token/chat/enabled state, ntfy URL/token, webhooks, notification Tor routing and Healthchecks heartbeat settings.
  • Expose all 27 subscriptions: nodes/services (5), machines/performance (9), storage/database (3), rewards/participation (6), security (2), summaries/releases (2). Compare against the current schema if keys have changed.
  • Keep daily summary timing and Telegram commands distinct; command enablement and protected alarms retain current host approval/policy.
  • Group toggles must preserve per-field authority, and secrets use the shared keep/replace/clear workflow.
  • Show only delivery/test status the backend actually provides; a new send-test endpoint is not implied by a mockup.

possible solutions

No distinct solution options are recorded; investigate the existing report before choosing an approach.

Activity

  1. added
    enhancement
    dashboard
    notifications
    on Sep 22, 2026
  2. pithead-developer commented on Sep 24, 2026

    @pithead-developer
    Contributor

    Investigation brief (operator pre-read, 2026-09-23) — verified against develop@pithead-ro

    still_valid: yes. grep -rli sovereign dashboard/ in the current checkout returns zero hits — no Sovereign UI code exists yet, so nothing has superseded or partially fixed this; it remains an open design gap. No PR references #2535 and its dependency chain (#2514, #2512, #2513) is still fully open.

    root_cause: the backend already carries everything the issue asks to expose — config.py:425-453 defines the TELEGRAM_EVENTS dict with exactly 27 keys, name-for-name matching the parent #2478 issue's own audited 27-subscription breakdown (nodes/services 5, machines/performance 9, storage/database 3, rewards/participation 6, security 2, summaries/releases 2). Sinks: ntfy/webhook config at config.py:468-475 (NOTIFY_WEBHOOK_URLS, NTFY_URL, NTFY_TOKEN, NOTIFY_TOR); Healthchecks heartbeat at config.py:380; notification Tor routing folded into the same NOTIFY_TOR block. There is simply no Sovereign-styled panel rendering any of it yet.

    fix_shape: one new notifications panel built on the shared settings editor/review pattern from #2514 (grouped 5/9/3/6/2/2 per the parent issue's own breakdown), reading/writing the existing telegram.events/notifications.* schema and existing sinks (telegram_notifier.py, notify_sinks.py, healthchecks.py; wizard/form.py already renders the same telegram/healthchecks fields for first-run and is the pattern to match, not duplicate). Reuse #2514's keep/replace/clear secrets workflow for the Telegram token, ntfy token and webhook URL. Show only delivery/test status the backend actually returns.

    evidence_tier: inferred — no diff or PR exists for this issue; conclusions come from reading config.py/notify/*/wizard/form.py against the acceptance criteria in the develop checkout. Not a tier4-e2e case under tier-follows-the-path: this is UI work reading existing config, with no change to build/, compose, config rendering, control plane, deploy/upgrade/restore, merge-mining, Tor, or miners.

    rulings_needed:

    1. Hard-block Sovereign: expose all notification destinations and event subscriptions #2535 on Sovereign: restyle configuration preview, approval and apply results #2514 landing first, vs. allow ad-hoc controls now? Default: block on Sovereign: restyle configuration preview, approval and apply results #2514 — and note Sovereign: restyle configuration preview, approval and apply results #2514 itself is still blocked on Sovereign: establish accessible theme tokens and shared controls #2512/Sovereign: build navigation, page headers and persistent status #2513 (both open), so the real wait is on the whole foundation tier, not Sovereign: restyle configuration preview, approval and apply results #2514 alone.
    2. Re-verify the "27 subscriptions" count at implementation time rather than trust the issue body, since config.py may drift before this is picked up.

    duplicates_or_blockers: blocked by #2514 (open, unbuilt shared settings editor/review pattern), which is itself blocked by #2512 and #2513 (both open, foundation tier); parent #2478 (Sovereign UI overhaul tracker, open) sets overall scope.

    Triage recommendation: MOVE-sovereign-ui — already correctly milestoned "Sovereign UI — post-2.0" and the issue body itself says "After 2.0.0 GA; not a GA release blocker"; this is designed future UI work with no security, data-loss, or Tari-fork angle, so it has no claim on 2.0.0 or the maintenance milestones.

    Verify against the code before relying on this; it was written by an investigator, not the implementer.

  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2514 for #2535 and #2542; #2513 is also required for the grouped #2540 maintenance view.

    Both shared UI prerequisites remain open and their implementations are absent from develop-v2.1.0 at a10dbf0. The latest trusted direction on #2478 and #2513 requires the lean four-page interface built on the v2.1.0 configuration model and stops further work on the current dashboard UI. Implementing these panels now would duplicate the foundation or extend that superseded UI.

    Reviewed all three grouped issues, the relevant dependency threads, repository guidance and the current frontend contracts. No existing open PR owns the group; preview PR #2782 is closed without merging. #2523 was folded into #2540 by the owner, so it is not an outstanding dependency; #2540 retains that server-health scope.

    No source changes, tests, bench jobs or PR were created. Resume this group after #2514 and #2513 land, then reconcile the notifications, maintenance and update acceptance criteria with the landed shared components and configuration model before editing.

  4. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2514. The group needs #2514’s shared settings review and #2513’s navigation foundation, both still open and absent from develop-v2.1.0. Posted blocker explanations on all three issues; no code changes, tests or PR were created. Resume after those prerequisites land under the approved lean UI direction.

    The runner resumes this issue when that one closes.

  5. added
    blocked
    on Oct 21, 2026
  6. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked (operator, 2026-10-21): this screen binds to configuration, so it waits for the lean UI spec (#3566) and for the v2.1.0 configuration model (#3557, the profile, defaults table and key diet). Unblocks when both close.

  7. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Rescoped to the lean UI spec #3566 (operator, 2026-10-21): Folded into #2530. Notifications become one Alerts card: Connect Telegram (bot token and chat id), then one level (All, Important, Critical, Off). The per-event matrix is removed. The alert-level model and the migration of existing choices to the nearest level are owned by the alert-level issue under the configuration model (#3557); this issue builds the card on it. Webhooks, ntfy, the daily summary time and bot commands sit in Advanced > Alerts detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockeddashboardenhancementnotifications

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions