The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
feat: add Settings/Accounts/Emails Emails Sync section with empty state (#2941)
Thaïs3ed92b2f8004
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEmailsSyncSection.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEmailsSyncSection.tsxnew file mode 100644index 00000000000..06e600ce685--- /dev/null+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEmailsSyncSection.tsx@@ -0,0 +1,14 @@+import { H2Title } from '@/ui/display/typography/components/H2Title';+import { Section } from '@/ui/layout/section/components/Section';++import { SettingsAccountsEmptyStateCard } from './SettingsAccountsEmptyStateCard';++export const SettingsAccountsEmailsSyncSection = () => (+ <Section>+ <H2Title+ title="Emails sync"+ description="Sync your inboxes and set your privacy settings"+ />+ <SettingsAccountsEmptyStateCard />+ </Section>+);diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsxindex 384119e6ef5..f46dc331ef7 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx@@ -1,3 +1,4 @@+import { SettingsAccountsEmailsSyncSection } from '@/settings/accounts/components/SettingsAccountsEmailsSyncSection';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { IconSettings } from '@/ui/display/icon';import { SubMenuTopBarContainer } from '@/ui/layout/page/SubMenuTopBarContainer';@@ -12,6 +13,7 @@ export const SettingsAccountsEmails = () => ({ children: 'Emails' },]}/>+ <SettingsAccountsEmailsSyncSection /></SettingsPageContainer></SubMenuTopBarContainer>);