Repository navigation
Description
What's the problem
#2530 still specifies the pre-lean Settings: nine named categories with an "Other" fallback, "keep every field", and the current dashboard's configuration tab. The owner rescoped it on 2026-10-21 and ruled on 2026-10-27 that every page moves to the new Sovereign UI and no work goes into the current dashboard. Building to the old text would revive the 36-screen scope.
This story becomes the Settings page and the settings sections of the Advanced drawer in the lean UI spec #3566 (sections F and G): change how Pithead runs, in plain words. It sits on the Performance / Balance / Privacy profile (#3574) and the one-level alert model (#3578). It owns the work folded into it: the preview and apply flow (#2514), payout destinations (#2531), node modes (#2532), access and privacy (#2534), notifications (#2535), Prometheus (#2537), backup (#2541), updates (#2542) and draft clearing (#3323).
What it impacts
- Every dashboard user on appliance and DIY, on desktop and phone. A DIY user with a login gains a settings editor; a DIY user without a login gets a read-only page with one notice.
- The folded issues above. Their still-valid requirements are in the acceptance criteria, so closing them loses nothing.
- Neighbours, not in scope: shell and drawer container (Sovereign: build navigation, page headers and persistent status #2513); Maintenance sections, health check and support bundle (Sovereign: build maintenance health and contextual troubleshooting #2540); reboot and power off ([Feature] Appliance: reboot and power off from the dashboard #2384); the setup wizard (Sovereign: redesign setup token, role and essential configuration steps #2543, whose profile step reuses this page's profile component); keys, profile mapping and migration (Implement the approved v2.1.0 configuration model and migration contract #3557 and its children); the Overview "no backup yet" attention item (Sovereign: build the contribution overview and attention summary #2515); rig updates on Machines (Sovereign: make the machines view usable for 2, 50 and 100 workers #2517).
- The project donation (Opt-in hashpower donation to the Pithead project wallet #2476) stays dark: this issue adds no donation control or text.
How I found it
- The rescope notes on Sovereign: organize mining and advanced settings without losing fields #2530 and on each folded issue (operator, 2026-10-16 and 2026-10-21) and the lean UI spec v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 (closed 2026-10-21), sections F, G, A and J.
- The old body and the earlier developer notes: written against the old shell, blocked on Sovereign: build navigation, page headers and persistent status #2513, then on v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 and Implement the approved v2.1.0 configuration model and migration contract #3557. Its category names, "Other" fallback and configuration-tab code belong to the UI that is deleted at the cutover (Sovereign: verify complete feature coverage, accessibility and migration #2547).
- Owner decisions of 2026-10-27: every page moves to the new Sovereign UI, old-UI stories are adapted or closed, and the shell Sovereign: build navigation, page headers and persistent status #2513 is the keystone, split so the shell lands first.
- Live state on 2026-10-27: Sovereign: build navigation, page headers and persistent status #2513 is open (draft PR dashboard: fix #2513 — build the lean UI shell #3584), the profile Add a Performance / Balance / Privacy profile that sets the privacy keys together #3574 is open (draft PR Add coordinated privacy profiles and Tor-only inbound peering #3632), and Cut the visible config keys to the Essentials and migrate 2.0.0 configs safely #3576, Replace the per-event Telegram switches with one alert level #3578 and Turn the dashboard settings editor on for DIY installs whenever a login is set #3579 are open and blocked.
- Not confirmed: how "(customized)" is derived (settled in Add a Performance / Balance / Privacy profile that sets the privacy keys together #3574); whether the key tier metadata from Cut the visible config keys to the Essentials and migrate 2.0.0 configs safely #3576 already reaches the frontend or needs an API field.
How important is it
High among v2.1.0 UI work. Settings is the only place a user changes the profile, alerts, payout view, updates and backups from the browser, so it carries the "no CLI after setup" claim, and the verification issue #2547 cannot pass without it. It is not a release emergency. It waits for the shell (#2513) and the configuration model (#3557).
Acceptance criteria
Scope
- Built only as the new Sovereign Settings page and the settings sections of its Advanced drawer, on the shell from Sovereign: build navigation, page headers and persistent status #2513. The current Configuration and Backup tabs get no change; they are deleted at the cutover (Sovereign: verify complete feature coverage, accessibility and migration #2547). Sections F, G, A and J of v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 apply.
Profile
- One profile control with three positions named exactly Performance, Balance and Privacy; Balance on a fresh install. Choosing one opens the shared preview in plain sentences, never raw keys, and the commit needs the typed APPLY. Performance names the lost privacy before commit; Privacy says every rig must be updated. An Advanced override of a governed key shows " (customized)". The sentences ship as worded only when they match the behavior tested in Add a Performance / Balance / Privacy profile that sets the privacy keys together #3574.
Cards
- Where you get paid: masked Monero and Tari addresses, read-only, with a link to Advanced > Payout. Changing an address or the view-only tracking fields sits in Advanced > Payout behind the preview gate and the payout-suffix confirmation. The page says a view key cannot spend and never asks for a seed or spend key; secrets keep, replace or clear with no value in logs or audit; tracking completeness and scan or probe errors are shown, and an unreachable wallet is not read as empty.
- Alerts: Connect Telegram (bot token, chat id), then one level: All, Important, Critical or Off, on the model of Replace the per-event Telegram switches with one alert level #3578. The always-on alarms named there are shown as on and cannot be switched. Webhooks, ntfy, the Healthchecks heartbeat, notification routing, the daily summary time and bot commands sit in Advanced > Alerts detail. Only delivery or test status the backend provides is shown; no send-test endpoint is implied.
- Updates: one "Update Pithead" button, rendered only when an update exists (signed OS image on the appliance, release upgrade on DIY). Its dialog keeps today's typed confirmations (upgrade; on the appliance also OS install and reboot) and states the mining interruption at the right stage. Appliance check, download and resume, verify, inactive-slot install, reboot and postboot verification are distinct real states, gated by platform and control capability. A running job and its result survive navigation and reconnect, and a pending or unknown check never reads as up to date. Rollback is claimed only where the stack or OS contract supports it and postboot evidence verifies it. Advanced > Update details holds the per-component detail; rig updates link to Machines.
- Backup: one "Back up now". Before it runs, the page states what the archive includes (config, environment, identity keys, dashboard history, applicable wallet material; blockchains excluded), the mining or stack interruption, and the permission and control-unavailable states. It shows queued, running, failed and completed, and offers the download only after a ready result. The one-time passphrase, emergency kit and archive handoff need an explicit save acknowledgement and never enter history or telemetry. Restore is not a dashboard action; the page links to setup and recovery.
Advanced drawer (settings sections)
- Key-backed sections: Node and network, Pool and rigs, Payout, Access, Remote access over Tor, Alerts detail, the Earnings keys listed in v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 section E, Appearance, Update details, and Configuration JSON last for list values. Maintenance (Sovereign: build maintenance health and contextual troubleshooting #2540) and the Activity list (Sovereign: build the contribution overview and attention summary #2515) fill their own sections. The drawer search matches labels and key names. Automatic keys show their derived value and why.
- Coverage: every Essential and Advanced key in the Cut the visible config keys to the Essentials and migrate 2.0.0 configs safely #3576 tier table appears in exactly one section or in the JSON editor, and a test fails when a reference key has none. Keys the reference does not know survive an edit unchanged. Resource limits, network and subnet, Tor storage and auto-heal, and data directories stay searchable. There is no generic shell or daemon-argument editor; expert P2Pool flags go through p2pool.extra_flags: an allowlisted passthrough so any upstream P2Pool option can be set from config.json, wizard and dashboard #2482.
- Node and network: Monero and Tari local or remote mode with endpoint and auth fields, and the pruning, peer, thread, memory, storage and data-directory effects in plain words. Initial sync transport is separate from ongoing egress, with no claim that all traffic follows one setting. LAN access to node APIs is a separate group from outbound Tor policy.
- Access and Remote access over Tor: HTTPS, hostname, port, login and Change password, onion switch, address and client key, public-IP display and timezone. Inbound dashboard access, management permission, node sharing and outbound Tor policy stay separate groups. Credentials are masked, and the preview warns about lockout or exposure and shows recovery information from the host result.
- Prometheus: Advanced shows the existing metrics endpoint, snapshot freshness and a collector guide. Copyable examples omit credentials, and nothing suggests disabling TLS verification or exposing authenticated metrics publicly.
Edit flow
- The existing host preview, approval and apply-result contract is reused unchanged: typed APPLY, payout-suffix inputs, core-key pinning, editable-key gating, secret masking, and stale or expired preview handling. Rows describe only the real edit effects (routing, mining interruption, P2Pool data, fail-closed behavior) in plain words.
- The unsaved draft is cleared when the dashboard session changes (expiry, sign-in as another user) and the page says "draft discarded: session changed". The browser suite tests each transition.
Platforms and control budget
- The page has at most four counted controls: profile, alerts, Update Pithead (only when an update exists) and Back up now. Fixtures for the appliance, DIY with a login and DIY without a login assert it; the whole app stays at or under ten (the Sovereign: verify complete feature coverage, accessibility and migration #2547 test). DIY without a login is read-only with one notice naming the CLI route, and shows none of the four.
- On DIY with a login every Essential and Advanced key is editable without the CLI under the same host gates as the appliance (Turn the dashboard settings editor on for DIY installs whenever a login is set #3579), and no text tells a DIY user to run
./pithead apply. The Remote access section is hidden on DIY without a login. - Deep-link targets exist for the other pages: Advanced > Payout (including payout tracking, from Earnings), Advanced > Pool and rigs (Overview pool-tier suggestion), Settings > Updates (shell "Update available" link) and Advanced > Update details.
Quality
- At 375 px there is no horizontal scroll; the keyboard reaches every control; contrast passes WCAG AA in light, dark and OS themes. No raw config key shows outside Advanced. Missing backend data shows as unavailable, never as fabricated live data.
- The Settings section of
docs/dashboard.mdis updated, and the docs and tests of removed controls are deleted. No explanatory source comments. The PR attaches sanitized screenshots at 375 px, tablet and desktop from the repo's viewport tool (No in-repo tool to screenshot the dashboard at a given viewport width #2402). No live deployment and no change to miners or nodes.
Possible solutions
- Stacked PRs on
develop-v2.1.0once the shell lands: (1) page frame, profile control and preview; (2) the Alerts, Updates, Backup and payout cards; (3) the Advanced sections, search, coverage test and JSON editor. Profile waits for Add a Performance / Balance / Privacy profile that sets the privacy keys together #3574, Alerts for Replace the per-event Telegram switches with one alert level #3578, coverage for Cut the visible config keys to the Essentials and migrate 2.0.0 configs safely #3576. - Drive search and coverage from the one key table (Cut the visible config keys to the Essentials and migrate 2.0.0 configs safely #3576 tier metadata) so a new key cannot ship without a place. A hand-written label map is a smaller diff but can drift from the table.
- For session changes, have the state poll report a distinct 401 outcome and clear the draft on it, as Clear the retained configuration draft when the dashboard session changes #3323 proposed.
- Unknown, to settle at the start: how "(customized)" is derived (Add a Performance / Balance / Privacy profile that sets the privacy keys together #3574), and whether the tier metadata reaches the frontend or needs an API field.
Earlier scope, kept as evidence only (superseded 2026-10-27; do not implement from it)
What's the problem
Parent: #2478 · Milestone: Sovereign UI — post-2.0 · After 2.0.0 GA; not a GA release blocker.
Deliverable
Establish settings category navigation/search, then place mining and advanced fields in their canonical homes using the current configuration schema.
- Work type: Existing settings redesign.
- Design references: 06 Settings; 32 Advanced (existing Sovereign mockups attached below; sample data, not runtime evidence).
- Inventory coverage: C1; C10–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
32 · Advanced settings
Complete 36-image gallery · Parent: #2478
what it impacts
Dependencies and boundaries
Build on #2514.
Related work: #2482, #2367. 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
Map every currently exposed configuration key to a category or Other and verify JSON round trips, field policy and edit effects. 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
- Provide Mining, Wallets & payouts, Nodes, Workers, Notifications, Access, Energy & alerts, Maintenance and Advanced; retain an Other fallback for unclassified nonhidden keys.
- Preserve core/pool/sidechain/stratum/local miner/proxy donation/XvB routing and identity/Tari-required controls with readable labels and optional raw keys.
- Explain only the actual edit effects, including routing, mining interruption, P2Pool data and fail-closed behavior, through shared host review.
- Keep advanced resource, network/subnet, Tor storage/auto-heal, data-directory and other fields searchable; preserve unknown keys and current authority boundaries.
- Use the reference schema/field inventory to prove parity. Reuse p2pool.extra_flags: an allowlisted passthrough so any upstream P2Pool option can be set from config.json, wizard and dashboard #2482 if extra flags become available; no generic shell or unrestricted daemon-argument editor.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.


Activity
pithead-developer commentedon Sep 24, 2026
Investigation brief (operator pre-read, 2026-09-23)
dashboard/mining_dashboard/web/static/config/configlogic.mjs:106-257,LOGICAL_GROUPS/classifyGroup/buildSections, merged 2026-07-17 via Config editor: logical section grouping (decouple the form from top-level config keys) #611/Config editor: nest telegram.events (26 toggles) into a collapsible group; same for ntfy/webhook sinks #612/Config editor: grey out host-only / non-committable fields (prune, data_dirs, secrets) instead of edit-then-reject #613/Config cleanup: config.json is too large/confusing — simplify the schema + add JSON/file-upload edit modes #529 — two months before Sovereign: organize mining and advanced settings without losing fields #2530 was filed on 2026-09-22). The remaining gap is naming/boundary mismatch against the AC's category list, a missing "Maintenance" category, no search/nav, and (see correction below) no human-readable field labels.LOGICAL_GROUPSuses "Payouts", "Monero node", "Tari node", "Dashboard & access", separate "Energy"/"Alerts" (configlogic.mjs:106-212) instead of the AC's "Wallets & payouts", "Nodes", "Access", "Energy & alerts";check_for_updatesetc. sit in "Advanced" with no "Maintenance" split.configview.mjs:1-40's own design comment confirms sections render as plain document-order<details>, no nav or search — verified: zero matches for search/filter/nav logic anywhere in configview.mjs or configlogic.mjs. Additionally,configview.mjs:102shows every field's rendered label is the raw dotted config key (e.g.monero.wallet_address), not a human-readable label — the AC's "readable labels and optional raw keys" line is unaddressed by the current code and by this brief's original fix_shape.LOGICAL_GROUPSprefixes to the AC names, split a "Maintenance" bucket out of "Advanced", add a client-side text filter over the rendered fields (no schema/API change, no new component), and add a small readable-label map for the core/routing/identity fields the AC names (mirroring the wizard's existing label pattern) while keeping the raw dotted key visible as a secondary/optional label — this was missing from the original diff estimate. Updateconfiglogic.test.mjs's full-coverage assertion to the new names.extra_flagsnow or later? default: later, p2pool.extra_flags: an allowlisted passthrough so any upstream P2Pool option can be set from config.json, wizard and dashboard #2482 is still open (confirmed, milestone "v2.x - post-GA"). (4) how far does "readable labels" need to go — every field, or just the AC's named core/routing/identity subset? default: the named subset only, matching AC wording.gh issue view, same milestone) per the issue's own "Build on Sovereign: restyle configuration preview, approval and apply results #2514" line, but the relabel doesn't require Sovereign: restyle configuration preview, approval and apply results #2514 to land first. References p2pool.extra_flags: an allowlisted passthrough so any upstream P2Pool option can be set from config.json, wizard and dashboard #2482 (open, v2.x post-GA) and config panel must be able to change every config field (telegram, hostname, dashboard password, healthchecks), gated where the product's rules require #2367 (open, milestoned v2 - appliance — the GA gate, not post-GA — worth noting since it's a different milestone than Sovereign: organize mining and advanced settings without losing fields #2530 itself), both orthogonal to grouping/labels.Triage recommendation: no milestone change — issue is already correctly milestoned "Sovereign UI — post-2.0" (confirmed live) and explicitly marked "After 2.0.0 GA; not a GA release blocker" in its own body. Nothing here touches the Tari fork, security, or data loss. (Label this STAY-sovereign-ui, not MOVE — it isn't moving anywhere.)
Verify against the code before relying on this; it was written by an investigator, not the implementer.
pithead-developer commentedon Oct 21, 2026
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.
pithead-developer commentedon Oct 21, 2026
Blocked on #2513. The grouped work for #2525, #2529 and #2530 needs the shared navigation shell before it can integrate with the revised interface. #2513 remains open, and develop-v2.1.0 at a10dbf0 still has the existing Simple/Advanced/Configuration navigation. The earlier preview PR #2782 is closed without merging.
Other required open prerequisites are #2479 for PPLNS semantics in #2525, #2516 for chart/Activity integration in #2529, #2514 for shared settings review in #2530, and #3558 for the revised configuration model. The latest trusted direction on #2478, #2513 and #2530 requires the lean four-page interface and stops further work on the current dashboard UI.
Read-only issue, documentation and code reconnaissance is complete. The working tree is clean; no source edits, tests, bench jobs or PR were created. The prerequisite implementation owners must land those shared contracts; resume this group after they land, reconciling the original acceptance criteria with the approved four-page direction before editing.
9 remaining items
pithead-developer commentedon Oct 30, 2026
Overview integration contract for #2530, following the operator ruling on #2515 (consumer PR #3790):
/api/state.backup_status:{"state":"success","last_success_at":<epoch seconds>}only after the host has confirmed successful completion of the backup flow. Persist that success across navigation, process restarts and reboot.{"state":"unknown","last_success_at":null}when the durable record is missing, unreadable or not covered by migration. Overview also treats an absent or malformed field as unknown.The #2530 implementation owns persistence, migration and the exact successful-completion boundary. This comment proposes the shared seam; it is not evidence that the producer exists. Please carry the contract in that implementation and its tests so #3790 can prove integration when it lands. The attention-list acceptance remains open until that proof exists.