mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Improve text around what port should be entered, and add a tooltip that explains the "Not Connected" error message.
This commit is contained in:
parent
d39bebde67
commit
4303d8df74
2 changed files with 22 additions and 6 deletions
|
@ -327,7 +327,7 @@ export const RemoteClusterForm = injectI18n(
|
|||
helpText={(
|
||||
<FormattedMessage
|
||||
id="xpack.remoteClusters.remoteClusterForm.sectionSeedsHelpText"
|
||||
defaultMessage="An IP address or host name, followed by the port."
|
||||
defaultMessage="An IP address or host name, followed by the transport port of the remote cluster."
|
||||
/>
|
||||
)}
|
||||
isInvalid={showErrors}
|
||||
|
|
|
@ -12,6 +12,7 @@ import {
|
|||
EuiFlexGroup,
|
||||
EuiFlexItem,
|
||||
EuiIcon,
|
||||
EuiIconTip,
|
||||
EuiText,
|
||||
} from '@elastic/eui';
|
||||
|
||||
|
@ -43,16 +44,31 @@ export function ConnectionStatus({ isConnected }) {
|
|||
});
|
||||
}
|
||||
|
||||
const seedNodeTooltip = i18n.translate('xpack.remoteClusters.connectedStatus.notConnectedToolTip', {
|
||||
defaultMessage: "Ensure the seed nodes are configured with the remote cluster's transport port, not the http port.",
|
||||
});
|
||||
|
||||
return (
|
||||
<EuiFlexGroup gutterSize="s" alignItems="center">
|
||||
<EuiFlexItem grow={false}>
|
||||
{icon}
|
||||
<EuiFlexGroup gutterSize="s" alignItems="center">
|
||||
<EuiFlexItem grow={false}>
|
||||
{icon}
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem>
|
||||
<EuiText>
|
||||
{message}
|
||||
</EuiText>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem>
|
||||
<EuiText>
|
||||
{message}
|
||||
</EuiText>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiIconTip
|
||||
color="subdued"
|
||||
content={seedNodeTooltip}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue