@@ -91,48 +91,51 @@ const HealthChecker = () => {
91
91
< View >
92
92
< Flex direction = "row" justifyContent = "space-between" alignItems = "center" >
93
93
< Flex flex = "1" alignItems = "center" >
94
- < Button
95
- variant = "negative"
96
- isDisabled = { appState . instanceSettings . type === InstanceType . CLOUD_CONTAINER }
97
- onPress = { ( ) => window . open ( `${ instancePrefix } /system/console/configMgr/dev.vml.es.acm.core.instance.HealthChecker` , '_blank' ) }
98
- >
99
- < Settings />
100
- < Text > Configure</ Text >
101
- </ Button >
94
+
102
95
</ Flex >
103
96
< Flex flex = "1" justifyContent = "center" alignItems = "center" >
104
97
< StatusLight variant = { healthIssues . length === 0 ? 'positive' : 'negative' } > { healthIssues . length === 0 ? < > Healthy</ > : < > Unhealthy — { healthIssues . length } issue(s)</ > } </ StatusLight >
105
98
</ Flex >
106
99
< Flex flex = "1" justifyContent = "end" alignItems = "center" >
107
- < DialogTrigger >
108
- < Button variant = "secondary" style = "fill" >
109
- < Help />
110
- < Text > Help</ Text >
100
+ < ButtonGroup >
101
+ < Button
102
+ variant = "negative"
103
+ isDisabled = { appState . instanceSettings . type === InstanceType . CLOUD_CONTAINER }
104
+ onPress = { ( ) => window . open ( `${ instancePrefix } /system/console/configMgr/dev.vml.es.acm.core.instance.HealthChecker` , '_blank' ) }
105
+ >
106
+ < Settings />
107
+ < Text > Configure</ Text >
111
108
</ Button >
112
- { ( close ) => (
113
- < Dialog >
114
- < Heading > Health Checker</ Heading >
115
- < Divider />
116
- < Content >
117
- < p >
118
- < Help size = "XS" /> All detected health issues will be comprehensively listed here for your review.
119
- </ p >
120
- < p >
121
- < Replay size = "XS" /> If needed, configure which OSGi bundles should be ignored when determining the healthy state of the instance.
122
- </ p >
123
- < p >
124
- < Checkmark size = "XS" /> Additionally, you can configure OSGi event topics to be checked within a recent time window.
125
- </ p >
126
- </ Content >
127
- < ButtonGroup >
128
- < Button variant = "secondary" onPress = { close } >
129
- < Close size = "XS" />
130
- < Text > Close</ Text >
131
- </ Button >
132
- </ ButtonGroup >
133
- </ Dialog >
134
- ) }
135
- </ DialogTrigger >
109
+ < DialogTrigger >
110
+ < Button variant = "secondary" style = "fill" >
111
+ < Help />
112
+ < Text > Help</ Text >
113
+ </ Button >
114
+ { ( close ) => (
115
+ < Dialog >
116
+ < Heading > Health Checker</ Heading >
117
+ < Divider />
118
+ < Content >
119
+ < p >
120
+ < Help size = "XS" /> All detected health issues will be comprehensively listed here for your review.
121
+ </ p >
122
+ < p >
123
+ < Replay size = "XS" /> If needed, configure which OSGi bundles should be ignored when determining the healthy state of the instance.
124
+ </ p >
125
+ < p >
126
+ < Checkmark size = "XS" /> Additionally, you can configure OSGi event topics to be checked within a recent time window.
127
+ </ p >
128
+ </ Content >
129
+ < ButtonGroup >
130
+ < Button variant = "secondary" onPress = { close } >
131
+ < Close size = "XS" />
132
+ < Text > Close</ Text >
133
+ </ Button >
134
+ </ ButtonGroup >
135
+ </ Dialog >
136
+ ) }
137
+ </ DialogTrigger >
138
+ </ ButtonGroup >
136
139
</ Flex >
137
140
</ Flex >
138
141
</ View >
0 commit comments