Skip to content

fix: use semantic status colors and improve contrast per Auto-QA findings - #24449

Merged
hivecommons-hive[bot] merged 1 commit into
mainfrom
scanner/fix-24441-colors
Oct 19, 2026
Merged

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

Conversation

@hivecommons-hive

@hivecommons-hive hivecommons-hive Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Closes #24442
Refs #24441 — no code change here: its remaining findings are inline chart/preview hex colors already addressed by #24444/#24447; anything left needs a fresh Auto-QA run to confirm.

Follows up on #24444 which partially addressed these; this fixes the remaining cited #24442 findings (semantic status text colors in ClusterHealthStatsGrid and NamespaceTreeNode).

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

…ings

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 19, 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 clubanderson 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 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for kubestellarconsole ready!

Name Link
🔨 Latest commit 1ec11e9
🔍 Latest deploy log https://app.netlify.com/projects/kubestellarconsole/deploys/6ad59edc0d96a73d70b45759
😎 Deploy Preview https://deploy-preview-24449.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 19, 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 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Auto Test Generator

The following new files have no corresponding test file:

  • web/src/components/cards/ClusterHealthStatsGrid.tsx
  • web/src/components/cards/cluster-resource-tree/NamespaceTreeNode.tsx

Please add tests or apply the needs-tests label to track this PR.

@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.

@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 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 and removed dco-signoff: yes Indicates the PR's author has signed the DCO. labels Oct 19, 2026

@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.

Reviewed against main. The conversion is correct: text-status-success/-warning/-error are the semantic utilities defined in web/tailwind.config.js ("Semantic status colors — use for health indicators, alerts, badges"), and keeping the raw bg-green-500/20-style backgrounds while converting only the text color is the documented, established idiom — the config comment notes opacity modifiers don't work with var() values, and the same mix (bg-green-500/20 text-status-success) already appears in web/src/components/cards/kubevela_status/helpers.tsx, backstage_status/index.tsx, and cloudevents_status/CloudEventsStatus.tsx. Looks correct to me.

One small leftover in the same file: web/src/components/cards/cluster-resource-tree/NamespaceTreeNode.tsx:95 — the pods-section issue badge keeps badgeColor="bg-red-500/20 text-red-400" while the identical namespace-level badge at line 67 was converted to text-status-error. Not a defect (it renders the same today), just an inconsistency this PR's stated goal would naturally include; fine to fold into a follow-up if the Auto-QA finding list didn't cite it.

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

@hivecommons-hive hivecommons-hive Bot added stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) labels Oct 19, 2026
@hivecommons-hive
hivecommons-hive Bot merged commit 9e45eea into main Oct 19, 2026
63 of 66 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-24441-colors branch October 19, 2026 05:06
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#244491ec11e9` sha256:e5e91d6a79740ca9c93b692a1a1c749dbb039ac7a3458adcabe975188ef4f683 — download from the dashboard or `hivectl review evidence #24449`.

@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/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it labels Oct 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge build verification passed ✅

Both Go and frontend builds compiled successfully against merge commit 9e45eea4cf33dce25b28ff327bc6aae9d0586205.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Post-Merge Verification: passed

Commit: 9e45eea4cf33dce25b28ff327bc6aae9d0586205
Specs run: Dashboard.spec.ts smoke.spec.ts
Report: https://github.com/kubestellar/console/actions/runs/39202821760

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 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] Color consistency issues across components

0 participants