Skip to content

Commit f2bce4f

Browse files
Minor
1 parent dc818ec commit f2bce4f

File tree

1 file changed

+39
-36
lines changed

1 file changed

+39
-36
lines changed

ui.frontend/src/components/HealthChecker.tsx

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -91,48 +91,51 @@ const HealthChecker = () => {
9191
<View>
9292
<Flex direction="row" justifyContent="space-between" alignItems="center">
9393
<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+
&nbsp;
10295
</Flex>
10396
<Flex flex="1" justifyContent="center" alignItems="center">
10497
<StatusLight variant={healthIssues.length === 0 ? 'positive' : 'negative'}>{healthIssues.length === 0 ? <>Healthy</> : <>Unhealthy &mdash; {healthIssues.length} issue(s)</>}</StatusLight>
10598
</Flex>
10699
<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>
111108
</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>
136139
</Flex>
137140
</Flex>
138141
</View>

0 commit comments

Comments
 (0)