Merge branch 'main' of github.com:appwrite/appwrite-console-poc into feedback

This commit is contained in:
Arman committed 2022-11-14 15:21:52 +01:00
commit ec18583ccb
5 files changed
+25 -12

No files matched your search

@@ -156,6 +156,7 @@
<TableCellHead width={100}>Deployment ID</TableCellHead>
<TableCellHead width={140}>Created</TableCellHead>
<TableCellHead width={100}>Status</TableCellHead>
<TableCellHead width={100}>Build Time</TableCellHead>
<TableCellHead width={70}>Size</TableCellHead>
<TableCellHead width={25} />
</TableHeader>
@@ -181,6 +182,12 @@
</Status>
</TableCell>
<TableCellText title="Build Time">
{#if deployment.status === 'ready'}
{deployment.buildTime}s
{/if}
</TableCellText>
<TableCellText title="Size">
{calculateSize(deployment.size)}
</TableCellText>
@@ -1,4 +1,5 @@
<script lang="ts">
import { afterNavigate } from '$app/navigation';
import { Code, Modal } from '$lib/components';
import { Button } from '$lib/elements/forms';
import { InputTextarea, FormList, InputChoice } from '$lib/elements/forms';
@@ -13,8 +14,7 @@
let showJson = false;
let submitting = false;
const example = `
{
const example = `{
firstName: "hello",
lastName:"world",
age:"old"
@@ -51,6 +51,8 @@
selectedFunction = null;
show = false;
}
afterNavigate(close);
</script>
<Modal bind:show size="big" on:submit={handleSubmit} on:close={close}>
@@ -95,7 +95,9 @@
</div>
<div class="grid-item-1-end-end">
<div class="text">Databases: XX</div>
<div class="text">
Databases: {format(last($usage.databases).value)}
</div>
</div>
</div>
</a>
@@ -121,7 +123,9 @@
</div>
<div class="grid-item-1-end-end">
<div class="text">Buckets: XX</div>
<div class="text">
Buckets: {format(last($usage.buckets).value)}
</div>
</div>
</div>
</a>