feat: Enhance Project Overview and Review Session pages with improved UI and functionality

- Updated ProjectOverviewPage to enhance the guidelines section with better spacing, larger icons, and improved button styles.
- Refactored ReviewSessionPage to unify filter controls, improve selection actions, and enhance the findings list with a new layout.
- Added dimension tabs and severity filters to the SessionsPage for better navigation and filtering.
- Improved SessionDetailPage to utilize a mapping for status labels, enhancing internationalization support.
- Refactored TaskListTab to remove unused priority configuration code.
- Updated store types to better reflect session metadata structure.
- Added a temporary JSON file for future use.
This commit is contained in:
catlog22
2026-02-03 20:58:03 +08:00
parent 37ba849e75
commit a8385e2ea5
18 changed files with 1621 additions and 675 deletions

View File

@@ -65,6 +65,7 @@
"inProgress": "进行中",
"running": "运行中",
"initializing": "初始化中",
"initialized": "已初始化",
"planning": "规划中",
"completed": "已完成",
"failed": "失败",
@@ -258,6 +259,71 @@
"expandAria": "展开侧边栏"
}
},
"liteTasks": {
"title": "轻量任务",
"type": {
"plan": "轻量规划",
"fix": "轻量修复",
"multiCli": "多CLI规划"
},
"quickCards": {
"tasks": "任务",
"context": "上下文"
},
"multiCli": {
"discussion": "讨论",
"discussionRounds": "讨论轮次",
"discussionDescription": "多CLI协作规划迭代分析与交叉验证",
"summary": "摘要",
"goal": "目标",
"solution": "解决方案",
"implementation": "实现方式",
"feasibility": "可行性",
"risk": "风险",
"planSummary": "规划摘要"
},
"createdAt": "创建时间",
"rounds": "轮",
"tasksCount": "个任务",
"untitled": "未命名任务",
"discussionTopic": "讨论主题",
"contextPanel": {
"loading": "加载上下文数据中...",
"error": "加载上下文失败",
"empty": "无可用上下文数据",
"explorations": "探索",
"explorationsCount": "{count} 个探索",
"diagnoses": "诊断",
"diagnosesCount": "{count} 个诊断",
"contextPackage": "上下文包",
"focusPaths": "关注路径",
"summary": "摘要",
"taskDescription": "任务描述",
"complexity": "复杂度"
},
"status": {
"completed": "已完成",
"inProgress": "进行中",
"blocked": "已阻塞",
"pending": "待处理"
},
"subtitle": "{count} 个会话",
"empty": {
"title": "无 {type} 会话",
"message": "未找到该类型的会话"
},
"noResults": {
"title": "无结果",
"message": "没有符合搜索条件的会话"
},
"searchPlaceholder": "搜索会话...",
"sortBy": "排序方式",
"sort": {
"date": "日期",
"name": "名称",
"tasks": "任务"
}
},
"askQuestion": {
"defaultTitle": "问题",
"description": "请回答以下问题",

View File

@@ -17,7 +17,8 @@
"title": "架构",
"style": "架构风格",
"layers": "分层",
"patterns": "设计模式"
"patterns": "设计模式",
"principles": "设计原则"
},
"components": {
"title": "核心组件",

View File

@@ -5,12 +5,33 @@
"critical": "严重",
"high": "高",
"medium": "中",
"low": "低"
"low": "低",
"short": {
"critical": "严重",
"high": "高",
"medium": "中",
"low": "低"
}
},
"stats": {
"total": "总发现",
"dimensions": "维度"
},
"progress": {
"title": "审查进度",
"totalFindings": "总发现",
"critical": "严重",
"high": "高"
},
"dimensionTabs": {
"all": "全部"
},
"filters": {
"severity": "严重程度",
"dimension": "维度",
"sort": "排序",
"reset": "重置"
},
"search": {
"placeholder": "搜索发现..."
},
@@ -21,18 +42,59 @@
},
"selection": {
"count": "已选择 {count} 项",
"countSelected": "已选 {count} 项",
"total": "共 {count} 项",
"selectAll": "全选",
"clearAll": "清除全部",
"clear": "清除"
"clear": "清除",
"selectVisible": "可见",
"selectCritical": "严重"
},
"export": "导出修复 JSON",
"codeContext": "代码上下文",
"rootCause": "根本原因",
"impact": "影响",
"recommendations": "建议",
"findingsList": {
"count": "{count} 条发现"
},
"preview": {
"empty": "点击发现以预览详情",
"emptyTitle": "选择一个发现",
"emptyTipSeverity": "按严重程度筛选",
"emptyTipFile": "按文件分组",
"location": "位置",
"description": "描述",
"codeContext": "代码上下文",
"recommendations": "建议",
"rootCause": "根本原因",
"impact": "影响",
"selected": "已选择",
"selectForFix": "选择"
},
"fixProgress": {
"title": "修复进度",
"phase": {
"planning": "规划",
"execution": "执行",
"completion": "完成"
},
"stats": {
"total": "总数",
"fixed": "已修复",
"failed": "失败",
"pending": "待处理"
},
"activeAgents": "活跃代理",
"activeAgentsPlural": "活跃代理",
"stage": "阶段",
"complete": "完成 {percent}%",
"working": "工作中..."
},
"empty": {
"title": "未找到发现",
"message": "尝试调整筛选条件或搜索查询。"
"message": "尝试调整筛选条件或搜索查询。",
"noFixProgress": "无修复进度数据"
},
"notFound": {
"title": "未找到审查会话",