feat(panel): add experimental modern UI, sliding switchers, cycle range, and fluid animations

This commit is contained in:
fish
2026-11-19 15:05:27 +09:00
parent 70629dcd74
commit 367ca0cd6d
35 changed files with 5066 additions and 294 deletions
+11 -6
View File
@@ -145,9 +145,9 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
// Context Window Widget
'ctx.followActive': 'Follow Active ({badge})',
'ctx.followActiveTitle': 'Automatically inspect the active or running agent context window',
'ctx.expandMore': '+{count} More ▾',
'ctx.expandMore': '+{count} More',
'ctx.expandMoreTitle': 'Expand all {count} subagent context pills',
'ctx.collapse': 'Less ▴',
'ctx.collapse': 'Less',
'ctx.collapseTitle': 'Collapse extra subagent pills',
'ctx.ch.assistant': 'Assistant',
'ctx.ch.assistantTitle': 'Model reasoning, responses, and tool call arguments',
@@ -199,14 +199,15 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'live.doneWithSteps': 'Done ({steps} steps)',
'live.waitingWithSteps': 'Waiting ({steps} steps)',
'live.killedWithSteps': 'Killed ({steps} steps)',
'live.subToggleRunning': 'Subagents {run}/{total} {arrow}',
'live.subToggleIdle': 'Subagents ({total}) {arrow}',
'live.swarmToggleRunning': 'Swarm {run}/{total} {arrow}',
'live.swarmToggleIdle': 'Swarm ({total}) {arrow}',
'live.subToggleRunning': 'Subagents {run}/{total}',
'live.subToggleIdle': 'Subagents ({total})',
'live.swarmToggleRunning': 'Swarm {run}/{total}',
'live.swarmToggleIdle': 'Swarm ({total})',
'live.subCollapseTitle': 'Collapse subagent list',
'live.subExpandTitle': 'Expand subagent activity list',
// Consumption View
'cons.rangeCycle': 'Cycle',
'cons.rangeToday': 'Today',
'cons.range24h': '24h',
'cons.range7d': '7d',
@@ -406,6 +407,10 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.gen.fontLg': 'Large',
'settings.gen.fontXl': 'XL',
'settings.gen.fontHint': 'Scales sidebar and popover typography while keeping the inline capsule compact',
'settings.gen.modernUi': 'Modern UI (Experimental)',
'settings.gen.modernUiOff': 'Off',
'settings.gen.modernUiOn': 'On',
'settings.gen.modernUiHint': 'Removes most borders in favor of soft tonal surfaces and smoother animations',
'settings.gen.updateTitle': 'Updates & Pricing',
'settings.gen.updateMode': 'Update Policy',
'settings.gen.updateManual': 'Notify only, update manually',
+11 -6
View File
@@ -145,9 +145,9 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
// Context Window Widget
'ctx.followActive': '跟随活跃 ({badge})',
'ctx.followActiveTitle': '自动展示当前正在运行或最新活跃的代理上下文窗口',
'ctx.expandMore': '+{count} 展开 ▾',
'ctx.expandMore': '+{count} 展开',
'ctx.expandMoreTitle': '展开全部 {count} 个子代理的上下文窗口胶囊',
'ctx.collapse': '收起 ▴',
'ctx.collapse': '收起',
'ctx.collapseTitle': '折叠多余子代理胶囊',
'ctx.ch.assistant': '模型回复',
'ctx.ch.assistantTitle': '模型推理思考、回复正文与工具调用入参',
@@ -199,14 +199,15 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'live.doneWithSteps': '已完成 ({steps} 步)',
'live.waitingWithSteps': '待命中 ({steps} 步)',
'live.killedWithSteps': '已终止 ({steps} 步)',
'live.subToggleRunning': '子代理 {run}/{total} {arrow}',
'live.subToggleIdle': '子代理 ({total}) {arrow}',
'live.swarmToggleRunning': '蜂群 {run}/{total} {arrow}',
'live.swarmToggleIdle': '蜂群 ({total}) {arrow}',
'live.subToggleRunning': '子代理 {run}/{total}',
'live.subToggleIdle': '子代理 ({total})',
'live.swarmToggleRunning': '蜂群 {run}/{total}',
'live.swarmToggleIdle': '蜂群 ({total})',
'live.subCollapseTitle': '点击收起子代理列表',
'live.subExpandTitle': '点击展开查看子代理缩略状态',
// Consumption View
'cons.rangeCycle': '周期',
'cons.rangeToday': '今天',
'cons.range24h': '1天',
'cons.range7d': '7天',
@@ -406,6 +407,10 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'settings.gen.fontLg': '大',
'settings.gen.fontXl': '特大',
'settings.gen.fontHint': '等比缩放侧边栏与展开面板字号,顶栏及输入框内嵌胶囊保持紧凑定高',
'settings.gen.modernUi': '新 UI(实验性)',
'settings.gen.modernUiOff': '关闭',
'settings.gen.modernUiOn': '开启',
'settings.gen.modernUiHint': '去除大部分线框,采用柔和分层底色与更流畅的现代过渡动画',
'settings.gen.updateTitle': '版本更新',
'settings.gen.updateMode': '更新方式',
'settings.gen.updateManual': '仅提示新版本,手动更新',