File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
src/containers/Cluster/ClusterOverview/components Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,14 @@ function getBridgePileStateTheme(state?: string): NonNullable<LabelProps['theme'
2121
2222 switch ( state . toUpperCase ( ) ) {
2323 case BridgePileState . PRIMARY :
24- return 'success' ; // Green - active primary
2524 case BridgePileState . PROMOTE :
26- return 'warning' ; // Orange - transitioning to primary
2725 case BridgePileState . SYNCHRONIZED :
28- return 'info ' ; // Blue - ready but not primary
26+ return 'success ' ; // Green - healthy states
2927 case BridgePileState . NOT_SYNCHRONIZED :
30- return 'danger ' ; // Red - problematic state
28+ return 'warning ' ; // Yellow - needs attention
3129 case BridgePileState . SUSPENDED :
32- return 'utility' ; // Gray - graceful shutdown
3330 case BridgePileState . DISCONNECTED :
34- return 'danger' ; // Red - connectivity issue
31+ return 'danger' ; // Red - critical states
3532 case BridgePileState . UNSPECIFIED :
3633 default :
3734 return 'unknown' ; // Purple - unknown state
You can’t perform that action at this time.
0 commit comments