feat: v0.5.0 - provider icon actions, duplicate & connectivity test, dashboard chart fixes
- ProviderList: icon buttons (edit/copy/test/delete) via lucide-react, speed-test badge before enable/switch button - Duplicate provider: deep-copy provider + models as xxx-copy - test_connectivity command (cc-switch semantics: GET base_url, any HTTP response = reachable), latency badge green/orange/red, auto-dismiss 6s - Dashboard: daily bars anchored to panel bottom, Card flex height fix (heatmap stays content-height)
This commit is contained in:
1 parent
6b172914be
commit
b1d137f072
12 files changed
+232
-12
No files matched your search
@@ -31,6 +31,13 @@ export const enTranslations: Record<TranslationKey, string> = {
|
||||
defaultModel: "Default: {name}",
|
||||
edit: "Edit",
|
||||
delete: "Delete",
|
||||
copyProvider: "Duplicate provider",
|
||||
testConnectivity: "Test connectivity",
|
||||
testing: "Testing...",
|
||||
connectivityOk: "{name} reachable ({latency}ms)",
|
||||
connectivitySlow: "{name} reachable but slow ({latency}ms)",
|
||||
connectivityFail: "{name} unreachable: {error}",
|
||||
copiedProvider: "Duplicated as {name}",
|
||||
|
||||
// Provider edit
|
||||
editProvider: "Edit Provider",
|
||||
|
||||
@@ -29,6 +29,13 @@ export const zhTranslations = {
|
||||
defaultModel: "默认: {name}",
|
||||
edit: "编辑",
|
||||
delete: "删除",
|
||||
copyProvider: "复制供应商",
|
||||
testConnectivity: "测试连通性",
|
||||
testing: "测试中...",
|
||||
connectivityOk: "{name} 连通正常({latency}ms)",
|
||||
connectivitySlow: "{name} 连通较慢({latency}ms)",
|
||||
connectivityFail: "{name} 无法连通:{error}",
|
||||
copiedProvider: "已复制为 {name}",
|
||||
|
||||
// Provider edit
|
||||
editProvider: "编辑供应商",
|
||||
|
||||
Reference in new issue
Block a user