Repository navigation
ui: apply audited AiGateway dashboard hierarchy - #341
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
按《前端 UI 重构方案》第8页,把原平铺仪表盘整理为4个健康/操作/效果概览卡、合并人工待办和判断分歧的琥珀色队列、真实额度条,以及默认折叠的5个审计记录面板。仅修改现有 dashboard HTML/CSS 和只读数据展示,登录、权限、API白名单、人工审核判定与后端均保持原语义;查看按钮仅打开现有安全链接或只读详情。
数据诚实性:任一队列接口失败保留另一来源的待办并显示失败,不能显示为空;组织计数缺失显示未读到,自动操作失败数也因读模型未提供而标记未知,额度条沿用实际比例。不存在于接口的失败计数或时间选择不能模拟成功。
与参考图的明确差异:沿用当前7天操作/90天效果查询,不新增装饰性时间选择器;服务/组织详细信息保留在概览卡的折叠区;保留现有登录用户、退出与健康状态控件。
验证:22项既有Worker测试通过;四个实际Chromium viewport(1620/1280/390/320)离线只读模拟检查及截图逐一核验,无页面异常、横向溢出或外部请求。合并队列、折叠诊断查询、部分503失败、空队列和未知计数均通过。Browser插件不可用,使用既有隔离Playwright,未增加生产依赖。未使用真实组织服务或账号数据。
保持草稿以供设计审查。远程CI待核验。
远程 exact head 6e60a7f 全部PR检查通过;已依用户授权合并。未运行门户业务、提交操作或另行部署。