Skip to content

🐛 Fix offline clusters styling in Stats Overview#4132

Merged
clubanderson merged 1 commit intomainfrom
fix/offline-cluster-styling
Apr 1, 2026
Merged

🐛 Fix offline clusters styling in Stats Overview#4132
clubanderson merged 1 commit intomainfrom
fix/offline-cluster-styling

Conversation

@clubanderson
Copy link
Copy Markdown
Collaborator

Summary

  • The Stats Overview bar's Offline (unreachable) block used the heatmap display mode by default, which fills the entire block with a solid color overlay — visually inconsistent with the other blocks that use the standard glass appearance.
  • Changed the default display mode for both unreachable and unhealthy cluster stat blocks from heatmap to numeric so they match the uniform styling of the rest of the stats bar.

Fixes #4127

Test plan

  • Verify the Offline stat block in the Clusters page Stats Overview bar no longer has a solid color fill
  • Verify the Unhealthy stat block also matches the glass styling of other blocks
  • Confirm users can still manually switch individual stat blocks to heatmap mode via the mode picker if desired

The Stats Overview bar's Offline (unreachable) block defaulted to
heatmap display mode, which fills the entire block with a solid color
overlay — visually inconsistent with the other blocks that use the
standard glass appearance. Change the default display mode for both
unreachable and unhealthy cluster stat blocks from heatmap to numeric
so they match the uniform styling of the rest of the stats bar.

Fixes #4127

Signed-off-by: Andrew Anderson <andy@clubanderson.com>
Copilot AI review requested due to automatic review settings April 1, 2026 13:04
@kubestellar-prow kubestellar-prow bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Apr 1, 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
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for kubestellarconsole ready!

Name Link
🔨 Latest commit 442841e
🔍 Latest deploy log https://app.netlify.com/projects/kubestellarconsole/deploys/69cd17fabd95a40008e45364
😎 Deploy Preview https://deploy-preview-4132.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 kubestellar-prow bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 1, 2026
@clubanderson clubanderson merged commit e1cc266 into main Apr 1, 2026
20 of 21 checks passed
@kubestellar-prow kubestellar-prow bot deleted the fix/offline-cluster-styling branch April 1, 2026 13:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates default Stats Overview display modes so Offline (unreachable) and Unhealthy cluster blocks use the same “glass” styling as other blocks, addressing the solid-color overlay caused by the heatmap default (Fixes #4127).

Changes:

  • Switch default display mode for clusters:unhealthy from heatmap to numeric
  • Switch default display mode for clusters:unreachable from heatmap to numeric
  • Clarify the inline comment describing the cluster defaults

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

👋 Hey @clubanderson — 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
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

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

Check out what's new:

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

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

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Offline clusters styling in Stats Overview is solid

2 participants