Minor: bug fixes and improvements (#16138)

* Fix the alignment issue for the CopyToClipboard button

* Fix the Ingestion run details modal heading
Add Updated column in the ingestion run details modal table
This commit is contained in:
Aniket Katkar 2024-05-08 14:56:03 +05:30 committed by GitHub
parent 5ab97b23e3
commit 9e7d56c5f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -51,6 +51,10 @@ function IngestionRunDetailsModal({
title: t('label.filtered'), title: t('label.filtered'),
dataIndex: 'filtered', dataIndex: 'filtered',
}, },
{
title: t('label.updated'),
dataIndex: 'updated_records',
},
{ {
title: t('label.warning-plural'), title: t('label.warning-plural'),
dataIndex: 'warnings', dataIndex: 'warnings',
@ -120,7 +124,7 @@ function IngestionRunDetailsModal({
closable={false} closable={false}
maskClosable={false} maskClosable={false}
okButtonProps={{ style: { display: 'none' } }} okButtonProps={{ style: { display: 'none' } }}
title={t('label.run-status-at-timestamp', { title={t('message.run-status-at-timestamp', {
status: startCase(pipelineStatus?.pipelineState), status: startCase(pipelineStatus?.pipelineState),
timestamp: formatDateTime(pipelineStatus?.timestamp), timestamp: formatDateTime(pipelineStatus?.timestamp),
})} })}

View File

@ -53,7 +53,7 @@ export const CopyToClipboardButton: FunctionComponent<Props> = ({
) )
}> }>
<Button <Button
className="h-8 m-l-md relative" className="h-8 m-l-md relative flex-center"
data-testid="copy-secret" data-testid="copy-secret"
icon={<CopyIcon data-testid="copy-icon" width="16" />} icon={<CopyIcon data-testid="copy-icon" width="16" />}
type="text" type="text"