Repository navigation
feat(console): redesign settings modal UI - #315
Merged
Merged
Conversation
- u4: 新增设置弹层改版基线(1440 常用/记忆/安全/MCP/高级、900 记忆/安全、 390 常用/记忆/安全、en-US 记忆/安全/常用、reduced-motion、rail 固定、 关于本机叠层),新增 README 说明范围/文件表/复跑命令/既有 fake-sidecar 失败。 - u1/u3: 刷新 U-4 后的设置截图(u1 常用 1440/390 改为脚本输出名), README 注明刷新范围与最新基线位置;page-map 增加 u4 目录链接。 - console.css: 640 外框减 160 竖轨后,en-US 常驻行动作按钮被挤出内容列 (桌面 i18n 密度断言 1440/1024 scrollerOver=75);按向导/修复行同一策略 收紧 .settings-resident,修复后 scrollerOver=0。 - verify-console-ui.mjs: 英文深度页断言期待旧文案 Add assistant, 实际与中文“+ 接入 Agent”一致为 + Add agent,改为 /Add agent/。
- 760x720 settings / 760x680 about, 188 rail, 530 content column - 34/40/58 rows, 26 controls, 10/11/12/13/19 type scale - grouped panels with 10px sentence-case labels (no fade rule, no pill) - security: three 114px cards with 19px state values; pending strip stays conditional - common: resident 58 row + accessible more menu; repair/wizard 40 rows keep hooks - about: three groups + folds, full field parity with legacy about - 40px pending-restart strip; narrow screens stay horizontal without overflow
- move kv/about stacking rules from <=900 to <=760; 900 keeps label/value on one line - assert 900 row height 40, dt/value top diff <=2, no horizontal overflow in verify:console:ui - refresh u1/u3/u4 settings screenshots (1440/900/390, en, reduced-motion, banner) - document 760x720 / 188 rail / 680 about / 900 vertical scroll in docs
- memory: drop duplicate section descs; keep one 11px line per group (mode hint / source condition / runtime scope) - model source: long explanation moves to title; lightweight keeps a single conditional line - header note: 改动即生效;重启项自动重启。 / Changes apply now; restarts happen automatically. - MCP: warning line only for an actual mcp.http.port mismatch - refresh u1/u3/u4 settings screenshots and docs
- move runtimeCompareLine() out of .cfg-row; render as a static 11px warning row - move field.warn help out of the 40px row as well - keep 40px row, no focus dependency, no popover; siblings only when anomalous - assert warn status + visible triple + row 40 + no overflow in verify:console:ui - refresh MCP screenshots and u3/u4 docs
- service 'more' is a real button + fixed popover (aria-expanded, Esc, outside click, focus return); no longer counted as a fold - update about (3 groups + 3 folds), security v2 cards (114/19px), rail 188, type 11/16 + 12/18, fold budget - 900/anomaly assertions stay; about folds reopen per viewport; 390 card/slot shrink fixes - refresh u1/u3/u4 screenshots and docs
- title 15/700, field labels 13/400, buttons 27, group labels uppercase, JetBrains first - common: interface group wraps the language row; compress group rhythm to keep 720 + banner unscrolled - security: 01-03 index column, 114 cards, 11px audit line from existing security events - cfg-row 150/1fr/68; keep 40px rows, anomaly triple, 188 rail (review 160 is a doc conflict) - update UI assertions, screenshots and docs
- wizard is a 27px ghost action in the group head (keeps #settings-open-wizard and desktop bridge) - restore settings group rhythm to 12/8 (no 5/4), no row added to the panel - 720 + 40 banner: content 579 / 590 (browser and desktop), no scroll - 390 head wraps, no overflow; update wizard assertions and common screenshots
…er, segmented) - rail 160; modal padding 18 0 18 20; scroll 20px sides; content 538 with 20px line/right breathing - header inline: star + 15/700 title + 11 note, 57 total (18 + 38); header no longer flex-shrinks - active tab: solid rgba(80,255,170,.06) + 2px left bar + bright text - memory mode: single segmented frame, equal cells, active .10 + check; title chip removed - runtime status: plain right-aligned values (no pills), amber only on anomalies, faint em dash - cloud tags: current = green outline glow; archived = transparent border + dim - more button = btn-crt ghost; off toggle/security value de-blued; security warn left bar - new v2.2 assertions in verify-console + UI suite; screenshots and README refreshed (160, 57, 427/427)
- settings controls unified at 27px / 8px radius (button pad 0 10; input/select trigger 0 8) - group body padding 0 + overflow hidden: first/last rows strictly 40/58, panel = rows + 2px border - group notes/desc/foot and section-foot: full panel width, max-width none, 16px line-height, 14px inset (no 62ch) - exception/warn lines drop the 62ch clamp, keep the amber left bar - 390 repair row grows to 58 so its meta stays inside the panel - v2.3 source + computed assertions (1440/390), screenshots and token-audit comparison refreshed
- rail tab letter-spacing back to 2px - read-only rows (settings-kv / runtime-kv) 12px/18px labels and values - settings scroll padding 16px top / 20px sides - group panel insets: status 2px, resident 12px, cloud 0 (rows remain 40/58) - add common status right meta (P2P listen / invite endpoint / security tier) at 11px plain text - 720 + 40 banner: 558 / 596, no scroll; keep 160 rail, segmented, security, about - v2.4 source + computed assertions (1440/390), screenshots and comparison refreshed
Windsander
force-pushed
the
feat/console-settings-redesign
branch
from
November 12, 2026 11:08
9a1e7cd to
0fca7a2
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
设置弹层 v2.4 最终版:保留 CRT 绿玻璃、扫描线、角标、零依赖与系统字体栈;不改 API、config、写路径或核心实现。
当前 head:
913579b。已 rebase 到origin/main@ca8a621(含 #316 / #317 的 CI 与行为修复)。What changed
label + status/actions,无前置圆点或可见 subline,说明归 title。重启不藏「更多」,向导不在组头;「更多」仅保留取消常驻。所有常用动作按钮实测 116×27 / 8px。保留data-svc-action、#settings-repair、#settings-open-wizard。host:port,不可解析为—;不再用长串挤压行宽。height:100% + border-box、圆角 0;运行状态纯文字 12/18。模型来源删除空 68px 状态列,wrappermin(280px,100%)、trigger 全宽并右对齐;1440/900/390 均为 280px,距面板外缘 15px(14 行内距 + 1 边框)。title承载;端口不一致、待重启、待批准等异常 warning 保持可见。crt-dim、警告 left-bar 与 11px 审计一行流。Invariants
data-settings-*/data-security-*/data-cfg-*与动作钩子。Rebase / conflicts
ca8a621(fix: unblock main CI (console tabs + Windows cleanup) #316 / test: retry failed Windows tests globally #317)。913579b。packages/console/scripts/verify-console-ui.mjs(40645dd重放时)。采用 main 的Add agent行为断言,同时保留本 PR 的「模型来源在记忆页、不得留在高级页」断言。Tests
npm run verify:console— 通过npm run lint— 通过npm run check:docs— 7/7npm run check:i18n— 1474 keys / 32 checks / 0 failed913579b— all green(10/10)Screenshots
docs/console/screens/u4-settings-redesign/— 最终 v2.4 全量基线(160 轨、20px 呼吸、四项常驻组、短 meta、隐藏普通 hint、900/390、中英、reduced-motion)docs/console/screens/u1/、u3/— 对应设置截图同步刷新docs/console/screens/u4-settings-redesign/README.md— 实测值与复跑说明