From 3556e11e143bd23ab9648185896b807feaffafd1 Mon Sep 17 00:00:00 2001 From: ItzNotABug Date: Mon, 29 Apr 2024 14:08:00 +0530 Subject: [PATCH 1/3] improve: bucket limits message. --- .../project-[project]/storage/bucket-[bucket]/+page.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte index 648548e50..c8360e744 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte @@ -114,9 +114,9 @@ {#if tier === 'Starter'}

- You are limited to {limit} GB of total storage and {Math.floor( - parseInt(maxFileSize.value) - )}{maxFileSize.unit} on the {tier} plan. + You are limited to {limit}GB of total storage and maximum upload file + size limit of {Math.floor(parseInt(maxFileSize.value))}{maxFileSize.unit} + on the {tier} plan. for additional storage. From 81f534d85c2ab625d871f9fa0fe656187aed9712 Mon Sep 17 00:00:00 2001 From: ItzNotABug Date: Mon, 29 Apr 2024 16:28:40 +0530 Subject: [PATCH 2/3] improve: keep a standard pattern. --- .../storage/bucket-[bucket]/+page.svelte | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte index c8360e744..fde7c2dd0 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte @@ -113,10 +113,15 @@ {#if tier === 'Starter'} +

The {tier} plan has limits

+

- You are limited to {limit}GB of total storage and maximum upload file - size limit of {Math.floor(parseInt(maxFileSize.value))}{maxFileSize.unit} - on the {tier} plan. for additional storage. From f0b3dc94544737422152cb43225bdbcce4c27254 Mon Sep 17 00:00:00 2001 From: ItzNotABug Date: Mon, 29 Apr 2024 16:31:35 +0530 Subject: [PATCH 3/3] fix: misc. --- .../project-[project]/storage/bucket-[bucket]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte index fde7c2dd0..a59db0265 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte @@ -124,7 +124,7 @@

- for additional storage. + for additional storage resources.

{:else}