mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
This commit is contained in:
@ -13,7 +13,7 @@ const Field: FC<Props> = ({
|
||||
}) => {
|
||||
return (
|
||||
<div className="flex items-start space-x-2">
|
||||
<div className="system-xs-medium w-[128px] shrink-0 items-center truncate py-1 text-text-tertiary">
|
||||
<div className="w-[128px] shrink-0 items-center truncate py-1 text-text-tertiary system-xs-medium">
|
||||
{label}
|
||||
</div>
|
||||
<div className="w-[244px] shrink-0">
|
||||
|
||||
@ -104,7 +104,7 @@ const InfoGroup: FC<Props> = ({
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
: (<div className="system-xs-regular py-1 text-text-secondary">{(item.value && item.type === DataType.time) ? formatTimestamp((item.value as number), t('metadata.dateTimeFormat', { ns: 'datasetDocuments' })) : item.value}</div>)}
|
||||
: (<div className="py-1 text-text-secondary system-xs-regular">{(item.value && item.type === DataType.time) ? formatTimestamp((item.value as number), t('metadata.dateTimeFormat', { ns: 'datasetDocuments' })) : item.value}</div>)}
|
||||
</Field>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@ -16,7 +16,7 @@ const NoData: FC<Props> = ({
|
||||
return (
|
||||
<div className="rounded-xl bg-gradient-to-r from-workflow-workflow-progress-bg-1 to-workflow-workflow-progress-bg-2 p-4 pt-3">
|
||||
<div className="text-xs font-semibold leading-5 text-text-secondary">{t('metadata.metadata', { ns: 'dataset' })}</div>
|
||||
<div className="system-xs-regular mt-1 text-text-tertiary">{t('metadata.documentMetadata.metadataToolTip', { ns: 'dataset' })}</div>
|
||||
<div className="mt-1 text-text-tertiary system-xs-regular">{t('metadata.documentMetadata.metadataToolTip', { ns: 'dataset' })}</div>
|
||||
<Button variant="primary" className="mt-2" onClick={onStart}>
|
||||
<div>{t('metadata.documentMetadata.startLabeling', { ns: 'dataset' })}</div>
|
||||
<RiArrowRightLine className="ml-1 size-4" />
|
||||
|
||||
Reference in New Issue
Block a user