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:
@ -38,7 +38,7 @@ const Card = ({
|
||||
<div className="flex size-6 shrink-0 items-center justify-center rounded-lg border-[0.5px] border-divider-subtle bg-util-colors-blue-brand-blue-brand-500 shadow-md shadow-shadow-shadow-5">
|
||||
<ApiAggregate className="size-4 text-text-primary-on-surface" />
|
||||
</div>
|
||||
<div className="system-sm-semibold grow truncate text-text-secondary">
|
||||
<div className="grow truncate text-text-secondary system-sm-semibold">
|
||||
{t('serviceApi.card.title', { ns: 'dataset' })}
|
||||
</div>
|
||||
</div>
|
||||
@ -50,19 +50,19 @@ const Card = ({
|
||||
}
|
||||
/>
|
||||
<div
|
||||
className="system-xs-semibold-uppercase text-text-success"
|
||||
className="text-text-success system-xs-semibold-uppercase"
|
||||
>
|
||||
{t('serviceApi.enabled', { ns: 'dataset' })}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col">
|
||||
<div className="system-xs-regular leading-6 text-text-tertiary">
|
||||
<div className="leading-6 text-text-tertiary system-xs-regular">
|
||||
{t('serviceApi.card.endpoint', { ns: 'dataset' })}
|
||||
</div>
|
||||
<div className="flex h-8 items-center gap-0.5 rounded-lg bg-components-input-bg-normal p-1 pl-2">
|
||||
<div className="flex h-4 min-w-0 flex-1 items-start justify-start gap-2 px-1">
|
||||
<div className="system-xs-medium truncate text-text-secondary">
|
||||
<div className="truncate text-text-secondary system-xs-medium">
|
||||
{apiBaseUrl}
|
||||
</div>
|
||||
</div>
|
||||
@ -81,7 +81,7 @@ const Card = ({
|
||||
onClick={handleOpenSecretKeyModal}
|
||||
>
|
||||
<RiKey2Line className="size-3.5 shrink-0" />
|
||||
<span className="system-xs-medium px-[3px]">
|
||||
<span className="px-[3px] system-xs-medium">
|
||||
{t('serviceApi.card.apiKey', { ns: 'dataset' })}
|
||||
</span>
|
||||
</Button>
|
||||
@ -96,7 +96,7 @@ const Card = ({
|
||||
className="gap-x-px text-text-tertiary"
|
||||
>
|
||||
<RiBookOpenLine className="size-3.5 shrink-0" />
|
||||
<span className="system-xs-medium px-[3px]">
|
||||
<span className="px-[3px] system-xs-medium">
|
||||
{t('serviceApi.card.apiReference', { ns: 'dataset' })}
|
||||
</span>
|
||||
</Button>
|
||||
|
||||
@ -46,7 +46,7 @@ const ServiceApi = ({
|
||||
apiBaseUrl ? 'green' : 'yellow'
|
||||
}
|
||||
/>
|
||||
<div className="system-sm-medium grow text-text-secondary">{t('serviceApi.title', { ns: 'dataset' })}</div>
|
||||
<div className="grow text-text-secondary system-sm-medium">{t('serviceApi.title', { ns: 'dataset' })}</div>
|
||||
</div>
|
||||
</PortalToFollowElemTrigger>
|
||||
<PortalToFollowElemContent className="z-[10]">
|
||||
|
||||
Reference in New Issue
Block a user