feat(query-editor): 收敛 SQL 分析工作台与结果区日志体验

- 新增 SQL 分析工作台,统一承载慢 SQL 和 SQL 诊断视图
- 将 SQL 执行日志收进结果区首个日志标签并在失败时展示错误摘要
- 调整侧边栏入口、标签展示、多语言文案与定向前端测试覆盖
This commit is contained in:
Syngnat
2026-06-20 14:09:58 +08:00
parent 04019135a0
commit c8c8497a2f
26 changed files with 1539 additions and 539 deletions

View File

@@ -2588,10 +2588,15 @@ body[data-ui-version="v2"] .gn-v2-sidebar-log-footer {
border-top: 0.5px solid var(--gn-br-1);
background: var(--gn-bg-panel-2);
flex-shrink: 0;
display: flex;
align-items: center;
gap: 8px;
}
body[data-ui-version="v2"] .gn-v2-sidebar-log-button {
width: 100%;
width: auto;
min-width: 0;
flex: 1 1 auto;
height: 28px;
border: 0;
border-radius: 8px;
@@ -2617,6 +2622,17 @@ body[data-ui-version="v2"] .gn-v2-sidebar-log-button small {
font-weight: 400;
}
body[data-ui-version="v2"] .gn-v2-sidebar-slow-query-button {
width: 28px;
height: 28px;
flex: 0 0 28px;
border-radius: 8px;
}
body[data-ui-version="v2"] .gn-v2-sidebar-slow-query-button:hover {
background: var(--gn-bg-hover) !important;
}
body[data-ui-version="v2"] .gn-v2-empty-workbench {
min-height: 100%;
display: grid;