Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox

This commit is contained in:
yyh
2026-02-09 18:43:04 +08:00
920 changed files with 4057 additions and 3430 deletions

View File

@ -285,14 +285,14 @@ const AppCard = ({ app, onRefresh, onlineUsers = [] }: AppCardProps) => {
return (
<div className="relative flex w-full flex-col py-1" onMouseLeave={onMouseLeave}>
<button type="button" className="mx-1 flex h-8 cursor-pointer items-center gap-2 rounded-lg px-3 hover:bg-state-base-hover" onClick={onClickSettings}>
<span className="system-sm-regular text-text-secondary">{t('editApp', { ns: 'app' })}</span>
<span className="text-text-secondary system-sm-regular">{t('editApp', { ns: 'app' })}</span>
</button>
<Divider className="my-1" />
<button type="button" className="mx-1 flex h-8 cursor-pointer items-center gap-2 rounded-lg px-3 hover:bg-state-base-hover" onClick={onClickDuplicate}>
<span className="system-sm-regular text-text-secondary">{t('duplicate', { ns: 'app' })}</span>
<span className="text-text-secondary system-sm-regular">{t('duplicate', { ns: 'app' })}</span>
</button>
<button type="button" disabled={exporting || secretEnvList.length > 0} className="mx-1 flex h-8 cursor-pointer items-center gap-2 rounded-lg px-3 hover:bg-state-base-hover disabled:cursor-not-allowed disabled:opacity-50" onClick={onClickExport}>
<span className="system-sm-regular text-text-secondary">{t('export', { ns: 'app' })}</span>
<span className="text-text-secondary system-sm-regular">{t('export', { ns: 'app' })}</span>
</button>
{(app.mode === AppModeEnum.COMPLETION || app.mode === AppModeEnum.CHAT) && (
<>
@ -313,7 +313,7 @@ const AppCard = ({ app, onRefresh, onlineUsers = [] }: AppCardProps) => {
<>
<Divider className="my-1" />
<button type="button" className="mx-1 flex h-8 cursor-pointer items-center gap-2 rounded-lg px-3 hover:bg-state-base-hover" onClick={onClickInstalledApp}>
<span className="system-sm-regular text-text-secondary">{t('openInExplore', { ns: 'app' })}</span>
<span className="text-text-secondary system-sm-regular">{t('openInExplore', { ns: 'app' })}</span>
</button>
</>
)
@ -321,7 +321,7 @@ const AppCard = ({ app, onRefresh, onlineUsers = [] }: AppCardProps) => {
<>
<Divider className="my-1" />
<button type="button" className="mx-1 flex h-8 cursor-pointer items-center gap-2 rounded-lg px-3 hover:bg-state-base-hover" onClick={onClickInstalledApp}>
<span className="system-sm-regular text-text-secondary">{t('openInExplore', { ns: 'app' })}</span>
<span className="text-text-secondary system-sm-regular">{t('openInExplore', { ns: 'app' })}</span>
</button>
</>
)
@ -343,7 +343,7 @@ const AppCard = ({ app, onRefresh, onlineUsers = [] }: AppCardProps) => {
className="group mx-1 flex h-8 cursor-pointer items-center gap-2 rounded-lg px-3 py-[6px] hover:bg-state-destructive-hover"
onClick={onClickDelete}
>
<span className="system-sm-regular text-text-secondary group-hover:text-text-destructive">
<span className="text-text-secondary system-sm-regular group-hover:text-text-destructive">
{t('operation.delete', { ns: 'common' })}
</span>
</button>

View File

@ -24,7 +24,7 @@ const Empty = () => {
<>
<DefaultCards />
<div className="pointer-events-none absolute inset-0 z-20 flex items-center justify-center bg-gradient-to-t from-background-body to-transparent">
<span className="system-md-medium text-text-tertiary">
<span className="text-text-tertiary system-md-medium">
{t('newApp.noAppsFound', { ns: 'app' })}
</span>
</div>

View File

@ -30,7 +30,7 @@ const Footer = () => {
return (
<footer className="relative shrink-0 grow-0 px-12 py-2">
<h3 className="text-gradient text-xl font-semibold leading-tight">{t('join', { ns: 'app' })}</h3>
<p className="system-sm-regular mt-1 text-text-tertiary">{t('communityIntro', { ns: 'app' })}</p>
<p className="mt-1 text-text-tertiary system-sm-regular">{t('communityIntro', { ns: 'app' })}</p>
<div className="mt-3 flex items-center gap-2">
<CustomLink href="https://github.com/langgenius/dify">
<RiGithubFill className="h-5 w-5 text-text-tertiary" />