Skip to content

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

Merge branch 'main' into feat/navbar-config-menu

Mao Mr31dbe126dab6
diff --cc src/layout/components/navbar.tsx
index 7d0bbe20,2154c866..74252de3
--- a/src/layout/components/navbar.tsx
+++ b/src/layout/components/navbar.tsx
@@@ -430,34 -419,17 +430,34 @@@ export function Navbar({ sidebarCollaps
</Dropdown.Menu>
</Dropdown.Popover>
</Dropdown>
- <Button
- className="rounded-lg h-6 text-[12.5px] px-1.5"
- size="sm"
- variant="ghost"
- onPress={handleOpenConfig}
- >
- {t('app.config')}
- </Button>
+ <Dropdown>
+ <Button
- className="rounded-lg h-6 text-xs px-1.5"
++ className="rounded-lg h-6 text-[12.5px] px-1.5"
+ size="sm"
+ variant="ghost"
+ aria-label={t('app.config')}
+ >
+ {t('app.config')}
+ </Button>
+ <Dropdown.Popover className="rounded-md w-5!">
+ <Dropdown.Menu>
+ {CONFIG_TABS.map(item => (
+ <Dropdown.Item
+ key={item.id}
+ className="rounded-md"
+ id={item.id}
+ textValue={t(item.labelKey)}
+ onAction={() => handleOpenConfig(item.id)}
+ >
+ <Label>{t(item.labelKey)}</Label>
+ </Dropdown.Item>
+ ))}
+ </Dropdown.Menu>
+ </Dropdown.Popover>
+ </Dropdown>
<Dropdown>
<Button
- className="rounded-lg h-6 text-xs px-1.5"
+ className="rounded-lg h-6 text-[12.5px] px-1.5"
size="sm"
variant="ghost"
aria-label={t('app.help')}