From c21034cce95595fc59709f690e28a65e3cdee77e Mon Sep 17 00:00:00 2001 From: HugoCasa Date: Wed, 16 Jul 2025 19:26:37 +0200 Subject: [PATCH] feat: better explanation for dev key renewal (#6209) * fix: hide s3 catalog picker in anonymous apps * nit reactivity upload text * no signed s3 object warning * remove warning * fix check * feat: better dev key explanation --- .../src/lib/components/InstanceSetting.svelte | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/frontend/src/lib/components/InstanceSetting.svelte b/frontend/src/lib/components/InstanceSetting.svelte index 51cbe3452f..f724e97a1a 100644 --- a/frontend/src/lib/components/InstanceSetting.svelte +++ b/frontend/src/lib/components/InstanceSetting.svelte @@ -406,9 +406,16 @@ {:else if expiration}
- License key expired on {expiration} + + {#if $values[setting.key]?.endsWith('__dev')} + Dev license key expired on {expiration}.
If even after successful + renewal, your dev license key is still expired, it means that your production + key has expired due to unpaid invoices or excessive use of your production + instance. + {:else} + License key expired on {expiration}. + {/if} +
{:else}
@@ -440,12 +447,17 @@ : 'text-red-600' )} > - {latestKeyRenewalAttempt.result === 'success' - ? 'Latest key renewal succeeded' - : isTrial - ? 'Latest key renewal ignored because in trial' - : 'Latest key renewal failed'} - on {attemptedAt} + {#if latestKeyRenewalAttempt.result === 'success' && $values[setting.key]?.endsWith('__dev')} + Latest dev key renewal succeeded on {attemptedAt}. The dev key expiry was + updated to align with your current production key's expiration date. + {:else} + {latestKeyRenewalAttempt.result === 'success' + ? 'Latest key renewal succeeded' + : isTrial + ? 'Latest key renewal ignored because in trial' + : 'Latest key renewal failed'} + on {attemptedAt} + {/if}
{#snippet text()}