From ca288b39a1abef901106057217e81a61e77561be Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Wed, 28 May 2025 12:34:21 -0700 Subject: [PATCH 1/4] fix: typos on auth targets --- .../auth/user-[user]/targets/table.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/targets/table.svelte b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/targets/table.svelte index fcff7933cb..88bb909a50 100644 --- a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/targets/table.svelte +++ b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/targets/table.svelte @@ -98,7 +98,7 @@ - {selectedIds.length > 1 ? 'subscribers' : 'subscriber'} + {selectedIds.length > 1 ? 'targets' : 'target'} selected @@ -109,7 +109,7 @@ {/if} - + Are you sure you want to delete {selectedIds.length} {selectedIds.length > 1 ? 'targets' : 'target'}? From 4ee22151fe78dbc1f5799db12adf35f7f126c014 Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Wed, 28 May 2025 13:15:04 -0700 Subject: [PATCH 2/4] fix: ensure delete popup shows when identities selected --- .../auth/user-[user]/identities/table.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/table.svelte b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/table.svelte index fa8d43c06e..e48b29b729 100644 --- a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/table.svelte +++ b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/table.svelte @@ -59,7 +59,7 @@ {/each} {#each data.identities.identities as identity (identity.$id)} - + {#each columns as column} {#if column.id === '$id'} From 76a78bbced42a11998e814cd8bfd39f9bdb98489 Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Wed, 28 May 2025 13:15:31 -0700 Subject: [PATCH 3/4] fix: remove identities table cell widths The set widths were causing issues with the table as it wasn't filling the entire space and looked bad. We'll need to figure out how to make the widths look better later. --- .../auth/user-[user]/identities/+page.svelte | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte index c1d02a90fb..a15f62bb0a 100644 --- a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte @@ -13,18 +13,17 @@ export let data; const columns = writable([ - { id: '$id', title: 'Identity ID', type: 'string', width: 200 }, - { id: 'provider', title: 'Provider', type: 'string', width: 80 }, - { id: 'providerUid', title: 'Provider UID', type: 'string', hide: true, width: 80 }, - { id: 'providerEmail', title: 'Email', type: 'string', width: 80 }, + { id: '$id', title: 'Identity ID', type: 'string' }, + { id: 'provider', title: 'Provider', type: 'string' }, + { id: 'providerUid', title: 'Provider UID', type: 'string', hide: true }, + { id: 'providerEmail', title: 'Email', type: 'string' }, { id: 'providerAccessTokenExpiry', title: 'Expiry Date', - type: 'datetime', - width: 60 + type: 'datetime' }, - { id: '$createdAt', title: 'Created', type: 'datetime', width: 80 }, - { id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true, width: 80 } + { id: '$createdAt', title: 'Created', type: 'datetime' }, + { id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true } ]); From e1c2f22d5d5bbeafa1bcb38cf6b92101c4fabe18 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 30 May 2025 16:26:38 +0200 Subject: [PATCH 4/4] Add minimum width constraints to identity table columns --- .../auth/user-[user]/identities/+page.svelte | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte index a15f62bb0a..b87b1f3e38 100644 --- a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/identities/+page.svelte @@ -13,17 +13,23 @@ export let data; const columns = writable([ - { id: '$id', title: 'Identity ID', type: 'string' }, - { id: 'provider', title: 'Provider', type: 'string' }, - { id: 'providerUid', title: 'Provider UID', type: 'string', hide: true }, - { id: 'providerEmail', title: 'Email', type: 'string' }, + { id: '$id', title: 'Identity ID', type: 'string', width: { min: 200 } }, + { id: 'provider', title: 'Provider', type: 'string', width: { min: 80 } }, + { + id: 'providerUid', + title: 'Provider UID', + type: 'string', + hide: true, + width: { min: 80 } + }, + { id: 'providerEmail', title: 'Email', type: 'string', width: { min: 80 } }, { id: 'providerAccessTokenExpiry', title: 'Expiry Date', type: 'datetime' }, - { id: '$createdAt', title: 'Created', type: 'datetime' }, - { id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true } + { id: '$createdAt', title: 'Created', type: 'datetime', width: { min: 80 } }, + { id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true, width: { min: 80 } } ]);