Skip to content

Sovereign: build navigation, page headers and persistent status #2513

Closed

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

Replace the global Simple / Advanced / Configuration split with Overview, Your machines, Earnings, Network and Activity; Settings and Help remain easy to reach.

  • Work type: Existing UI redesign.
  • Design references: All authenticated pages (existing Sovereign mockups attached below; sample data, not runtime evidence).
  • Inventory coverage: O4–O7; E11.

Existing Sovereign mockups

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

Overview · Overview

Sovereign — Overview

19 · Fleet · 100 workers

Sovereign — Fleet · 100 workers

Complete 36-image gallery · Parent: #2478

what it impacts

Dependencies and boundaries

Build on #2512.

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

Exercise first load, expired session, disconnected polling, old links, back/forward and unsaved edits at desktop and mobile widths. 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

  • Implement the Sovereign sidebar and compact mobile navigation, consistent page title, status and freshness; put the Pithead server summary behind a clear Machines link.
  • Preserve deep links, chart range URLs, browser back/forward, selected tabs and saved preferences. Define how old navigation links land without losing expert views.
  • Keep the last successful snapshot visible on polling failure with its timestamp, retry and disconnected state; unknown, stale and zero must remain distinct.
  • Preserve unsaved drafts or ask before discarding them, including reload/navigation. Use accessible route focus and announcements.
  • Mask addresses/hostnames in summary views by default; authorized connection and payout screens can deliberately reveal/copy necessary values.

possible solutions

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

Activity

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

    @pithead-developer
    Contributor

    Investigation brief (operator pre-read, 2026-09-23 — corrected)

    Issue: pithead#2513 — Sovereign: build navigation, page headers and persistent status (Sovereign UI — post-2.0, parent #2478, depends on #2512).

    Still valid: Yes. The current develop head still has the flat Simple/Advanced/Configuration toggle-group at dashboard/mining_dashboard/web/static/app/components.mjs:73-79, with no sidebar or per-page headers. CHANGELOG.md has no Sovereign entries and no PR references #2513 or #2512 — nothing has landed.

    Root cause: Not a bug — a planned redesign not yet started. No fix to diagnose; this is a build-out ticket.

    Files (corrected):

    • dashboard/mining_dashboard/web/static/app/components.mjs:73-79 — current Simple/Advanced/Configuration toggle-group to be replaced.
    • dashboard/mining_dashboard/web/static/app/components.mjs:174 — existing disconnected-banner (shows last-known state + timestamp on poll failure); reuse/extend this into the persistent status chip rather than building from scratch.
    • dashboard/mining_dashboard/web/static/dashboard.js:96,142-163,198-205 — actual view-state (setView) and polling/connection state (connected, tick()), not ui.mjs or logic.mjs as previously cited.
    • dashboard/mining_dashboard/web/templates/index.html:24-27 — Preact app shell, no nav shell yet.
    • dashboard/mining_dashboard/web/static/app/header.mjs:22 — single static <h1>Pithead</h1>; no per-page titles.

    Fix shape: No minimal diff exists yet. This is a genuine UI build: sidebar + mobile nav, per-page header component, and a persistent status chip that extends the existing disconnected-banner/connected state in dashboard.js, plus deep-link/back-forward/unsaved-draft preservation. Recommend splitting: (1) nav shell + headers + status chip (reusing the existing banner/connected wiring), (2) route/state preservation + masking behavior, so each PR carries scoped tier4-e2e evidence rather than one large diff.

    Evidence tier: Inferred from reading current code (file:line above); no runtime/tier4 evidence exists since no implementation PR exists yet — consistent with "tier follows the path," which only applies once something is built.

    Blockers: Explicitly depends on #2512 (theme tokens/shared controls), itself open with no PR. Parent #2478 governs accessibility/privacy/offline rules this issue must preserve.

    Rulings needed:

    1. Sequence Sovereign: establish accessible theme tokens and shared controls #2512 before Sovereign: build navigation, page headers and persistent status #2513 work starts? Default: yes.
    2. Split Sovereign: build navigation, page headers and persistent status #2513 into nav-shell/status-chip vs. state-preservation PRs? Default: yes.
    3. Route the address/hostname masking AC through security-reviewer? Default: yes.

    Ready: No — a worker could not implement from this brief alone; #2512's shared tokens/controls need to land first, and the split above needs a ruling before scoping a single PR.

    Triage recommendation: KEEP-sovereign-ui — already correctly milestoned (Sovereign UI — post-2.0, frozen until GA); the issue's own text says it's after 2.0.0 GA and not a release blocker, and nothing here is a security/data-loss/Tari-fork/GA-checklist item, so no milestone move is needed, just leave it parked.

    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

    Rescoped (owner, 2026-10-21): from 'keep every field' to the lean 4-page model: Overview, Machines, Earnings, Settings, one Performance / Balance / Privacy profile control, and an Advanced drawer for the rest, with at most 10 controls outside Advanced. Builds on the v2.1.0 config model; no further work on the current dashboard UI.

  4. 18 remaining items

  5. removed
    blocked
    on Oct 27, 2026
  6. added a commit that references this issue on Oct 30, 2026
    7cbf81b
  7. pithead-developer commented on Oct 30, 2026

    @pithead-developer
    Contributor

    Merged in #3584.

  8. added 2 commits that reference this issue on Oct 31, 2026
    64e34ac
    04d1fa8
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

    dashboardenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions