Show server name in Remote Cluster detail panel (#62250)
* Fix text size for connection status and seeds.
This commit is contained in:
parent
02dad02923
commit
a7309a6f4e
|
@ -44,7 +44,7 @@ export function ConnectionStatus({ isConnected, mode }) {
|
|||
<EuiFlexItem grow={false}>{icon}</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem className="remoteClustersConnectionStatus__message">
|
||||
<EuiText>{message}</EuiText>
|
||||
<EuiText size="s">{message}</EuiText>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
</EuiFlexItem>
|
||||
|
|
|
@ -230,7 +230,9 @@ export class DetailPanel extends Component {
|
|||
|
||||
<EuiDescriptionListDescription data-test-subj="remoteClusterDetailSeeds">
|
||||
{seeds.map(seed => (
|
||||
<EuiText key={seed}>{seed}</EuiText>
|
||||
<EuiText size="s" key={seed}>
|
||||
{seed}
|
||||
</EuiText>
|
||||
))}
|
||||
</EuiDescriptionListDescription>
|
||||
</EuiFlexItem>
|
||||
|
@ -296,6 +298,7 @@ export class DetailPanel extends Component {
|
|||
proxySocketConnections,
|
||||
connectedSocketsCount,
|
||||
mode,
|
||||
serverName,
|
||||
}) {
|
||||
return (
|
||||
<EuiDescriptionList data-test-subj="remoteClusterDetailPanelStatusValues">
|
||||
|
@ -398,6 +401,25 @@ export class DetailPanel extends Component {
|
|||
</EuiDescriptionListDescription>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
|
||||
<EuiSpacer size="s" />
|
||||
|
||||
<EuiFlexGroup>
|
||||
<EuiFlexItem>
|
||||
<EuiDescriptionListTitle>
|
||||
<EuiTitle size="xs">
|
||||
<FormattedMessage
|
||||
id="xpack.remoteClusters.detailPanel.serverNameLabel"
|
||||
defaultMessage="Server name"
|
||||
/>
|
||||
</EuiTitle>
|
||||
</EuiDescriptionListTitle>
|
||||
|
||||
<EuiDescriptionListDescription data-test-subj="remoteClusterDetailServerName">
|
||||
{serverName ? serverName : '-'}
|
||||
</EuiDescriptionListDescription>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
</EuiDescriptionList>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue