From ce98103568133ac63e456d709d9cbe11ffcdb256 Mon Sep 17 00:00:00 2001 From: Arman Date: Wed, 27 Dec 2023 15:09:35 +0100 Subject: [PATCH 1/5] fix: create file button disabled --- .../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 752390929..d02d6dd5c 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/+page.svelte @@ -53,7 +53,7 @@ const projectId = $page.params.project; const bucketId = $page.params.bucket; - const usedStorage = bytesToSize(data.organizationUsage.storageTotal, 'MB'); + const usedStorage = bytesToSize(data.organizationUsage.storageTotal, 'GB'); const getPreview = (fileId: string) => sdk.forProject.storage.getFilePreview(bucketId, fileId, 32, 32).toString() + '&mode=admin'; From 7e3e3d45746bbd198201267f8d7d307d3567d0ed Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Fri, 22 Dec 2023 01:27:38 +0000 Subject: [PATCH 2/5] Fix copy for permissions in document settings --- .../document-[document]/+page.svelte | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/document-[document]/+page.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/document-[document]/+page.svelte index 738d87c96..0ee809bd9 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/document-[document]/+page.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/document-[document]/+page.svelte @@ -68,9 +68,15 @@ Permissions

- Assign read or write permissions at the collection level or - document level. If collection level permissions are assigned, permissions applied - to individual documents are ignored. + A user requires appropriate permissions at either the collection level or + document level to access a document. If no permissions are configured, no user + can access the document + Learn more about database permissions.

From 8a357cb71f5194c191812d7165f6592362821b21 Mon Sep 17 00:00:00 2001 From: Elad Shechter Date: Wed, 13 Dec 2023 08:50:37 +0700 Subject: [PATCH 3/5] Bullet points visible - update to list in order not to see the bullets + it fix semantics --- src/lib/components/filters/content.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/filters/content.svelte b/src/lib/components/filters/content.svelte index 6da14dcc6..098376a90 100644 --- a/src/lib/components/filters/content.svelte +++ b/src/lib/components/filters/content.svelte @@ -115,7 +115,7 @@
-
+
    ({ @@ -130,7 +130,7 @@ options={operatorsForColumn} placeholder="Select operator" bind:value={operatorKey} /> -
+ {#if column && operator && !operator?.hideInput}
{#if column.type === 'integer' || column.type === 'double'} From bf86c1df459173fb14d0106688d58ba6d7db165e Mon Sep 17 00:00:00 2001 From: Arman Date: Wed, 27 Dec 2023 17:51:32 +0100 Subject: [PATCH 4/5] fix: stripe error message empty, header button type, budget cap copy --- src/lib/layout/header.svelte | 1 - src/lib/stores/stripe.ts | 2 +- .../organization-[organization]/billing/budgetCap.svelte | 7 ++++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/lib/layout/header.svelte b/src/lib/layout/header.svelte index 4b7308ae8..dc64c5a88 100644 --- a/src/lib/layout/header.svelte +++ b/src/lib/layout/header.svelte @@ -120,7 +120,6 @@ {#if isCloud && $organization?.billingPlan === 'tier-0' && !$page.url.pathname.startsWith('/console/account')} diff --git a/src/lib/stores/stripe.ts b/src/lib/stores/stripe.ts index 4f81173de..98efcce63 100644 --- a/src/lib/stores/stripe.ts +++ b/src/lib/stores/stripe.ts @@ -91,7 +91,7 @@ export async function submitStripeCard(name: string, urlRoute?: string) { } } catch (e) { trackError(e, Submit.PaymentMethodCreate); - throw e.message; + throw e; } } diff --git a/src/routes/console/organization-[organization]/billing/budgetCap.svelte b/src/routes/console/organization-[organization]/billing/budgetCap.svelte index 214b35c64..38fd83312 100644 --- a/src/routes/console/organization-[organization]/billing/budgetCap.svelte +++ b/src/routes/console/organization-[organization]/billing/budgetCap.svelte @@ -74,7 +74,12 @@ {:else} - + + + Budget cap limits do not include the base amount of your plan. Cap usage + is reset at the beginning of each billing cycle. + + {#if capActive} Date: Wed, 27 Dec 2023 18:20:07 +0100 Subject: [PATCH 5/5] fix: id --- .../organization-[organization]/billing/budgetCap.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/console/organization-[organization]/billing/budgetCap.svelte b/src/routes/console/organization-[organization]/billing/budgetCap.svelte index 38fd83312..464dab623 100644 --- a/src/routes/console/organization-[organization]/billing/budgetCap.svelte +++ b/src/routes/console/organization-[organization]/billing/budgetCap.svelte @@ -74,7 +74,7 @@ {:else} - + Budget cap limits do not include the base amount of your plan. Cap usage is reset at the beginning of each billing cycle.