Skip to content

Sovereign: establish accessible theme tokens and shared controls #2512

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

Create the smallest shared visual foundation for the selected Sovereign direction: warm black, charcoal, orange, chalk, expressive headings and tabular numbers. Restyle existing controls before adding abstractions.

  • Work type: Existing UI redesign.
  • Design references: All screens (existing Sovereign mockups attached below; sample data, not runtime evidence).
  • Inventory coverage: O7; shared presentation.

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

06 · Settings and review

Sovereign — Settings and review

21 · Worker inspector

Sovereign — Worker inspector

Complete 36-image gallery · Parent: #2478

what it impacts

Dependencies and boundaries

No implementation prerequisite beyond the parent decisions.

Related work: #1875. 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

Show representative controls in dark/light at desktop and phone sizes, plus keyboard and contrast checks. 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

  • Define palette, spacing, typography, hairlines, focus, controls and status treatments in the existing frontend; every state has text or an icon as well as color.
  • Retain Light / Auto / Dark, persisted before paint, including loading, setup and dialogs. Keep light mode usable; no four-direction theme selector.
  • Bundle licensed fonts and assets for offline/Tor-only operation; no CDN or new framework. Record any proposed new dependency on Dashboard UI overhaul: build the Sovereign design direction (36 screens, 2026-09-16 studies) #2478 before adoption.
  • Check WCAG 2.2 AA contrast, visible focus, touch targets, disabled/error states and reduced motion against real controls, not only palette swatches.

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)

    • Still valid: yes — this is greenfield, not a regression. Current dashboard uses a GitHub-Primer dark/light/auto palette (theme.css:19-90), no Sovereign warm-black/charcoal/orange/chalk tokens exist, and no fonts are bundled anywhere under dashboard/ (grep for .woff*/font returns nothing). CHANGELOG has no sovereign/theme-token/warm-black/chalk entries; no PR (any state, any repo history) has "sovereign" in its title.
    • Root cause: not a bug — the deliverable simply hasn't been started. The 3-mode data-theme mechanism it needs to build on already exists and works (theme-init.js sets the attribute pre-paint from localStorage, theme.css:9-17 documents the contract); the work is retokenizing 11 other CSS files (chart/components/config/controls/layout/stats/sync/tables/topology/utilities/workers, 1546 lines total, 1669 including theme.css itself) that already consume --bg/--card/--border/--text/--accent, plus bundling fonts.
    • Fix shape: reuse the existing theme mechanism as-is; swap the token values in theme.css's three palette blocks (:root/[data-theme="dark"], [data-theme="light"], and the prefers-color-scheme block, lines 19-90), add tabular-nums/heading-font tokens, restyle controls.css/components.css/tables.css/stats.css/sync.css against them, self-host 1-2 OFL fonts via @font-face. No new abstraction, no CDN, no framework — matches the AC's own "restyle existing controls before adding abstractions."
    • Evidence tier: tier-1 (dashboard static assets only — doesn't touch build/compose/control-plane/deploy/merge-mining/Tor/miners/os, so tier4-e2e isn't mandated by the tier-follows-the-path rule). The issue's own Verification section (sanitized dark/light screenshots desktop+phone, keyboard, contrast) is the real bar and is unrelated to CI tiering.
    • Duplicates/blockers: none. Parent Dashboard UI overhaul: build the Sovereign design direction (36 screens, 2026-09-16 studies) #2478 (tracker) and related Dashboard and wizard design review for 2.0: inventory, WCAG 2.2 AA pass, modernization direction, gaps, ranked plan (answers #940) #1875 (design review) are both open, same milestone (Sovereign UI — post-2.0), neither has landed anything yet, and the issue has zero comments on the thread; no implementation prerequisite beyond those still-pending parent decisions.
    • Rulings needed: (1) exact palette hex values — sample from the attached/linked mockups, or require a checked-in token sheet first? (2) font choice + license, since none is bundled today and CDN/new-framework is explicitly banned — record proposal on Dashboard UI overhaul: build the Sovereign design direction (36 screens, 2026-09-16 studies) #2478 first per the issue's own rule. (3) scope boundary — tokens + shared controls only, or also the 3 pictured screens end-to-end?
    • Ready: no — font selection and exact hex tokens aren't nailed down in the issue text (only qualitative color names), so a worker needs at least ruling (2) resolved before starting; the rest is inferable from the attached mockups.

    Triage recommendation: MOVE-sovereign-ui — the issue already says it's not a GA blocker and already sits correctly in the Sovereign UI — post-2.0 milestone with its parent tracker; nothing here belongs in 2.0.0/2.0.x/2.1 (the release scope for 2.0.0 is Tari 6.0.x compatibility, the appliance and the dashboard's functional pieces, not a visual redesign parked in a frozen post-GA milestone).

    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 #3558. The latest Sovereign scope requires the v2.1.0 configuration model tracked by #3558 and prohibits further work on the current dashboard. Reconnaissance confirmed that model is absent; implementation can resume when #3558 lands. The worktree remains clean, with no tests run or PR opened.

    The runner resumes this issue when that one closes.

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

    @pithead-developer
    Contributor

    Blocked on #3566, per the latest operator ruling on #2478 and #2513. Closing #3558 as a duplicate did not deliver the configuration model; its canonical tracker is #3557. The lean UI specification must map this work to the four-page scope before implementation can proceed, so the previous Sovereign acceptance criteria cannot be implemented as written.

    Reconnaissance is complete; the worktree remains clean, with no tests run or PR opened. The operator supplies the specification and issue rescope in #3566; closing that issue permits this work to resume. Configuration-dependent integration also needs the contract tracked by #3557.

  7. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #3566. The latest operator ruling gates v2.1.0 UI implementation on #3566, whose lean specification and issue mappings remain unfinished. Posted the updated blocker on #2512; the operator must complete and close #3566 before work resumes. The worktree remains clean, with no tests run or PR opened.

    The runner resumes this issue when that one closes.

  8. added
    blocked
    on Oct 21, 2026
  9. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Rescoped to the lean UI spec #3566 (operator, 2026-10-21): Folded into #2513 (shell and foundation). Theme tokens and shared controls are the first PR of that issue, and the contrast defects #3378 to #3380 close with it. Acceptance stays: WCAG AA contrast in light and dark, following the OS theme.

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