Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

style(config): Adjust the layout of the configuration component list and rmove show plugin versions

hairyf864138927047
diff --git a/src/components/config-core.tsx b/src/components/config-core.tsx
index 1b644c34..2bbe6b2e 100644
--- a/src/components/config-core.tsx
+++ b/src/components/config-core.tsx
@@ -183,7 +183,7 @@ export function ConfigCore() {
{/* 加载 / 失败 / 列表 */}
<PanelState loading={loading} error={error}>
- <div className="space-y-3 flex-wrap gap-2">
+ <div className="flex flex-col gap-4">
{rows.map(core => (
<Item
key={core.id}
diff --git a/src/components/config-plugin.tsx b/src/components/config-plugin.tsx
index a1fc0c1b..9bf68f3c 100644
--- a/src/components/config-plugin.tsx
+++ b/src/components/config-plugin.tsx
@@ -153,7 +153,7 @@ export function ConfigPlugin() {
<Empty>{t('plugins.empty')}</Empty>
)}
>
- <div className="space-y-3 flex-wrap gap-2">
+ <div className="flex flex-col gap-4">
{plugins.sort(a => a.internal ? -1 : 1).map(plugin => (
<Item
key={plugin.id}
@@ -219,9 +219,10 @@ export function ConfigPlugin() {
<span className="flex items-center gap-1">
<If cond={busy?.id === plugin.id && busy.action === 'update'} then={<Spinner size="sm" color="current" />} />
{t('plugins.upgrade')}
- <If cond={plugin.latestVersion != null && plugin.error == null}>
+ {/* TODO: hash 会超出长度 */}
+ {/* <If cond={plugin.latestVersion != null && plugin.error == null}>
<span className="font-mono text-[10px] opacity-80">{plugin.latestVersion}</span>
- </If>
+ </If> */}
</span>
</Chip>
</If>
diff --git a/src/components/config-profile.tsx b/src/components/config-profile.tsx
index 5dfa7b45..56a4caa7 100644
--- a/src/components/config-profile.tsx
+++ b/src/components/config-profile.tsx
@@ -131,7 +131,7 @@ export function ConfigProfile() {
{/* 加载 / 失败 / 列表 */}
<PanelState loading={loading} error={error}>
- <div className="space-y-3 flex-wrap gap-2">
+ <div className="flex flex-col gap-4">
{profiles.map(profile => (
<Item
key={profile.id}