Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"e2e": "playwright test tests/e2e"
},
"dependencies": {
"@aw-labs/appwrite-console": "^10.0.0",
"@aw-labs/appwrite-console": "^11.0.0",
"@aw-labs/icons": "0.0.0-76",
"@aw-labs/ui": "0.0.0-76",
"@popperjs/core": "^2.11.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -13,8 +14,7 @@
let showJson = false;
let submitting = false;

const example = `
{
const example = `{
firstName: "hello",
lastName:"world",
age:"old"
Expand Down Expand Up @@ -51,6 +51,8 @@
selectedFunction = null;
show = false;
}

afterNavigate(close);
</script>

<Modal bind:show size="big" on:submit={handleSubmit} on:close={close}>
Expand Down
8 changes: 6 additions & 2 deletions src/routes/console/project-[project]/overview/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down