mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: changes
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
} else if (os.includes('Mac') || os.includes('Linux')) {
|
||||
category = 'Unix';
|
||||
} else {
|
||||
category = 'PowerShell';
|
||||
category = 'Unix';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<Modal size="big" bind:show headerDivider={false}>
|
||||
<svelte:fragment slot="header">Create git deployment</svelte:fragment>
|
||||
{#if !$func.installationId && $func.providerRepositoryId}
|
||||
{#if $func.installationId && $func.providerRepositoryId}
|
||||
<p class="text">
|
||||
Deploy your function from the Git provider of your choice by following the steps below.
|
||||
Learn more in our <a
|
||||
|
||||
+23
-1
@@ -16,10 +16,13 @@
|
||||
import { invalidate } from '$app/navigation';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { timer } from '$lib/actions/timer';
|
||||
import { tooltip } from '$lib/actions/tooltip';
|
||||
import { tick } from 'svelte/types/runtime/internal/scheduler';
|
||||
|
||||
export let data;
|
||||
|
||||
let logs = '';
|
||||
let tooltipContent: HTMLDivElement;
|
||||
|
||||
onMount(() => {
|
||||
logs = data.deployment.buildLogs;
|
||||
@@ -78,7 +81,20 @@
|
||||
</p>
|
||||
<p><b>Created:</b> {timeFromNow(data.deployment.$createdAt)}</p>
|
||||
<p><b>Size:</b> {fileSize.value + fileSize.unit}</p>
|
||||
<p><b>Source:</b> <span>tbd</span></p>
|
||||
<p>
|
||||
<b>Source:</b>
|
||||
<span
|
||||
use:tooltip={{
|
||||
interactive: true,
|
||||
allowHTML: true,
|
||||
disabled: false,
|
||||
onShow(instance) {
|
||||
tick().then(() => {
|
||||
instance.setContent(tooltipContent);
|
||||
});
|
||||
}
|
||||
}}>Git</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="u-flex u-flex-vertical u-cross-end">
|
||||
<Pill
|
||||
@@ -118,3 +134,9 @@
|
||||
</div>
|
||||
</Card>
|
||||
</Container>
|
||||
|
||||
<div class="u-hide">
|
||||
<div bind:this={tooltipContent}>
|
||||
<p class="text">test</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user