console: GitHub 风格(Primer)
保持一页式控制台排版与全部功能、API 不变,只换视觉: 深色顶栏 #24292f、Primer 浅色配色(边框 #d0d7de、链接蓝 #0969da、绿主按钮 #2da44e)、6px 圆角方框、系统字体与 等宽 ID/trace;任务列表改 issues 式(状态圆点 + 标题 + 灰色元信息);对话改评论时间线(白框 + 头部 + 正文, 竖线连接),灰/蓝气泡已移除;自动选项目与继续消息历史 不受影响。console 标记单测本地 53 项通过。
This commit is contained in:
1 parent
bbe02efc14
commit
e90c885290
6 files changed
+171
-158
No files matched your search
@@ -19,17 +19,13 @@ import SkillsToolsPanel from "./sections/SkillsToolsPanel";
|
||||
import AutomationsSection from "./sections/AutomationsSection";
|
||||
import TriageSection from "./sections/TriageSection";
|
||||
|
||||
// Layout only: ONE scrollable console page, Muse web/desktop tokens
|
||||
// (white, hairlines, grey/blue bubbles) but console ordering — no
|
||||
// icon-rail column, no left list column, no right panel column, no
|
||||
// view switching. Everything is on the page: a slim sticky top bar
|
||||
// (name + real connection status + health + quota + refresh stamp +
|
||||
// anchor nav), a data-cards row, then every module as a section in
|
||||
// order. The old right panel's content moved here: its profile/status
|
||||
// line is the top bar, its 今天 list is redundant with the full task
|
||||
// list section, and its detail/context panels sit under their own
|
||||
// sections below (detail under 对话, members under 项目, and so on).
|
||||
// The old icon rail's module switching is the anchor nav.
|
||||
// Layout only: ONE scrollable console page in GitHub Primer style —
|
||||
// a dark header bar (name + real connection status + health + quota
|
||||
// + refresh stamp + anchor nav as header links), a data-cards row,
|
||||
// then every module as a bordered section in order. No icon-rail
|
||||
// column, no left list column, no right panel column, no view
|
||||
// switching. Detail/context panels sit under their own sections
|
||||
// below (detail under 对话, members under 项目, and so on).
|
||||
const NAV: Array<[string, string]> = [
|
||||
["#sec-dispatch", "派发"], ["#sec-tasks", "任务"], ["#sec-conv", "对话"],
|
||||
["#sec-projects", "项目"], ["#sec-env", "环境"], ["#sec-workers", "Workers"],
|
||||
|
||||
Reference in new issue
Block a user