持久化(P1-c):新建 usePersistedRef composable,Tasks/AuditLog/ProjectDetail 等接入 localStorage
AuditLog(P1-d):后端 list_tool_executions 加 WHERE 筛选+返 {items,total,has_more},前端对接+长列折叠+筛选持久化
数据源解耦(P1-g):ProjectDetail projectTasks 按 project_id 独立加载 + ChatInput @项目联想独立加载(不读 store.tasks 当前页)
GitChanges(12a):后端 get_module_commits 加 git rev-list --count 返 total,前端显真实总数
原12大改:Dashboard 统计卡压底行(1)/Projects 列表卡片视图(2)/project_event 埋点排序(3)/TaskDetail 重设计(4)/IdeaDetail 重设计(5)/KnowledgeDetail 重设计(6)/界面持久化+侧栏Ctrl+B+审批数字键(7)/ProjectDetail 三栏改两栏(10)
P2打磨:文件浏览器(FileTree去重/FilePreview行号.md Diff/selectedFilePath归位)/settings反馈(假保存/端口校验)/AI会话(try-catch/scrollIntoView)/后端计数(move_queue事件/timeline total/workflow分页/import_batch分块)/杂项(TopBar/ConfirmDialog键盘/CIStatus i18n/ToolResultBody/ModuleNode/ApprovalDialog全选)
55 lines
1.1 KiB
TypeScript
55 lines
1.1 KiB
TypeScript
export default {
|
|
auditLog: {
|
|
title: 'Approval History',
|
|
refresh: 'Refresh',
|
|
desc: 'AI tool call audit records (newest first). Arguments and results show summaries only; full data persists in the local database.',
|
|
loading: 'Loading…',
|
|
empty: 'No audit records',
|
|
|
|
filter: {
|
|
allStatus: 'All status',
|
|
allRisk: 'All risk',
|
|
toolPlaceholder: 'Search tool name…',
|
|
},
|
|
|
|
col: {
|
|
time: 'Requested',
|
|
tool: 'Tool',
|
|
risk: 'Risk',
|
|
status: 'Status',
|
|
decided: 'Decided by',
|
|
args: 'Args summary',
|
|
result: 'Result summary',
|
|
},
|
|
|
|
pager: {
|
|
prev: 'Prev',
|
|
next: 'Next',
|
|
page: 'Page {n}',
|
|
last: '(last)',
|
|
total: '{n} total',
|
|
},
|
|
|
|
risk: {
|
|
low: 'Low',
|
|
medium: 'Med',
|
|
high: 'High',
|
|
},
|
|
|
|
status: {
|
|
pending: 'Pending',
|
|
approved: 'Approved',
|
|
rejected: 'Rejected',
|
|
executing: 'Executing',
|
|
completed: 'Completed',
|
|
failed: 'Failed',
|
|
interrupted: 'Interrupted',
|
|
},
|
|
|
|
decided: {
|
|
human: 'Human',
|
|
auto: 'Auto',
|
|
},
|
|
},
|
|
}
|