Skip to content

fix: standardize status text color tokens and hoist preview hex colors - #24447

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

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

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Refs #24441, Refs #24442 (partial: swaps text-{green,red,yellow}-400 to semantic text-status-* tokens in the flagged files and hoists CardPreviewB preview hex colors into named constants; bg/border-*-500 opacity patterns remain — no token equivalent per #24444 — and repo-wide shade standardization is left for follow-up)

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

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

netlify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for kubestellarconsole ready!

Name Link
🔨 Latest commit f443679
🔍 Latest deploy log https://app.netlify.com/projects/kubestellarconsole/deploys/6ad58f13b453a03a71ba3d5c
😎 Deploy Preview https://deploy-preview-24447.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.

@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

@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

✅ 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

Auto Test Generator

The following new files have no corresponding test file:

  • web/src/components/widgets/widget-export-modal/CardPreviewB.tsx

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

@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: 606ffb8

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

@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
@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 tree at the reviewed head (f443679), not just the diff:

  • text-status-error / text-status-warning are real tokens: defined in web/tailwind.config.js:90-96 (status.{error,warning} → var(--color-error) / var(--color-warning), declared in web/src/index.css), and already used in sibling cards (e.g. ArgoCDApplications.tsx, EPPHealth.tsx), so the swap in ClusterCardList.tsx:64-74 is a semantics-preserving token change.
  • Leaving bg-red-500/20 / bg-yellow-500/20 untouched matches the documented limitation at web/tailwind.config.js:80 ("opacity modifiers … not supported with var() values") — consistent with the PR body's stated scope.
  • The CardPreviewB.tsx change only hoists four hex literals into module constants with identical values; no rendered output changes.

Looks correct to me. (Not approving — that's a human's signature.)

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

@hivecommons-hive hivecommons-hive Bot added 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 labels Oct 19, 2026
@hivecommons-hive
hivecommons-hive Bot merged commit 1f95dc9 into main Oct 19, 2026
59 of 62 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-24441-batch2 branch October 19, 2026 03:59
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#24447f443679` sha256:9620be0d1f94b7615bff02b7ebb2dddc7a02c877d2ae9cc1a1d9bd3be8b47aec — download from the dashboard or `hivectl review evidence #24447`.

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

@github-actions

Copy link
Copy Markdown
Contributor

✅ Post-Merge Verification: passed

Commit: 1f95dc9a3ca1b33652dc1b15a0b1011c736128e5
Specs run: Clusters.spec.ts smoke.spec.ts
Report: https://github.com/kubestellar/console/actions/runs/39197256278

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.

0 participants