diff --git a/src/routes/(console)/project-[region]-[project]/overview/+layout.svelte b/src/routes/(console)/project-[region]-[project]/overview/+layout.svelte index 7391e0ff1..6f52422be 100644 --- a/src/routes/(console)/project-[region]-[project]/overview/+layout.svelte +++ b/src/routes/(console)/project-[region]-[project]/overview/+layout.svelte @@ -17,13 +17,11 @@ import { PlatformsPanel } from '$lib/commandCenter/panels'; import { Tab, Tabs } from '$lib/components'; import { isTabSelected } from '$lib/helpers/load'; - import { humanFileSize } from '$lib/helpers/sizeConvertion'; import { Container, type UsagePeriods } from '$lib/layout'; import { onMount, setContext, type Component } from 'svelte'; import Bandwidth from './bandwidth.svelte'; import Requests from './requests.svelte'; import { usage } from './store'; - import { formatNum } from '$lib/helpers/string'; import { periodToDates } from '$lib/layout/usage.svelte'; import { canWriteProjects } from '$lib/stores/roles'; import { Card, Layout, Typography } from '@appwrite.io/pink-svelte'; @@ -121,124 +119,51 @@ {#if $usage} - {@const storage = humanFileSize($usage.filesStorageTotal ?? 0)} - - - - changePeriod(e.detail)} /> - - - changePeriod(e.detail)} /> - - - - - -
-
-
- - Database -
-
- -
- -
- - {formatNum($usage.documentsTotal ?? 0)} - - Rows -
-
-
- -
-
-
- - Storage -
-
- -
- -
- - {storage.value} - {storage.unit} - - Storage -
-
-
- -
-
-
- - Auth -
-
- -
- -
- - {formatNum($usage.usersTotal ?? 0)} - - Users -
-
-
- -
-
-
- - Functions -
-
- -
- -
- - {formatNum($usage.executionsTotal ?? 0)} - - Executions -
- -
-
-
-
-
- - - - - -
+ + + changePeriod(e.detail)} /> + + + changePeriod(e.detail)} /> + {/if} + + Integrations @@ -260,3 +185,17 @@
+ +