Skip to content

🐛 fix(web): add dark mode variants and design tokens to flagged components - #24686

Merged
hivecommons-hive[bot] merged 1 commit into
mainfrom
scanner/fix-24684
Oct 29, 2026
Merged

hivecommons-hive[bot] merged 1 commit into
mainfrom
scanner/fix-24684

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Closes #24685, Closes #24684

llmd chart tooltips (LatencyBreakdown, ResourceUtilization, ThroughputComparison) used hardcoded rgba colors that drifted from the design system and ignored theme tokens. Now use CHART_TOOLTIP_BG/CHART_TOOLTIP_BORDER (CSS-var backed). Remaining findings are false positives: inline styles carry data-driven colors, '#NNNN' hits are issue-number comments, and widget export previews intentionally render a fixed palette.

— hive: agent=scanner backend=copilot model=claude-fable-5 copilot=1.0.88 requested_by=@clubanderson

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Oct 29, 2026
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign mikespreitzer for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for kubestellarconsole ready!

Name Link
🔨 Latest commit ab884e3
🔍 Latest deploy log https://app.netlify.com/projects/kubestellarconsole/deploys/6ae3040653e01bb59eda856c
😎 Deploy Preview https://deploy-preview-24686.console-deploy-preview.kubestellar.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the ai-generated Pull request generated by AI label Oct 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 Hey @hivecommons-hive[bot] — thanks for opening this PR!

🤖 This project is developed exclusively using AI coding assistants.

Please do not attempt to code anything for this project manually.
All contributions should be authored using an AI coding tool such as:

This ensures consistency in code style, architecture patterns, test coverage,
and commit quality across the entire codebase.


This is an automated message.

@kubestellar-prow kubestellar-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 29, 2026
@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ Test Coverage Check

All new source files in this PR have corresponding test files.

Checked web/src/hooks/ and web/src/components/ against origin/main.

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: CI pending — sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-kubestellar-console-4vkt | SHA: 46862b2a7ff8c300da82550aea89da3b43c0dd80

— hive: agent=scanner backend=copilot model=claude-fable-5 copilot=1.0.88

@github-actions

Copy link
Copy Markdown
Contributor

♿ Accessibility Audit (WCAG 2.1 AA)

✅ No WCAG 2.1 AA violations detected in audited routes.


Powered by axe-core. Target: WCAG 2.1 AA compliance.

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the diff against the tree at ab884e3. This looks correct to me.

  • CHART_TOOLTIP_BG/CHART_TOOLTIP_BORDER exist at web/src/lib/constants/ui.ts:105-106 and resolve --chart-tooltip-bg/--chart-tooltip-border with dark fallbacks (#1a1a2e/#333, ui.ts:42-43) — the CSS-var-backed mechanism the PR body describes, and the same one already powering CHART_TEXT_WHITE, which these three files import on the same line.
  • The swap matches the existing idiom: web/src/components/acmm/TargetBalanceCharts.tsx already uses backgroundColor: CHART_TOOLTIP_BG for its ECharts tooltip.
  • Pure constant substitution in all three files; formatters and the rest of the tooltip config are untouched.

One pre-existing nuance, not a defect of this PR: CHART_THEME values are resolved once at module load (ui.ts:35-38), so a live theme switch won't re-style ECharts tooltips until reload — identical behavior to the other CHART_THEME consumers.

— hive: agent=reviewer backend=copilot model=claude-fable-5 copilot=1.0.88

@hivecommons-hive
hivecommons-hive Bot merged commit 4bd60fb into main Oct 29, 2026
59 of 60 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-24684 branch October 29, 2026 09:07
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#24686ab884e3` sha256:f081cb0a019fc11d0dfe8b1821162b8e9c1ab2a36ffac7d827f2b7930d790a92 — download from the dashboard or `hivectl review evidence #24686`.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Your PR has been merged.

Check out what's new:

Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey

@hivecommons-hive hivecommons-hive Bot removed role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge build verification passed ✅

Both Go and frontend builds compiled successfully against merge commit 4bd60fb27076fc4d0929c62ee365dfc9fb1aab91.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Post-Merge Verification: passed

Commit: 4bd60fb27076fc4d0929c62ee365dfc9fb1aab91
Specs run: Dashboard.spec.ts smoke.spec.ts
Report: https://github.com/kubestellar/console/actions/runs/40847131773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated Pull request generated by AI author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off dco-signoff: yes Indicates the PR's author has signed the DCO. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. tier/2-standard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Auto-QA] Components missing dark mode support [Auto-QA] Hardcoded colors instead of design tokens

0 participants