Step display on connection overlay (#8682)

This commit is contained in:
Jaco 2023-01-03 18:58:42 +02:00 committed by GitHub
parent 2e31ece4fa
commit 0697f91bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -56,7 +56,8 @@ export default React.memo(styled(BaseOverlay)`
position: fixed;
right: 0.75rem;
top: 0.75rem;
max-width: 55rem;
max-width: 42rem;
width: 42rem;
z-index: 500;
&:before {
@ -87,6 +88,7 @@ export default React.memo(styled(BaseOverlay)`
}
.content {
align-items: center;
display: flex;
margin: 0 auto;
max-width: 50rem;

View File

@ -39,7 +39,13 @@ function Connecting ({ className }: Props): React.ReactElement<Props> | null {
icon='globe'
type='info'
>
<div>{t<string>('Waiting to make a connection to the remote endpoint and finishing API initialization.')}</div>
<div>
{
isApiConnected
? t<string>('Waiting to complete metadata retrieval from remote endpoint.')
: t<string>('Waiting to establish a connection with the remote endpoint.')
}
</div>
</BaseOverlay>
);
} else if (isWaitingInjected) {