feat(panel): add 3rd-level structure menu, real-UI live previews, drag reorder, and unified capsule tones

This commit is contained in:
fish
2026-11-15 20:01:57 +09:00
parent 6517ee434e
commit 73f637a3e6
26 changed files with 4526 additions and 1134 deletions
+16 -5
View File
@@ -398,6 +398,12 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.gen.latestSub': 'Up to date ({mode})',
// Preferences -> Structure Tab
'settings.str.thirdTabAria': 'Structure section tabs',
'settings.str.tabMount': 'Mount & Bar',
'settings.str.tabHover': 'Hover View',
'settings.str.tabOverview': 'Overview',
'settings.str.tabSteps': 'Step Table',
'settings.str.previewMountSidebarHint': 'Window capsule is disabled in Sidebar Only mode; switching back to Titlebar or Composer applies the capsule above',
'settings.str.mountSection': 'Mount & Capsule Bar',
'settings.str.mountBadge': '{count}/5 slots',
'settings.str.mountMode': 'Panel Mount Mode',
@@ -407,32 +413,37 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.str.multiToggle': 'Active Sessions Pill',
'settings.str.show': 'Show',
'settings.str.hide': 'Hide',
'settings.str.capsuleSlotsLabel': 'Capsule Metrics & Order (Left → Right, 1–5)',
'settings.str.capsuleSlotsLabel': 'Capsule Metrics & Order (Left → Right, 1–5, draggable)',
'settings.str.addCapsuleSlot': 'Add Slot ({count}/{max})',
'settings.str.hoverSection': 'Hover Quick-View',
'settings.str.hoverBadgeOff': 'Off',
'settings.str.hoverBadgeCount': '{count} modules',
'settings.str.hoverModulesLabel': 'Hover Popup Modules (Top → Bottom, 0–4)',
'settings.str.hoverModulesLabel': 'Hover Popup Modules (Top → Bottom, 0–4, draggable)',
'settings.str.hoverEmptyHint': 'Hover quick-view disabled (click capsule to open full panel)',
'settings.str.addHoverModule': 'Add Module ({count}/{max})',
'settings.str.overviewSection': 'Live Overview Layout',
'settings.str.overviewBadge': '{modCount} mod · {metCount} cells',
'settings.str.overviewModulesLabel': 'Overview Modules & Order (Top → Bottom, min 1)',
'settings.str.overviewModulesLabel': 'Overview Modules & Order (Top → Bottom, min 1, draggable)',
'settings.str.addOverviewModule': 'Add Module ({count}/{max})',
'settings.str.overviewMetricsLabel': 'First-Row Metrics (Left → Right, 1–4)',
'settings.str.overviewMetricsLabel': 'First-Row Metrics (Left → Right, 1–4, draggable)',
'settings.str.overviewMetricsInactiveHint': '"Live Metrics" is hidden here; these cells still apply to Hover Quick-View or when re-added',
'settings.str.addOverviewMetric': 'Add Metric ({count}/{max})',
'settings.str.stepsSection': 'Step Table Columns',
'settings.str.stepsBadge': '{count} cols',
'settings.str.stepTurnRailToggle': 'Turn Rail & Preview',
'settings.str.stepAgentBadgeToggle': 'Main/Sub Agent Badge',
'settings.str.stepsColsLabel': '"Steps" Visible Columns (Left → Right, min 2)',
'settings.str.stepsColsLabel': '"Steps" Visible Columns (Left → Right, min 2, draggable)',
'settings.str.addStepCol': 'Add Column ({count}/{max})',
'settings.slot.dragHint': 'Drag up or down to reorder',
'settings.slot.moveUp': 'Move earlier',
'settings.slot.moveDown': 'Move later',
'settings.slot.remove': 'Remove item',
'settings.slot.minReached': 'Keep at least {min}',
'settings.slot.alreadyAdded': 'Added',
'settings.mock.sessionTitle': 'Refactor Auth Middleware & Session Cache',
'settings.mock.subRole': 'API Audit',
'settings.mock.turnPromptLatest': 'Fix token refresh race condition under concurrent requests and add tests',
'settings.mock.turnPromptPrev': 'Audit route guards and expired session cleanup logic',
// Preferences -> Other Tab
'settings.oth.modelTitle': 'Model Identity Display',
+16 -5
View File
@@ -398,6 +398,12 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'settings.gen.latestSub': '已是最新 ({mode})',
// Preferences -> Structure Tab
'settings.str.thirdTabAria': '结构子菜单切换',
'settings.str.tabMount': '挂载与胶囊',
'settings.str.tabHover': '鼠标悬浮窗',
'settings.str.tabOverview': '实时监控布局',
'settings.str.tabSteps': '调用明细字段',
'settings.str.previewMountSidebarHint': '当前为仅侧边栏模式,主窗口不挂载胶囊;切回顶部栏或输入框挂载后将按上方样式呈现',
'settings.str.mountSection': '挂载与胶囊栏',
'settings.str.mountBadge': '{count}/5 项',
'settings.str.mountMode': '面板挂载方式',
@@ -407,32 +413,37 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'settings.str.multiToggle': '实时运行会话入口',
'settings.str.show': '显示',
'settings.str.hide': '隐藏',
'settings.str.capsuleSlotsLabel': '胶囊数值与顺序 (左 → 右,1~5 项)',
'settings.str.capsuleSlotsLabel': '胶囊数值与顺序 (左 → 右,1~5 项,可拖拽)',
'settings.str.addCapsuleSlot': '添加槽位 ({count}/{max})',
'settings.str.hoverSection': '鼠标悬浮窗',
'settings.str.hoverBadgeOff': '已关闭',
'settings.str.hoverBadgeCount': '{count} 模块',
'settings.str.hoverModulesLabel': '悬浮窗展示模块 (上 → 下,0~4 项)',
'settings.str.hoverModulesLabel': '悬浮窗展示模块 (上 → 下,0~4 项,可拖拽)',
'settings.str.hoverEmptyHint': '已关闭悬浮速览窗(点击胶囊仍可展开完整面板)',
'settings.str.addHoverModule': '添加模块 ({count}/{max})',
'settings.str.overviewSection': '实时监控布局',
'settings.str.overviewBadge': '{modCount} 模块 · {metCount} 指标',
'settings.str.overviewModulesLabel': '监控模块与顺序 (上 → 下,至少 1 项)',
'settings.str.overviewModulesLabel': '监控模块与顺序 (上 → 下,至少 1 项,可拖拽)',
'settings.str.addOverviewModule': '添加模块 ({count}/{max})',
'settings.str.overviewMetricsLabel': '第一行实时指标 (左 → 右,1~4 项)',
'settings.str.overviewMetricsLabel': '第一行实时指标 (左 → 右,1~4 项,可拖拽)',
'settings.str.overviewMetricsInactiveHint': '当前已移出「实时指标」模块,此配置将在悬浮窗启用或重新添加模块时生效',
'settings.str.addOverviewMetric': '添加指标 ({count}/{max})',
'settings.str.stepsSection': '调用明细字段',
'settings.str.stepsBadge': '{count} 列',
'settings.str.stepTurnRailToggle': '对话轮次导轨',
'settings.str.stepAgentBadgeToggle': '主/子代理标识',
'settings.str.stepsColsLabel': '「按步查看」显示列 (左 → 右,至少 2 列)',
'settings.str.stepsColsLabel': '「按步查看」显示列 (左 → 右,至少 2 列,可拖拽)',
'settings.str.addStepCol': '添加字段 ({count}/{max})',
'settings.slot.dragHint': '按住上下拖动调整顺序',
'settings.slot.moveUp': '前移',
'settings.slot.moveDown': '后移',
'settings.slot.remove': '移除此项',
'settings.slot.minReached': '至少保留 {min} 项',
'settings.slot.alreadyAdded': '已添加',
'settings.mock.sessionTitle': '重构鉴权中间件与会话缓存',
'settings.mock.subRole': '接口审计',
'settings.mock.turnPromptLatest': '排查并发刷新令牌时的竞态问题,补齐单元测试',
'settings.mock.turnPromptPrev': '梳理路由守卫与过期会话清理逻辑',
// Preferences -> Other Tab
'settings.oth.modelTitle': '模型标识显示',