Improve sidebar workspace readability and host identity (#2790)
* fix(app): align turn footer actions Keep running-turn actions in the same position as completed-turn actions and use the shared small icon size for both copy and fork controls. * feat(app): improve sidebar workspace identity Make dense sidebar workspace rows easier to scan and let each device control how connected hosts are identified. * fix(app): keep host badges readable Use a compact display menu and keep identity color on the host icon so translated controls fit and badge text retains standard contrast. * fix(app): announce selected sidebar badge mode * fix(app): retain icon-only host names for screen readers * fix(app): name hoisted workspace rows * fix(app): retain host identity in workspace labels * fix(app): retain workspace status in row labels * fix(app): defer host appearance until identity resolves * fix(app): serialize host appearance writes * fix(app): serialize host registry writes * fix(app): bound sidebar host badge labels * test(app): match workspace status labels * fix(app): consolidate sidebar identity behavior * test(app): assert status grouping behavior * fix(app): keep sidebar row actions accessible * fix(app): stabilize optimistic message layout
This commit is contained in:
@@ -1916,6 +1916,41 @@ export const zhCN: TranslationResources = {
|
||||
},
|
||||
},
|
||||
host: {
|
||||
appearance: {
|
||||
title: "外观",
|
||||
name: {
|
||||
label: "名称",
|
||||
},
|
||||
color: {
|
||||
label: "颜色",
|
||||
accessibilityLabel: "颜色,{{value}}",
|
||||
options: {
|
||||
none: "默认",
|
||||
violet: "紫罗兰",
|
||||
sky: "天蓝",
|
||||
emerald: "翠绿",
|
||||
orange: "橙色",
|
||||
pink: "粉色",
|
||||
indigo: "靛蓝",
|
||||
teal: "青色",
|
||||
red: "红色",
|
||||
amber: "琥珀",
|
||||
blue: "蓝色",
|
||||
},
|
||||
},
|
||||
badge: {
|
||||
label: "侧边栏徽章",
|
||||
accessibilityLabel: "侧边栏徽章,{{value}}",
|
||||
options: {
|
||||
name: "名称",
|
||||
icon: "仅图标",
|
||||
hidden: "隐藏",
|
||||
},
|
||||
},
|
||||
preview: {
|
||||
workspaceName: "my-workspace",
|
||||
},
|
||||
},
|
||||
notFound: "Host 未找到",
|
||||
badges: {
|
||||
relay: "Relay",
|
||||
|
||||
Reference in New Issue
Block a user