Repository navigation
feat(console): redesign runtime page into status band + recall traces - #322
Merged
Merged
Conversation
- Remove the duplicated memory timeline (timeline rows, filters, internal-object toggle, object detail, archive/delete actions and /admin/api/memories reads). Memory browsing stays in the memories page. - Keep one four-cell status band (service / mode / model source / version) with a single warning line only for degraded, failed, error or disabled states. - Add a visible 13/700/18 section title above the recall-trace list and wire aria-labelledby to it; keep the title present in every state. - Render recall traces as a single-column ledger derived from the audit flat row; give every expanded detail a stable id so aria-controls always resolves. - Add deterministic empty/loading/error source assertions; remove the unused runtime.trace.note copy in both locales. - Align the page shell with shared/memories/audit: existing h2, toolbar, .btn/.btn-crt, .crt-tag and .btn-small; runtime-scoped CSS only. - Update runtime tests and U-5 before/after plus main-page consistency screenshots.
Windsander
force-pushed
the
feat/console-runtime-redesign
branch
from
November 17, 2026 04:20
17842a2 to
6e0d89d
Compare
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.
Summary
/admin/api/memories的读取)。7px 11px/ 8px 圆角、行内动作.btn-small27px。方向修正:删除记忆时间线
运行时原先还提供「记忆时间线」,与「记忆」主页读取同一
/admin/api/memories,同样提供浏览/查看/归档/删除,只是多了内部对象/类型筛选。本 PR 已删除这部分:#runtime-timeline、筛选 select、内部对象开关、时间线行、对象详情、归档/删除动作与相关请求全部移除。#memories-view、记忆页筛选/动作/API 原样保留。页面细节
服务状态 / 记忆模式 / 模型来源 / 版本;服务状态为单点 + 文本。正常就绪时只有这一条;降级、失败、错误、未启用才追加一条左侧细条状态行(role=status/role=alert,错误原文沿用原脱敏函数)。900 起允许 2×2。h3(runtime.trace.title,13 / 700 / 18),section 与列表都用aria-labelledby指向它;空态、加载、错误、轻量 MCP 下标题保持可见。.audit-item扁平行派生(透明底、0 圆角、虚线底边、9px 8px 9px 10px);列为时间 / 召回标签 / 查询与紧凑 meta / 一个动作。标签复用.crt-tag10px,动作复用.btn-small27px,反馈按钮在展开详情中。aria-expanded/aria-controls完整;详情容器使用稳定id="rt-trace-detail-<id>",展开、加载、错误状态都存在。data-rt-traces-disabled/data-rt-traces-unavailable);轻量 MCP 由浏览器 UI 测试覆盖。未伪造服务端数据截图。runtime.trace.note与runtime.trace.listLabel已删除,中英同步;runtime.trace.title同时用于可见标题。主页面一致性实测
9px 8px 9px 10px10px 12px(未改).crt-tag10px.crt-tag10px.audit-action11px.btn-small(本地 27px;与记忆页同高).btn-small(本地 27px)首行实测:1440 top=238 / 900 top=365;390 行堆叠且
docOver=0 / panelOver=0 / bodyOver=0。行内动作不写死像素高度:复用了记忆页同一
.btn-small。macOS 实测 27px,CI Linux 字体度量下 24px;测试按“与记忆页行内按钮同高”断言,避免跨平台误报。Screenshots
改前
改后
主页面一致性(1440)
Verification
npm run verify:consolenpm test -- tests/console/runtime-ui.test.mjsnpm run verify:console:uinpm run lintnpm run check:docsnpm run check:i18nBoundary