From b79e0347a5dcaffa1393b0bb39ba60ad3d6a879d Mon Sep 17 00:00:00 2001 From: Arman Date: Tue, 2 Apr 2024 17:30:40 +0200 Subject: [PATCH 1/9] fix: upload wizard not closing --- .../storage/bucket-[bucket]/create-file/create.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/console/project-[project]/storage/bucket-[bucket]/create-file/create.svelte b/src/routes/console/project-[project]/storage/bucket-[bucket]/create-file/create.svelte index 99c989561..aeed538c9 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/create-file/create.svelte +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/create-file/create.svelte @@ -29,7 +29,7 @@ async function create() { try { - await uploader.uploadFile( + uploader.uploadFile( bucketId, $createFile.id ?? ID.unique(), $createFile.files[0], From b3b42ee512fd89c7b5240eae1ea8f130737a564c Mon Sep 17 00:00:00 2001 From: Arman Date: Wed, 3 Apr 2024 14:03:13 +0200 Subject: [PATCH 2/9] feat: add downgrade alerts --- .../confirmDetails.svelte | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/routes/console/wizard/cloudOrganizationChangeTier/confirmDetails.svelte b/src/routes/console/wizard/cloudOrganizationChangeTier/confirmDetails.svelte index a67c5086e..b89bc897c 100644 --- a/src/routes/console/wizard/cloudOrganizationChangeTier/confirmDetails.svelte +++ b/src/routes/console/wizard/cloudOrganizationChangeTier/confirmDetails.svelte @@ -1,5 +1,5 @@ - - - -
- -
- - {#if !showCustomId} -
- (showCustomId = !showCustomId)}> - -
- {:else} - - {/if} - Permissions -

- Choose who can access your buckets and files. For more information, visit our - - Permissions guide - . -

- {#if $bucket.fileSecurity} -
- - File security enabled - Users will be able to access this file if they have been granted - either File or Bucket permissions. - -
-
- -
- {:else} - - File security disabled - If you want to assign file permissions, navigate to Bucket settings and enable file security. - Otherwise, only Bucket permissions will be used. - - {/if} -
- - - - -
From 1de5e3bc98946c2ad48d97ab08d31f821f4c0f99 Mon Sep 17 00:00:00 2001 From: Arman Date: Mon, 8 Apr 2024 15:08:29 +0200 Subject: [PATCH 8/9] chore: success notification copy --- .../storage/bucket-[bucket]/create-file/create.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/console/project-[project]/storage/bucket-[bucket]/create-file/create.svelte b/src/routes/console/project-[project]/storage/bucket-[bucket]/create-file/create.svelte index aeed538c9..66315f0dd 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/create-file/create.svelte +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/create-file/create.svelte @@ -42,7 +42,7 @@ addNotification({ type: 'success', - message: `File has been uploaded` + message: `File upload in progress` }); trackEvent(Submit.FileCreate, { customId: !!$createFile.id From d1514904cf83729718b410e7aaf4430104765149 Mon Sep 17 00:00:00 2001 From: Arman Date: Tue, 9 Apr 2024 10:23:55 +0200 Subject: [PATCH 9/9] chore: copy change from "delete" to "remove" --- .../billing/deleteOrgPayment.svelte | 13 ++++++------- .../billing/paymentMethods.svelte | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/routes/console/organization-[organization]/billing/deleteOrgPayment.svelte b/src/routes/console/organization-[organization]/billing/deleteOrgPayment.svelte index 747b538ec..e2de60520 100644 --- a/src/routes/console/organization-[organization]/billing/deleteOrgPayment.svelte +++ b/src/routes/console/organization-[organization]/billing/deleteOrgPayment.svelte @@ -58,11 +58,10 @@ headerDivider={false} title="Unable to delete payment method">

- The {isBackup ? 'backup' : 'default'} payment method cannot be deleted as + The {isBackup ? 'backup' : 'default'} payment method cannot be removed as {$organization?.name} - has an upcoming invoice. To proceed with deletion, set a {isBackup - ? 'default' - : 'backup'} or add a new {isBackup ? 'backup' : 'default'} payment method. + has an upcoming invoice. To proceed, set a {isBackup ? 'default' : 'backup'} or add a new + {isBackup ? 'backup' : 'default'} payment method.

@@ -76,13 +75,13 @@ icon="exclamation" state="warning" headerDivider={false} - title="Delete payment method"> + title="Remove payment method">

- Are you sure you want to delete the payment method from {$organization?.name}? + Are you sure you want to remove the payment method from {$organization?.name}?

- + {/if} diff --git a/src/routes/console/organization-[organization]/billing/paymentMethods.svelte b/src/routes/console/organization-[organization]/billing/paymentMethods.svelte index ae44de05e..5a41e40a7 100644 --- a/src/routes/console/organization-[organization]/billing/paymentMethods.svelte +++ b/src/routes/console/organization-[organization]/billing/paymentMethods.svelte @@ -137,7 +137,7 @@ showDelete = true; showDropdown = false; }}> - Delete + Remove