fix: deployment overflow, retry copy, format code

This commit is contained in:
Arman
2023-08-28 10:22:49 +02:00
parent 20b5466610
commit efe3c67ec6
3 changed files with 22 additions and 7 deletions
+16 -3
View File
@@ -50,9 +50,13 @@
</Button>
</div>
<p class="text u-margin-block-start-24">
In order to continue, set the following record on your DNS provider. Find a list of
domain providers and their DNS settings in our documentation. Changes may take time to
be effective.
In order to continue, set the following record on your DNS provider. DNS records may
take up to 48 hours to propagate. Please retry over the next 48 hours, but if
verification still fails, please <a
href="https://appwrite.io/support"
target="_blank"
rel="noopener noreferrer">contact support</a
>.
</p>
<div class="u-margin-block-start-24">
<CnameTable />
@@ -72,6 +76,15 @@
{/if}
</Button>
</div>
<p class="text u-margin-block-start-24">
In order to continue, set the following record on your DNS provider. DNS records may
take up to 48 hours to propagate. Please retry over the next 48 hours, but if
verification still fails, please <a
href="https://appwrite.io/support"
target="_blank"
rel="noopener noreferrer">contact support</a
>.
</p>
{#if $domain?.logs}
<Code language="sh" withCopy code={$domain.logs} />
{/if}
@@ -107,7 +107,7 @@
}
$: isDisabled = (function getDisabled() {
return !operator || (!operator?.hideInput && !value)
return !operator || (!operator?.hideInput && !value);
})();
</script>
@@ -1,5 +1,5 @@
<script lang="ts">
import { DropList, DropListLink } from '$lib/components';
import { DropList, DropListLink, Trim } from '$lib/components';
import type { Models } from '@appwrite.io/console';
export let deployment: Models.Deployment;
@@ -23,8 +23,10 @@
</DropListLink>
{#if deployment?.providerCommitMessage && deployment?.providerCommitHash && deployment?.providerCommitUrl}
<DropListLink href={deployment.providerCommitUrl} external icon="git-commit">
{deployment?.providerCommitHash?.substring(0, 7)}
{deployment.providerCommitMessage}
<Trim alternativeTrim>
{deployment?.providerCommitHash?.substring(0, 7)}
{deployment.providerCommitMessage}
</Trim>
</DropListLink>
{/if}
</svelte:fragment>