Skip to content

Harden dashboard state transitions and standardize to a professional monochrome UI - #1

Merged
Gi-v merged 1 commit into
mainfrom
copilot/fix-issues-in-project
Jul 11, 2026
Merged

Harden dashboard state transitions and standardize to a professional monochrome UI#1
Gi-v merged 1 commit into
mainfrom
copilot/fix-issues-in-project

Conversation

Copilot AI commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

This change addresses UI inconsistency and runtime friction in the dashboard by tightening control-state logic and applying a consistent black/white visual system. It focuses on removing interaction ambiguity while keeping behavior predictable during live updates.

  • State logic fixes

    • Synced PHANTOM toggle behavior with A/B mode transitions so the controls no longer drift into conflicting states.
    • Updated mode/toggle handlers to derive next state atomically from prior state.
  • Runtime UX correction

    • Initialized the clock state on first render to avoid an empty timestamp in the top bar before the first interval tick.
  • Professional black/white redesign

    • Replaced accent-heavy palette usage with grayscale tokens across panels, badges, graphs, alerts, and bars.
    • Kept visual hierarchy via contrast and weight rather than color saturation.
<button onClick={() => {
  setPhantom(p => {
    const next = !p;
    setMode(next ? "PHANTOM" : "HPA");
    return next;
  });
}}>
  {phantom ? "◉ PHANTOM ON" : "○ PHANTOM OFF"}
</button>

@Gi-v
Gi-v marked this pull request as ready for review July 11, 2026 19:08
@Gi-v
Gi-v merged commit dc448fc into main Jul 11, 2026
1 check failed
@Gi-v
Gi-v deleted the copilot/fix-issues-in-project branch July 11, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants