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:
nitin
2025-03-17 18:31:55 +05:30
committed by GitHub
parent 7ff2fccd5b
commit d01023dfe7
2 changed files with 7 additions and 6 deletions

View File

@ -51,14 +51,16 @@ export const ConnectedAccountHealthStatus = () => {
{!isMessageSyncDown && serviceDetails.messageSync?.details && ( {!isMessageSyncDown && serviceDetails.messageSync?.details && (
<SettingsAdminHealthAccountSyncCountersTable <SettingsAdminHealthAccountSyncCountersTable
details={serviceDetails.messageSync.details} 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 && ( {!isCalendarSyncDown && serviceDetails.calendarSync?.details && (
<SettingsAdminHealthAccountSyncCountersTable <SettingsAdminHealthAccountSyncCountersTable
details={serviceDetails.calendarSync.details} 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> </StyledContainer>

View File

@ -10,9 +10,11 @@ const StyledSettingsAdminTableCard = styled(SettingsAdminTableCard)`
export const SettingsAdminHealthAccountSyncCountersTable = ({ export const SettingsAdminHealthAccountSyncCountersTable = ({
details, details,
title, title,
description,
}: { }: {
details: Record<string, any> | null; details: Record<string, any> | null;
title: string; title: string;
description: string;
}) => { }) => {
if (!details) { if (!details) {
return null; return null;
@ -43,10 +45,7 @@ export const SettingsAdminHealthAccountSyncCountersTable = ({
return ( return (
<Section> <Section>
<H2Title <H2Title title={title} description={description} />
title={title}
description={`How your ${title.toLowerCase()} is doing`}
/>
<StyledSettingsAdminTableCard <StyledSettingsAdminTableCard
items={items} items={items}
rounded rounded