🐛 Fix navbar agent status indicator to show connection state#12858
Conversation
…hboard health The AgentStatusIndicator pill was modified in #12641 to prioritize dashboard health metrics over agent connection status. This caused the pill to display cluster alert counts instead of agent connectivity state. Revert pill label to show agent connection status (Connected, Degraded, etc.) while keeping system health info accessible via the hover tooltip. Fixes #12856 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <copilot@github.com>
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
👋 Hey @kubestellar-hive[bot] — thanks for opening this PR!
This is an automated message. |
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
|
Post-merge build verification passed ✅ Both Go and frontend builds compiled successfully against merge commit |
❌ Post-Merge Verification: failedCommit: |
Restore sidebar defaults when the server-side dashboard filter is cleared, while still keeping filtered defaults hidden only when the filter is active. Also update the AgentStatusIndicator test to match the intended connection-state precedence from #12858.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <copilot@github.com>
Restore sidebar defaults when the server-side dashboard filter is cleared, while still keeping filtered defaults hidden only when the filter is active. Also update the AgentStatusIndicator test to match the intended connection-state precedence from #12858.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <copilot@github.com> Co-authored-by: Copilot <copilot@github.com>
Fixes #12856
Summary
The
AgentStatusIndicatorpill was modified in #12641 to prioritizedashboardHealth.statusover agent connection status, causing the pill to display cluster health counts (e.g. '7 critical issues') instead of agent connectivity state.Changes
degraded,connected, etc.) take priority over dashboard healthsystemHealthTooltipwired to connected state tooltip so health info is accessible via hoverdashboardHealth.status === 'healthy'guard from connecting spinner