From dcfa6520fcbe764e34855b88f53ce5543a2b9732 Mon Sep 17 00:00:00 2001 From: JarWarren Date: Sun, 24 Nov 2024 21:26:27 -0700 Subject: [PATCH] whitelabel --- packages/twenty-e2e-testing/tests/login.setup.ts | 2 +- packages/twenty-emails/src/emails/send-invite-link.email.tsx | 2 +- .../data-model/constants/SettingsCompositeFieldTypeConfigs.ts | 4 ++-- .../src/pages/auth/__stories__/Invite.stories.tsx | 4 ++-- packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx | 2 +- packages/twenty-front/src/pages/onboarding/SyncEmails.tsx | 2 +- .../engine/core-modules/environment/environment-variables.ts | 2 +- .../services/workspace-invitation.service.ts | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/twenty-e2e-testing/tests/login.setup.ts b/packages/twenty-e2e-testing/tests/login.setup.ts index defd196850ce..ad756f9bb409 100644 --- a/packages/twenty-e2e-testing/tests/login.setup.ts +++ b/packages/twenty-e2e-testing/tests/login.setup.ts @@ -8,7 +8,7 @@ setup('Login test', async ({ page }) => { await page.getByRole('button', { name: 'Continue', exact: true }).click(); await page.getByPlaceholder('Password').fill(process.env.DEFAULT_PASSWORD); await page.getByRole('button', { name: 'Sign in' }).click(); - await expect(page.getByText('Welcome to Twenty')).not.toBeVisible(); + await expect(page.getByText('Welcome to Funnelmink')).not.toBeVisible(); // End of authentication steps. diff --git a/packages/twenty-emails/src/emails/send-invite-link.email.tsx b/packages/twenty-emails/src/emails/send-invite-link.email.tsx index e1c3e70ca3af..7bfee2d43535 100644 --- a/packages/twenty-emails/src/emails/send-invite-link.email.tsx +++ b/packages/twenty-emails/src/emails/send-invite-link.email.tsx @@ -30,7 +30,7 @@ export const SendInviteLinkEmail = ({ const workspaceLogo = getImageAbsoluteURI(workspace.logo, serverUrl); return ( - + <Title value="Join your team on Funnelmink" /> <MainText> {capitalize(sender.firstName)} ( <Link href={sender.email} value={sender.email} />) has invited you to diff --git a/packages/twenty-front/src/modules/settings/data-model/constants/SettingsCompositeFieldTypeConfigs.ts b/packages/twenty-front/src/modules/settings/data-model/constants/SettingsCompositeFieldTypeConfigs.ts index b2fb02c29f62..98199b0f2bd4 100644 --- a/packages/twenty-front/src/modules/settings/data-model/constants/SettingsCompositeFieldTypeConfigs.ts +++ b/packages/twenty-front/src/modules/settings/data-model/constants/SettingsCompositeFieldTypeConfigs.ts @@ -72,9 +72,9 @@ export const SETTINGS_COMPOSITE_FIELD_TYPE_CONFIGS = { label: 'Links', Icon: IllustrationIconLink, exampleValue: { - primaryLinkUrl: 'twenty.com', + primaryLinkUrl: 'funnelmink.com', primaryLinkLabel: '', - secondaryLinks: [{ url: 'twenty.com', label: 'Twenty' }], + secondaryLinks: [{ url: 'funnelmink.com', label: 'Funnelmink' }], }, category: 'Basic', subFields: ['primaryLinkUrl', 'primaryLinkLabel', 'secondaryLinks'], diff --git a/packages/twenty-front/src/pages/auth/__stories__/Invite.stories.tsx b/packages/twenty-front/src/pages/auth/__stories__/Invite.stories.tsx index 85665e8bee7d..b8dca103a652 100644 --- a/packages/twenty-front/src/pages/auth/__stories__/Invite.stories.tsx +++ b/packages/twenty-front/src/pages/auth/__stories__/Invite.stories.tsx @@ -33,7 +33,7 @@ const meta: Meta<PageDecoratorArgs> = { findWorkspaceFromInviteHash: { __typename: 'Workspace', id: '20202020-91f0-46d0-acab-cb5afef3cc3b', - displayName: 'Twenty dev', + displayName: 'Funnelmink dev', logo: null, allowImpersonation: false, }, @@ -73,7 +73,7 @@ export const Default: Story = { play: async ({ canvasElement }) => { const canvas = within(canvasElement); - await canvas.findByText('Join Twenty dev team', undefined, { + await canvas.findByText('Join Funnelmink dev team', undefined, { timeout: 5000, }); diff --git a/packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx b/packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx index 15f8a4d79cce..2d74b22f6c2f 100644 --- a/packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx +++ b/packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx @@ -132,7 +132,7 @@ export const ChooseYourPlan = () => { setIsSubmitting(false); if (!data?.checkoutSession.url) { enqueueSnackBar( - 'Checkout session error. Please retry or contact Twenty team', + 'Checkout session error. Please retry or contact Funnelmink team', { variant: SnackBarVariant.Error, }, diff --git a/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx b/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx index e8945edb7424..36dfcd9a5d14 100644 --- a/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx +++ b/packages/twenty-front/src/pages/onboarding/SyncEmails.tsx @@ -82,7 +82,7 @@ export const SyncEmails = () => { <> <Title noMarginTop>Emails and Calendar - Sync your Emails and Calendar with Twenty. Choose your privacy settings. + Sync your Emails and Calendar with Funnelmink. Choose your privacy settings. `, to: invitation.value.email, - subject: 'Join your team on Twenty', + subject: 'Join your team on Funnelmink', text, html, });