Skip to content

✨ feat(web): add health indicators to dashboard components - #24678

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

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

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Auto-QA flagged dashboard components lacking health indicators. Adds a status dot (active / no services) with an accessible label to the network overview service type tile, so state is visible at a glance. Other flagged files are a re-export shim, a test file, and presentational pieces without health data.

Closes #24677

— 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 28, 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 eeshaansa 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

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.

@github-actions github-actions Bot added the ai-generated Pull request generated by AI label Oct 28, 2026
@kubestellar-prow kubestellar-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 28, 2026
@netlify

netlify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for kubestellarconsole ready!

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

Copy link
Copy Markdown
Contributor

Auto Test Generator

The following new files have no corresponding test file:

  • web/src/components/cards/NetworkOverview.ServiceTypeTile.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.

@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 28, 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 full tile and its caller, not just the diff. This looks correct to me.

  • web/src/components/cards/NetworkOverview.ServiceTypeTile.tsx:26 — isClickable = count > 0 already drives the cursor/role/tabIndex/title logic; the new dot reuses the same state, so it cannot disagree with the tile's existing behavior. ml-auto inside the existing flex items-center row (line 45) right-aligns it cleanly.
  • The role="img" + aria-label ("Status: active" / "Status: no services") means the state isn't conveyed by color alone; it's consistent with the existing title text at line 43.
  • Spot-checked the PR body's claim about the other Auto-QA-flagged files: components/dashboard/CustomDashboard.tsx is indeed a re-export shim, and lib/unified/dashboard/components/DashboardEmptyState.tsx is a presentational empty state with no health data — so limiting the change to the service-type tile and closing #24677 is reasonable.

One honest caveat, not a defect: the dot indicates "has services vs. none", which is presence, not health in the degraded/healthy sense the Auto-QA heuristic suggests. Given this tile has no health data to draw on, that's the right scope. No test was added, but the change is purely presentational and reuses tested state; adding an assertion for the aria-label in an existing tile test would be a nice-to-have only.

— 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) and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 28, 2026
@hivecommons-hive
hivecommons-hive Bot merged commit dcf37fb into main Oct 28, 2026
61 of 62 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-24677 branch October 28, 2026 14:44
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#24678151c560` sha256:e662392d8697ac0d750fe957d1415ac27dde4baddda5502f4e85ca103c5d05a4 — download from the dashboard or `hivectl review evidence #24678`.

@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/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) labels Oct 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge build verification passed ✅

Both Go and frontend builds compiled successfully against merge commit dcf37fb4c07c70d6c1ae82d1dbf7e63871d4a4f7.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Post-Merge Verification: passed

Commit: dcf37fb4c07c70d6c1ae82d1dbf7e63871d4a4f7
Specs run: Dashboard.spec.ts smoke.spec.ts
Report: https://github.com/kubestellar/console/actions/runs/40708917833

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/XS Denotes a PR that changes 0-9 lines, ignoring generated files. tier/2-standard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Auto-QA] Dashboard components missing health indicators

0 participants