The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Place the account sync status next to the row menu (#29026)
nitin6fb6976234f6
diff --git a/packages/twenty-front/src/modules/settings/app-preferences/components/SettingsAccountGroupTableRow.tsx b/packages/twenty-front/src/modules/settings/app-preferences/components/SettingsAccountGroupTableRow.tsxindex 96043fad9f8..889b76dd352 100644--- a/packages/twenty-front/src/modules/settings/app-preferences/components/SettingsAccountGroupTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/app-preferences/components/SettingsAccountGroupTableRow.tsx@@ -62,9 +62,6 @@ export const SettingsAccountGroupTableRow = ({><ProviderIcon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} /><OverflowingTextWithTooltip text={group.handle} />- {shouldShowSyncStatus && (- <SettingsConnectedAccountSyncStatus account={builtInAccount} />- )}</TableCell>);@@ -98,11 +95,21 @@ export const SettingsAccountGroupTableRow = ({account={builtInAccount}/>) : (- <TableCell align="right">+ <TableCell align="right" gap={themeCssVariables.spacing[4]}><SettingsAccountGroupUsedBy group={group} />+ {shouldShowSyncStatus && (+ <SettingsConnectedAccountSyncStatus account={builtInAccount} />+ )}</TableCell>)}- <TableCell align="right" onClick={(event) => event.stopPropagation()}>+ <TableCell+ align="right"+ gap={themeCssVariables.spacing[4]}+ onClick={(event) => event.stopPropagation()}+ >+ {isDefined(builtInAccountApp) && shouldShowSyncStatus && (+ <SettingsConnectedAccountSyncStatus account={builtInAccount} />+ )}{isDefined(builtInAccount) && (<SettingsAppPreferencesRowDropdownMenu account={builtInAccount} />)}diff --git a/packages/twenty-front/src/modules/settings/app-preferences/constants/SettingsBuiltInAccountAppAccountGroupTableGridTemplateColumns.ts b/packages/twenty-front/src/modules/settings/app-preferences/constants/SettingsBuiltInAccountAppAccountGroupTableGridTemplateColumns.tsindex 01d1f358b31..22764c1a85a 100644--- a/packages/twenty-front/src/modules/settings/app-preferences/constants/SettingsBuiltInAccountAppAccountGroupTableGridTemplateColumns.ts+++ b/packages/twenty-front/src/modules/settings/app-preferences/constants/SettingsBuiltInAccountAppAccountGroupTableGridTemplateColumns.ts@@ -1,3 +1,2 @@-import { themeCssVariables } from 'twenty-ui/theme';--export const SETTINGS_BUILT_IN_ACCOUNT_APP_ACCOUNT_GROUP_TABLE_GRID_TEMPLATE_COLUMNS = `200px minmax(0, 1fr) ${themeCssVariables.spacing[8]}`;+export const SETTINGS_BUILT_IN_ACCOUNT_APP_ACCOUNT_GROUP_TABLE_GRID_TEMPLATE_COLUMNS =+ '200px minmax(0, 1fr) auto';