update connected account health status descriptions (#10935)
<img width="694" alt="Screenshot 2025-03-17 at 15 36 03" src="https://github.com/user-attachments/assets/de43d463-d4c1-421a-be1b-947f247ceb94" />
This commit is contained in:
@ -51,14 +51,16 @@ export const ConnectedAccountHealthStatus = () => {
|
||||
{!isMessageSyncDown && serviceDetails.messageSync?.details && (
|
||||
<SettingsAdminHealthAccountSyncCountersTable
|
||||
details={serviceDetails.messageSync.details}
|
||||
title={t`Message Sync Status`}
|
||||
title={t`Message Sync`}
|
||||
description={t`Monitor the execution of your emails sync job`}
|
||||
/>
|
||||
)}
|
||||
|
||||
{!isCalendarSyncDown && serviceDetails.calendarSync?.details && (
|
||||
<SettingsAdminHealthAccountSyncCountersTable
|
||||
details={serviceDetails.calendarSync.details}
|
||||
title={t`Calendar Sync Status`}
|
||||
title={t`Calendar Sync`}
|
||||
description={t`Monitor the execution of your calendar events sync job`}
|
||||
/>
|
||||
)}
|
||||
</StyledContainer>
|
||||
|
||||
@ -10,9 +10,11 @@ const StyledSettingsAdminTableCard = styled(SettingsAdminTableCard)`
|
||||
export const SettingsAdminHealthAccountSyncCountersTable = ({
|
||||
details,
|
||||
title,
|
||||
description,
|
||||
}: {
|
||||
details: Record<string, any> | null;
|
||||
title: string;
|
||||
description: string;
|
||||
}) => {
|
||||
if (!details) {
|
||||
return null;
|
||||
@ -43,10 +45,7 @@ export const SettingsAdminHealthAccountSyncCountersTable = ({
|
||||
|
||||
return (
|
||||
<Section>
|
||||
<H2Title
|
||||
title={title}
|
||||
description={`How your ${title.toLowerCase()} is doing`}
|
||||
/>
|
||||
<H2Title title={title} description={description} />
|
||||
<StyledSettingsAdminTableCard
|
||||
items={items}
|
||||
rounded
|
||||
|
||||
Reference in New Issue
Block a user