feat(qa-ops): 交付十一项统计看板与完整图片导出
build / build (push) Successful in 1m10s

以治理库单一只读事务分开聚合累计、自然周、截止月及当前通讯录使用分母;浏览器不再读取全量长答案来构建看板。

新增迁移52与普通worker周质量冻结,保留真实冻结时点、规则和标量贡献;缺少当时快照留空。提交后冻结头与贡献不可修改、删除或追加;只读接口保留管理员、固定租户、严格JSON与输入冲突保护。

已验证:make verify退出0,686个Go用例和305个前端用例通过,必需跳过0;镜像与组织隔离PostgreSQL竞态回归退出0。真实治理副本浏览器核对第41周累计1885与新增471、十一项和完整PNG下载,390px无外溢、JS异常0;明确模拟503后不伪零且重试恢复。没有修改DobotAI原始问答、真实区域规则或生产发布门禁。
This commit is contained in:
姚章浩
2026-10-18 23:26:55 +08:00
parent 76671e0784
commit 6e67034fbd
32 changed files with 2103 additions and 356 deletions
+7 -166
View File
@@ -10,146 +10,19 @@
flex-direction: column;
gap: 16px;
}
.qa-dashboard-metrics {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
border: 1px solid var(--border-base);
background: var(--bg-panel);
}
.qa-dashboard-metrics > div {
padding: 18px 22px;
.qa-dashboard-toolbar {
display: flex;
flex-direction: column;
gap: 8px;
border-right: 1px solid var(--border-base);
justify-content: flex-end;
}
.qa-dashboard-metrics > div:last-child {
border-right: 0;
}
.qa-dashboard-metrics span {
color: var(--ink-mute);
font-size: 12px;
}
.qa-dashboard-metrics strong {
color: var(--ink-strong);
font-size: 30px;
font-weight: 650;
font-variant-numeric: tabular-nums;
letter-spacing: -0.04em;
}
.qa-dashboard-metrics small {
font-size: 11px;
color: var(--ink-mute);
}
.qa-dashboard-grid {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
gap: 14px;
}
.qa-chart {
.qa-dashboard-canvas {
min-width: 0;
padding: 18px 20px;
background: var(--bg-panel);
border: 1px solid var(--border-base);
}
.qa-chart-full {
grid-column: 1/-1;
}
.qa-chart h3 {
font-size: 14px;
font-weight: 600;
margin: 0 0 20px;
color: var(--ink-strong);
}
.qa-chart-bars {
display: grid;
gap: 13px;
}
.qa-chart-bar {
display: grid;
grid-template-columns: minmax(70px, 120px) minmax(0, 1fr) 40px;
gap: 12px;
align-items: center;
font-size: 12px;
}
.qa-chart-bar > span {
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
background: #fff;
}
.qa-chart-bar b {
text-align: right;
font-weight: 500;
font-variant-numeric: tabular-nums;
}
.qa-chart-track {
height: 7px;
background: var(--bg-canvas, #f1f5f9);
overflow: hidden;
border-radius: 2px;
}
.qa-chart-track i {
display: block;
height: 100%;
background: #377bc9;
border-radius: 2px;
}
.qa-chart-empty {
padding: 28px 0;
text-align: center;
color: var(--ink-mute);
font-size: 12px;
}
.qa-daily-chart {
display: flex;
gap: clamp(6px, 1.5vw, 22px);
height: 180px;
align-items: stretch;
overflow-x: auto;
}
.qa-daily-chart > div {
flex: 1;
min-width: 24px;
display: flex;
flex-direction: column;
align-items: center;
gap: 7px;
font-size: 11px;
color: var(--ink-mute);
}
.qa-daily-chart > div > div {
height: 125px;
.qa-dashboard-svg {
width: 100%;
display: flex;
align-items: flex-end;
border-bottom: 1px solid var(--border-base);
}
.qa-daily-chart i {
display: block;
width: 100%;
background: #377bc9;
border-radius: 2px 2px 0 0;
min-height: 0;
}
.qa-daily-chart b {
font-size: 11px;
color: var(--ink-strong);
font-variant-numeric: tabular-nums;
font-weight: 500;
}
.qa-dashboard-region-table {
margin-top: 18px;
overflow-x: auto;
}
.qa-dashboard-region-table table {
width: 100%;
font-size: 12px;
}
.qa-dashboard-region-table th,
.qa-dashboard-region-table td {
padding: 8px 10px;
text-align: left;
white-space: normal;
height: auto;
}
.qa-monthly-disclosure {
margin-top: 14px;
@@ -166,38 +39,6 @@
margin-top: 12px;
overflow: auto;
}
@media (max-width: 900px) {
.qa-dashboard-grid {
grid-template-columns: minmax(0, 1fr);
}
.qa-chart-full {
grid-column: auto;
}
.qa-dashboard-metrics > div {
padding: 14px;
}
.qa-dashboard-metrics strong {
font-size: 25px;
}
}
@media (max-width: 560px) {
.qa-dashboard-metrics {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.qa-dashboard-metrics > div:nth-child(2) {
border-right: 0;
}
.qa-dashboard-metrics > div:nth-child(-n + 2) {
border-bottom: 1px solid var(--border-base);
}
.qa-chart {
padding: 16px 12px;
}
.qa-chart-bar {
grid-template-columns: minmax(65px, 100px) minmax(0, 1fr) 30px;
}
}
.qa-weekly {
display: flex;
flex-direction: column;