From 0feb5e5ac7331a6173092591227b403d2819352e Mon Sep 17 00:00:00 2001 From: Abdelrahman Ahmed Date: Thu, 22 Oct 2026 16:46:26 +0300 Subject: [PATCH] app: drop early access prefix and duplicate Cluster label on Licenses --- apps/app/src/pages/Licenses.tsx | 4 ++-- apps/app/src/test/licenses.test.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/app/src/pages/Licenses.tsx b/apps/app/src/pages/Licenses.tsx index 3b36fba..78d2276 100644 --- a/apps/app/src/pages/Licenses.tsx +++ b/apps/app/src/pages/Licenses.tsx @@ -51,7 +51,7 @@ function ClusterHalf({license, cs}: {license: License; cs: ClusterState}) { body = (
- Cluster {c.id_short} + {c.id_short}
@@ -170,7 +170,7 @@ function LicenseCard({ Pro {st.label}

- Free during early access · {license.status === 'expired' ? 'ended' : 'ends'} {fmtDate(license.expires_at)} + {license.status === 'expired' ? 'Ended' : 'Ends'} {fmtDate(license.expires_at)}

diff --git a/apps/app/src/test/licenses.test.tsx b/apps/app/src/test/licenses.test.tsx index b9dd93b..eeccf68 100644 --- a/apps/app/src/test/licenses.test.tsx +++ b/apps/app/src/test/licenses.test.tsx @@ -63,7 +63,7 @@ describe('/licenses', () => { const first = await screen.findByRole('region', {name: 'License lic_1'}); expect(within(first).getByText(/KW1-••••••f3a9Qk/)).toBeInTheDocument(); expect(within(first).getByText('active')).toBeInTheDocument(); - expect(within(first).getByText(/Free during early access · ends/)).toBeInTheDocument(); + expect(within(first).getByText(/^Ends /)).toBeInTheDocument(); expect(within(await screen.findByRole('group', {name: 'Cluster for license lic_1'})).getByText('7c1e04ab')).toBeInTheDocument(); const second = screen.getByRole('region', {name: 'License lic_2'}); expect(within(second).getByText(/Not attached yet/)).toBeInTheDocument();