feat(qaops): 完成流水表六项体验与AI执行修正
build / build (push) Successful in 1m11s

统一AI分析入口及双任务安全确认,采用全量载入的可见行渲染,保留完整原文。
右侧非模态详情固定五项质量字段,清理冗余展示并对齐查询和同步按钮。
默认4并发由数据库准入与逐任务租约保护,保留共享限流冷却、截断归因和有界重试。
兼容真实引用标题字段,不伪造证据或准确率,不修改源生产问答与公司区域规则。

验证:完整make verify退出0,710项Go通过、124项已声明可选跳过且必需0跳过;
另全量mirror隔离PostgreSQL race退出0,AI单元race退出0。
真实本地浏览器通过六项交互、390px内滚动及显式AI部分失败/零缺口故障夹具。
治理原生备份已真实恢复,schema57、72表计数与29张QA内容哈希一致。
候选镜像、精确提交CI与正式上线验收待本次提交后执行,不宣称已部署。
This commit is contained in:
姚章浩
2026-10-19 22:09:32 +08:00
parent 4a2b2b7d84
commit 9470a127f7
21 changed files with 754 additions and 209 deletions
+95 -24
View File
@@ -264,11 +264,34 @@
min-height: 0;
overflow: auto;
}
.qa-ops-table .qa-ops-record-row {
height: 108px;
}
.qa-ledger-actions {
max-height: 84px;
overflow: hidden;
}
.qa-ledger-actions .qa-ai-task {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.qa-ops-table .qa-ops-record-row > td > span {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.qa-ops-table .qa-ledger-spacer > td {
padding: 0;
border: 0;
line-height: 0;
}
.qa-ops-table {
width: 100%;
min-width: 980px;
border-collapse: collapse;
table-layout: auto;
table-layout: fixed;
font-size: 13px;
}
.qa-ops-table th {
@@ -321,44 +344,55 @@
.qa-ops-page-bar {
border-top: 1px solid var(--border-base);
}
.qa-ops-backdrop {
position: fixed;
inset: 0;
z-index: 80;
width: 100%;
height: 100%;
border: 0;
border-radius: 0;
background: rgb(15 23 32 / 28%);
cursor: default;
}
.qa-ops-backdrop:hover {
background: rgb(15 23 32 / 28%);
}
.qa-ops-drawer {
position: fixed;
top: 0;
right: 0;
inset: 0 0 0 auto;
z-index: 81;
width: min(760px, 100vw);
height: 100vh;
overflow: auto;
padding: 22px;
height: 100dvh;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 0;
background: var(--bg-panel);
border-left: 1px solid var(--border-strong);
box-shadow: -8px 0 24px rgb(15 23 32 / 10%);
color: var(--ink-strong);
}
.qa-ops-drawer > header {
display: flex;
justify-content: space-between;
align-items: center;
flex: none;
gap: 14px;
position: sticky;
top: -22px;
padding: 12px 0;
padding: 16px 22px;
background: var(--bg-panel);
border-bottom: 1px solid var(--border-base);
}
.qa-detail-quality {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
flex: none;
gap: 8px;
padding: 12px 22px;
border-bottom: 1px solid var(--border-base);
background: var(--bg-soft);
}
.qa-detail-quality > div {
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
.qa-detail-quality > div > span {
color: var(--ink-mute);
font-size: 12px;
}
.qa-detail-quality .qa-field-tag {
white-space: normal;
overflow-wrap: anywhere;
}
.qa-ops-drawer h3 {
margin: 0;
font-size: 18px;
@@ -368,6 +402,10 @@
font-size: 14px;
}
.qa-ops-detail-content {
flex: 1;
min-height: 0;
overflow: auto;
padding: 0 22px 22px;
font-size: 13px;
line-height: 1.7;
overflow-wrap: anywhere;
@@ -416,7 +454,14 @@
max-height: 55vh;
}
.qa-ops-drawer {
padding: 14px;
padding: 0;
}
.qa-detail-quality {
grid-template-columns: repeat(3, minmax(0, 1fr));
padding: 10px 14px;
}
.qa-ops-detail-content {
padding: 0 14px 14px;
}
.qa-ops-detail-meta {
grid-template-columns: 100px 1fr;
@@ -633,3 +678,29 @@
.qa-ai-hash {
overflow-wrap: anywhere;
}
.qa-ops-query .qa-query-action {
width: 96px;
height: 36px;
flex: none;
padding: 0 8px;
margin: 0;
white-space: nowrap;
}
.qa-ops-query .qa-mirror-sync {
position: relative;
}
.qa-ops-query .qa-mirror-sync-line {
margin-bottom: 0;
}
.qa-ops-query .qa-mirror-sync > [role='status']:not(:empty),
.qa-ops-query .qa-mirror-sync > .error-banner {
position: absolute;
top: calc(100% + 4px);
right: 0;
min-width: 260px;
z-index: 4;
padding: 6px 8px;
background: var(--bg-panel);
border: 1px solid var(--border-base);
}