From f35a95fbbef987575e698410169b546d0a00be06 Mon Sep 17 00:00:00 2001 From: Michael Matloka Date: Mon, 9 Oct 2023 14:42:21 +0200 Subject: [PATCH 1/2] chore(invites): Clarify expiration message --- frontend/src/scenes/organization/Settings/InviteModal.tsx | 2 +- frontend/src/scenes/organization/Settings/Invites.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/scenes/organization/Settings/InviteModal.tsx b/frontend/src/scenes/organization/Settings/InviteModal.tsx index 3e1bf1ca9c70e..bab0111647fee 100644 --- a/frontend/src/scenes/organization/Settings/InviteModal.tsx +++ b/frontend/src/scenes/organization/Settings/InviteModal.tsx @@ -194,7 +194,7 @@ export function InviteModal({ isOpen, onClose }: { isOpen: boolean; onClose: ()
{invite.is_expired ? ( - Expired! Delete and recreate + Invite expired ) : ( <> {preflight?.email_service_available ? ( diff --git a/frontend/src/scenes/organization/Settings/Invites.tsx b/frontend/src/scenes/organization/Settings/Invites.tsx index f3b4e78fdccfd..e693e2e465b1c 100644 --- a/frontend/src/scenes/organization/Settings/Invites.tsx +++ b/frontend/src/scenes/organization/Settings/Invites.tsx @@ -14,7 +14,7 @@ import { LemonDialog } from 'lib/lemon-ui/LemonDialog' function InviteLinkComponent(id: string, invite: OrganizationInviteType): JSX.Element { const url = new URL(`/signup/${id}`, document.baseURI).href return invite.is_expired ? ( - Expired! Delete and recreate + Invite expired ) : ( {url} From 5ba1b3221669302482c3e8a46ae7bec5ea559c9d Mon Sep 17 00:00:00 2001 From: Michael Matloka Date: Tue, 10 Oct 2023 16:14:24 +0200 Subject: [PATCH 2/2] Change wording --- frontend/src/scenes/organization/Settings/InviteModal.tsx | 2 +- frontend/src/scenes/organization/Settings/Invites.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/scenes/organization/Settings/InviteModal.tsx b/frontend/src/scenes/organization/Settings/InviteModal.tsx index bab0111647fee..56eccf5567551 100644 --- a/frontend/src/scenes/organization/Settings/InviteModal.tsx +++ b/frontend/src/scenes/organization/Settings/InviteModal.tsx @@ -194,7 +194,7 @@ export function InviteModal({ isOpen, onClose }: { isOpen: boolean; onClose: ()
{invite.is_expired ? ( - Invite expired + Expired – please recreate ) : ( <> {preflight?.email_service_available ? ( diff --git a/frontend/src/scenes/organization/Settings/Invites.tsx b/frontend/src/scenes/organization/Settings/Invites.tsx index e693e2e465b1c..4fe50084b5b95 100644 --- a/frontend/src/scenes/organization/Settings/Invites.tsx +++ b/frontend/src/scenes/organization/Settings/Invites.tsx @@ -14,7 +14,7 @@ import { LemonDialog } from 'lib/lemon-ui/LemonDialog' function InviteLinkComponent(id: string, invite: OrganizationInviteType): JSX.Element { const url = new URL(`/signup/${id}`, document.baseURI).href return invite.is_expired ? ( - Invite expired + Expired – please recreate ) : ( {url}