Skip to content

Sovereign: restyle configuration preview, approval and apply results #2514

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

Build the shared settings editor and review flow on the existing host preview/commit contract. This is also the visual pattern for worker review, whose backend contract is separate.

  • Work type: Existing control workflow redesign.
  • Design references: 06 Settings/review; 22 review pattern; all settings panels (existing Sovereign mockups attached below; sample data, not runtime evidence).
  • Inventory coverage: C11–C14.

Existing Sovereign mockups

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

06 · Settings and review

Sovereign — Settings and review

22 · Bulk configuration review

Sovereign — Bulk configuration review

Complete 36-image gallery · Parent: #2478

what it impacts

Dependencies and boundaries

Build on #2512, #2513.

Related work: #2367, #1959. Existing issues retain ownership of their behavior.

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

Cover form/JSON equivalence, policy rejection, redaction, stale preview and apply failure using existing contract tests; keyboard-test review dialogs. 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

  • Keep form/JSON round trips and file import; reject invalid input, disable unchanged submission, preserve unknown keys and make secret keep/replace/explicit-clear behavior unambiguous.
  • Show the exact before/after values, target and service/restart/data effects from host preview; redact secrets in diffs, history and exports.
  • Render editable, confirmation, approval and host-only authority from the current host policy. Typed words are UX confirmation, never authorization.
  • Handle rejected/expired/stale previews and required payout or other confirmations; do not apply a different draft than the reviewed one.
  • Distinguish accepted, pending, running, applied and failed; retain results across navigation and show desired/running divergence with recovery instructions.
  • Explain control-disabled, unavailable configuration and reload failures without making read-only information disappear.

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

    No corrections needed — the brief holds as written. (Investigation brief, pithead#2514, re-verified 2026-09-23 against pithead-ro @ a5af51a, gh issue/PR state, and git log on dashboard/mining_dashboard/web/static/config/.)

    This is a restyle, not a bug fix or missing feature. The functional flow it targets — form/JSON round trip, core-key pinning, editable-key gating, secret masking, typed-confirm, poll/result states, stale/expired preview handling — already exists and is actively maintained: configview.mjs:1-19, configlogic.mjs:4-19 (secret sentinel + _core_keys/_editable_keys), configlogic.mjs:259-271 (core regroup, #529 RATIFIED Wave-0), configlogic.mjs:310-320 (_editable_keys gate, #613), applyfailure.mjs and confighistory.mjs (failure/history surfaces). Nothing in the acceptance criteria (confirmed against the live issue body) describes behavior missing from this code — they restate what's already there, now targeting Sovereign visuals.

    still_valid: yes — the Sovereign visual system these panels would be restyled into does not exist yet; verified #2512 and #2513 remain OPEN with zero merged PRs against either.

    root_cause: dependency ordering, not a defect. #2514 depends on #2512 (Sovereign theme tokens/shared controls) and #2513 (Sovereign nav/page shell), both open and unstarted — confirmed via gh issue view and a PR search finding no merged work referencing either number.

    fix_shape: reskin configview.mjs/configlogic.mjs/configpreview.mjs's existing structure and state machine with Sovereign tokens/controls and shell, once #2512/#2513 land. Zero changes to the host preview/commit contract, coercion, redaction, or polling.

    evidence_tier: tier-1 — UI-only, confined to dashboard/mining_dashboard/web/static/config/, doesn't touch build/, compose, control plane, deploy/upgrade, merge-mining, Tor, or miners, so tier-follows-the-path does not require tier4-e2e; the issue's own sanitized-screenshot requirement plus keyboard-nav testing of the dialogs covers it.

    rulings_needed:

    1. Keep Sovereign: restyle configuration preview, approval and apply results #2514 blocked on Sovereign: establish accessible theme tokens and shared controls #2512/Sovereign: build navigation, page headers and persistent status #2513, or let a worker restyle against current shared components now and re-skin later? Default: keep blocked.
    2. Confirm scope is visual-only, no functional changes — any functional gap found during implementation becomes its own issue. Default: yes.

    duplicates_or_blockers: blocked by #2512, #2513 (both confirmed open/unstarted, no PRs). Related but distinct: #2367, #1959 (confirmed in v2 - appliance milestone, backend field-editability — different scope).

    Triage recommendation: MOVE-sovereign-ui — already correctly placed in the frozen Sovereign UI — post-2.0 milestone with its dependencies; issue body itself states "After 2.0.0 GA; not a GA release blocker." No change needed.

  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2512; #2513 is also required. Both implementation prerequisites remain open. The theme/shared controls and navigation shell must land before this configuration-review restyle can consume them. The earlier Sovereign preview PR #2782 is closed without merging and does not supply those prerequisites.

    The latest trusted direction on #2478 and #2513 moves the redesign to the lean four-page interface built on the v2.1.0 configuration model and explicitly stops further work on the current dashboard UI. This session verified the issue threads and repository guidance; the working tree is clean and no implementation, tests, bench jobs or PR were created. Resume after the prerequisite changes land, then reconcile #2514 with the current shared components and that direction before editing.

  4. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2512. Blocked on pithead#2512 and #2513: both shared UI prerequisites remain open, and newer trusted direction stops further work on the current dashboard UI. Posted the dependency explanation on #2514; no source changes, tests or PR were created. Resume after the prerequisites land against the v2.1.0 configuration model.

    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): v2.1.0 UI work waits for the lean UI spec (#3566), which maps this issue to one of the 4 pages or folds or closes it. That stops rounds being spent on the old 36-screen Sovereign scope. Unblocks when #3566 closes.

  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. The preview, approval and apply-result dialog is the Settings commit flow and is reused by the wizard, wallet changes and rig changes. Its safety strength (typed APPLY, payout-suffix inputs, typed confirmations) is unchanged; rows are in plain words, with #3382 and #3383 fixing wrong rows in the model. The restyle ships on the #2513 tokens.

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

    blockeddashboardenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions