This commit is contained in:
yyh
2026-03-04 22:53:29 +08:00
parent 62631658e9
commit 5ed4797078
3 changed files with 4 additions and 25 deletions

View File

@ -915,7 +915,7 @@ describe('update-plugin', () => {
onShowChange: vi.fn(),
pluginID: 'test-plugin-id',
currentVersion: '1.0.0',
trigger: <button>Select Version</button>,
trigger: <span>Select Version</span>,
onSelect: vi.fn(),
}
@ -1159,7 +1159,7 @@ describe('update-plugin', () => {
onShowChange: vi.fn(),
pluginID: 'test',
currentVersion: '1.0.0',
trigger: <button>Select</button>,
trigger: <span>Select</span>,
onSelect: vi.fn(),
}}
/>,

View File

@ -18,8 +18,8 @@ const DowngradeWarningModal = ({
return (
<>
<div className="flex flex-col items-start gap-2 self-stretch">
<div className="title-2xl-semi-bold text-text-primary">{t(`${i18nPrefix}.title`, { ns: 'plugin' })}</div>
<div className="system-md-regular text-text-secondary">
<div className="text-text-primary title-2xl-semi-bold">{t(`${i18nPrefix}.title`, { ns: 'plugin' })}</div>
<div className="text-text-secondary system-md-regular">
{t(`${i18nPrefix}.description`, { ns: 'plugin' })}
</div>
</div>

View File

@ -5732,27 +5732,6 @@
"count": 30
}
},
"app/components/plugins/update-plugin/downgrade-warning.tsx": {
"tailwindcss/enforce-consistent-class-order": {
"count": 2
}
},
"app/components/plugins/update-plugin/from-market-place.tsx": {
"no-restricted-imports": {
"count": 1
},
"tailwindcss/enforce-consistent-class-order": {
"count": 1
}
},
"app/components/plugins/update-plugin/plugin-version-picker.tsx": {
"no-restricted-imports": {
"count": 1
},
"tailwindcss/enforce-consistent-class-order": {
"count": 3
}
},
"app/components/rag-pipeline/components/chunk-card-list/chunk-card.tsx": {
"tailwindcss/enforce-consistent-class-order": {
"count": 2