优化: UI/UX遗留批(审计/AI命令层/前端组件,会话前基线收尾)

- AuditLog +298(筛选/详情/i18n)+ audit 后端 record/mod

- AI 命令层:generate_image +81 / fetch_url / fetch_search / skills / tool_registry / tools/file / provider / conversation

- 前端组件:AiChat/TopBar/ConversationSidebar/GitChanges/ApprovalPopup/Dashboard/ProjectDetail 等 30+ + composables + i18n

- 诊断文档: aichat历史会话实证诊断-2026-08-04 + project_soft_delete 测试
This commit is contained in:
lxy
2026-08-05 22:15:34 +08:00
parent 28de5d6143
commit e68d283651
49 changed files with 1257 additions and 138 deletions
+5 -5
View File
@@ -559,7 +559,7 @@ watch(() => props.moduleId, loadStatus, { immediate: true })
color: var(--df-text-dim);
cursor: pointer;
padding: 2px 6px;
border-radius: 3px;
border-radius: 4px;
display: flex;
align-items: center;
transition: all 0.15s;
@@ -725,7 +725,7 @@ watch(() => props.moduleId, loadStatus, { immediate: true })
.gc-commit-diff-toggle {
background: none; border: 0.5px solid var(--df-border);
color: var(--df-text-dim); cursor: pointer; font-size: 11px;
padding: 2px 8px; border-radius: 3px;
padding: 2px 8px; border-radius: 4px;
}
.gc-commit-diff-toggle:hover { color: var(--df-text); border-color: var(--df-accent); }
.gc-commit-diff .gc-diff-content { flex: 1; min-height: 0; }
@@ -738,7 +738,7 @@ watch(() => props.moduleId, loadStatus, { immediate: true })
transform: translateY(12px); opacity: 0;
}
.gc-file-status { width: 20px; text-align: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.gc-file-status { width: 20px; text-align: center; font-size: 11px; font-weight: 500; flex-shrink: 0; }
.gc-st-modified { color: #f0a020; }
.gc-st-added { color: #4caf50; }
.gc-st-deleted { color: #e05050; }
@@ -806,8 +806,8 @@ watch(() => props.moduleId, loadStatus, { immediate: true })
.gc-branch-tag {
font-size: 9px;
padding: 1px 5px;
border-radius: 3px;
background: rgba(108,99,255,0.15);
border-radius: 4px;
background: var(--df-accent-soft);
color: var(--df-accent);
}
.gc-branch-picker-hint {