Skip to content

feat(ui): comprehensive UI & UX polish across AI Workbench and Management Console - #1512

Open
Robert0622 wants to merge 8 commits into
mainfrom
feat/ui-ux-polish
Open

Robert0622 wants to merge 8 commits into
mainfrom
feat/ui-ux-polish

Conversation

@Robert0622

@Robert0622 Robert0622 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Comprehensive UI & UX overhaul across both the AI Workbench (chatbot/) and Management Console (web/), built cleanly on top of main (be6918d) without altering backend auth or database schemas.

Key Improvements

  1. Unified Visual Hierarchy & 3-Layer Depth (Light & Dark Modes)

    • Harmonized legacy cobalt/slate styles (#5b8cff / #0a0e16) to clean Zinc + Harness Violet (#7b61ff light / #a08aff dark), removed jarring translateY hover jitter, and bumped 8px–10px micro-text to readable 11.5px–13px.
    • Aligned --rail-surface (web/product-v4.css) and --navigation-rail (chatbot/src/navigation.css), refined floating sidebar shadows, active rail indicators, hover tooltip delay (0.28s), and login.html styling.
    • Localized "Guest Session" to "访客会话 · 未登录".
  2. AI Workbench (chatbot/)

    • Fixed invisible dark-mode hero <h1> and removed the 1.24s mask-reveal delay on .home-welcome-subtitle-text so the subtitle renders cleanly right away in both themes.
    • Added subtle radial ambient hero backdrop, replaced dashed .project-picker.is-unset border with a crisp subtle-border pill, polished user bubbles, send button, active row bars, starter flow badges, execution body guide lines, code block toolbars, blockquotes, and artifact panel selection states.
    • Hides the sidebar when the window narrows below 1001px and restores the previous desktop state when it widens again (choosing a conversation below 850px still closes it, as before).
  3. Management Console (web/)

    • Issues (#/issues): Compacted .project-context-bar, styled .issue-priority as color-coded semantic pills (urgent/high/medium/low), and hid "触发" action buttons on done issues.
    • SOPs & Modals (#/sops, #issueModal): Fixed double dropdown chevrons, replaced LOOPs with 条 LOOP, and replaced raw Unicode ↻ / + / × glyphs with crisp SVG icons.
    • Flow Designer (#/flow): Auto-collapsed #settingsSidebar upon entering #flowView, harmonized node/edge accents to Harness Violet with 20px dot grid and node header dividers.
    • Approvals, Runners, Agents, Observability & Settings: Fixed #approvalsView 680px empty-state void, fixed #runnersView dark-mode copy button contrast, step-3 wrapping, and guest toast spam, upgraded #agentsView empty-state icon, widened #settingsView .personal-settings to 54rem, and refined #observabilityView card/empty-state spacing.

Commits Included

  • b202e4e feat(ui): unify visual hierarchy, AI workbench, and flow designer UX
  • 711b128 feat(ui): polish hero reveal, issue priority pills, modal icons, and observability spacing

Verification

  • npm --prefix chatbot run build — passed
  • go test ./web -count=1 — passed (ok agentflow/web)
  • npm --prefix chatbot test — 61 test files, 535 tests passed
  • npm --prefix webtest test — 386 tests passed, 0 failed
  • go build -o bin/agentflow ./cmd/agentflow — passed
  • Browser visual audit verified across Light & Dark themes on #/collaboration, #/issues, #/sops, #issueModal, and #/settings.

roberttwang and others added 5 commits November 27, 2026 16:44
Resolve conflicts with #1440 (sidebar 个人/定时任务 tabs):
- chatbot/src/App.jsx: keep main's tabbed session list; re-apply the
  guest empty-state text to the personal tab.
- chatbot/src/navigation.css: keep main's 10px create-row margin that
  leaves room for the new bucket tabs.

Co-Authored-By: Claude Code <noreply@anthropic.com>
… on the scheduled tab

- web/i18n-en.js: add entries for the new guest session label, runner
  bind-code placeholder, role empty states, issue search placeholder and
  runner onboarding step, which otherwise stayed Chinese in English mode.
- chatbot/src/App.jsx: guests also see 登录后查看历史会话 on the 定时任务
  tab (added by #1440) instead of a permanent 正在连接….
- Tests: webtest i18n-ui-polish, chatbot guest sidebar case.

Co-Authored-By: Claude Code <noreply@anthropic.com>
…ter widening

- web/app/issues-list.css: priority pill text is mixed 70% toward
  --hui-text, so urgent/high/medium reach 5.8/5.0/5.6:1 on their tints in
  the light theme (were 4.0/3.3/3.8) and stay above 7:1 in dark; low uses
  --hui-secondary (6.0:1, dark 8.6:1); the label returns to 12px.
- chatbot/src/navigation.css: the 新对话 label gets the same mix (5.6:1 on
  its tint, was 3.8:1).
- chatbot/src/App.jsx: narrowing below 1001px still hides the sidebar, and
  widening again restores the desktop state instead of leaving it closed.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@Robert0622

Copy link
Copy Markdown
Collaborator Author

CR + 本机部署实测:#1512 UI/UX polish(head 60b0ced1)

结论:功能和行为方面没有发现阻塞问题,可以合并。 但浅色主题下有 2 处新增的对比度回退(P2),建议合并前修掉;另有 2 条 P3。审查覆盖 711b128 的原始改动、224cc31e 合并 main 的冲突解决,以及 60b0ced 的 i18n 补丁。

实测方式

  • 本机同时部署两套:main fd039e51 和 PR 60b0ced1,各用独立的 MariaDB 库;另外各起一套访客模式(AGENTFLOW_AUTH_REQUIRED=false)。
  • 真实 LLM:CodeBuddy iOA deepseek-v4.1-flash,本机 native 沙箱。工作台先用 API 建会话写文件,再通过 UI 输入框发送 两轮追问(新建并读回 hello.txt、列目录),两边都正常完成,执行轨迹和产物面板都正常。没有对任何仓库跑任务。
  • Chromium 截图矩阵:亮/暗 × 中/英 × 桌面 1440×900 / 移动 390×844 × 12 个页面(登录页、工作台首页、会话、产物面板、#/issues、需求弹窗、#/sops、#/flow、执行机器、偏好设置、待确认、角色、观测),main 和 PR 各 96 张。每张图同时在 DOM 上取计算色算 WCAG 对比度,并统计英文模式下残留的中文和横向溢出。
  • 测试(main 和 PR 两边都跑了):chatbot vitest 552/552(main)、553/553(PR);webtest 395/395(main)、397/397(PR);go test ./web 两边都 ok。

冲突与合并

问题

P2-1 浅色主题:#/issues 优先级 pill 对比度不达标,字号也变小了(web/app/issues-list.css:317-320)
复现:浅色主题打开 #/issues,看「优先级」列。

main PR
紧急 --hui-error 文字,白底,通过 #c15161 文字,#f9eeef 底,4.01
高 --hui-text,通过 --hui-warn #b7791f 文字,#f8f2e9 底,3.27
中 通过 #7b61ff 文字,#f4f2ff 底,3.80
低 2.79(原来就不达标) 2.79
字号 13px 11.5px

暗色主题下只有「低」不达标(3.65),其余都通过。建议:文字用加深的色阶(如 color-mix(in srgb, var(--hui-warn) 70%, #000)),或者「高」保留 --hui-text,再把字号回到 12–13px。

P2-2 浅色主题:工作台侧栏「新对话」按钮 3.77:1(chatbot/src/navigation.css .new-chat-button)
#7b61ff 文字配 9% tint 底色 #f3f1ff;main 上用的是中性文字色。暗色主题 #a08aff 是达标的。建议浅色下文字改用更深的紫(比如 #5b45d6 这一档)。

P3-1 工作台侧栏跨断点后不会恢复打开(chatbot/src/App.jsx 的 onBreakpoint)
复现:桌面 1440 宽打开工作台,侧栏是展开的。把窗口缩到 900,侧栏自动收起,这是预期的;再拉回 1440,侧栏还是收起状态,main 上会保持展开。另外 PR 描述写的是「<1001px 选择/导航后自动收起」,但代码只在跨断点时收起;点会话后是否收起,仍然走原来的 innerWidth < 850 判断,这部分实测与 main 一致。建议变宽时恢复 setSidebar(true),或者把描述改成和实际行为一致。

P3-2 白字配主色 #7b61ff 只有 4.2:1:登录页「创建并进入」、主按钮、头像都是这样。比 main 的 #5b8cff(3.16)有改进,但还没到 4.5。可以考虑浅色主色用 #6d50f5 或更深的值,属于设计取舍,不阻塞。

已核对、没有问题的点

  • i18n:224cc31e 在英文界面下有几处会显示中文(访客弹层「访客会话 · 未登录」、绑定码占位、角色空状态、需求搜索 placeholder、Runner 第 3 步)。60b0ced1 实测已经全部恢复成英文,例如 Guest session · Not signed in、<Generated after sign-in>、Fuzzy search titles, IDs, or descriptions。英文模式下各页面残留的中文数量与 main 相同或更少。「N 条 LOOP」在英文下显示为 0 LOOPs,正常。
  • JS 行为:
    • #sopHealthFilter/#sopSort 改用 enhanceSelect 后,只剩 2 个 trigger 和 2 个 chevron,原生 select 隐藏了;通过 UI 选「从未运行」后,value 和列表都跟着变化,change 事件正常。
    • 进入 #/flow 时,宽屏下设置侧栏会自动收起,画布从 1051px 变成 1355px;#settingsSidebarExpand 可以重新展开,回到 #/sops 侧栏也会恢复展开。
    • done 状态的需求在列表里不再显示「触发」,和详情菜单里把 done 当已关闭的处理一致,我认为是有意的改动。
    • 访客模式:refreshRunners 和 ensureRunnerBindCode 不再报错弹 toast(main 进执行机器页会弹 2 条);执行机器选择器显示「登录后选择机器」,main 会一直停在「加载执行机器…」;侧栏空状态也正确。
    • 弹窗里的 SVG 关闭图标都是 16×16 正常渲染,按钮带 aria-label。
  • 对比度总体:暗色主题各页面不达标的项比 main 少(例如 #/issues 5→4、设置页 2→1);登录页浅色从 2 项降到 1 项。新增的不达标只有上面 P2 那两处。
  • 工作台首页 hero:暗色下 h1 和副标题都可见,opacity 为 1,副标题不再等 1.24s 的遮罩动画。移动端 390 宽各页面都没有横向溢出。

对照截图(左 main / 右 PR)

工作台(浅色/暗色,桌面)(6 张)

light-zh-d-home


dark-zh-d-home


light-zh-d-chat


dark-zh-d-chat


light-zh-d-artifacts


dark-zh-d-artifacts

UI 发送消息 + 真实 LLM(两边都发了)(4 张)

send-light-running


send-light-done


send-dark-running


send-dark-done

管理台页面(17 张)

light-zh-d-issues


dark-zh-d-issues


light-zh-d-sops


dark-zh-d-sops


sops-filter-enhanced


light-zh-d-flow


dark-zh-d-flow


light-zh-d-runners


dark-zh-d-runners


light-zh-d-settings


dark-zh-d-settings


light-zh-d-approvals


light-zh-d-agents


light-zh-d-observability


issue-edit-modal-light


light-zh-d-login


dark-zh-d-login

英文界面(11 张)

light-en-d-home


light-en-d-issues


light-en-d-runners


light-en-d-agents


light-en-d-settings


dark-en-d-issues


dark-en-d-runners


guest-light-en-popover


guest-light-en-runners


guest-dark-zh-popover


guest-dark-zh-runners

移动端 390×844(8 张)

light-zh-m-home


dark-zh-m-home


light-zh-m-chat


dark-zh-m-chat


light-zh-m-issues


dark-zh-m-issues


light-zh-m-login


light-zh-m-settings

截图全集见 release review-assets-1128-0200-pr1512(Robert0622/LoopForge),没有新开分支。

@crispinhu27 crispinhu27 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

初审 60b0ced1:REQUEST_CHANGES(1 条 [P2],见行内评论)

范围:PR 相对 main fd039e51 的全部改动(chatbot/ 与 web/ 的样式、文案和少量行为调整),以及作者 18:30Z 后推送的 224cc31e(合入 main)与 60b0ced1(英文文案、定时任务页签访客提示)。

已确认问题

  • [P2] web/app.js:2115 进入 #/flow 时收起设置侧栏,打开 AI 助手后节点库不再自动收起,必需检查 browser 的 e2e「LOOP designer: all nodes stay in view when the AI assistant closes」失败(Expected 48 / Received 256),platform-required 随之失败;main 上 browser 通过,本地 head 与 main 对照复现,详见行内评论。

验证(无凭据隔离用户、MariaDB + 合成数据、Chromium)

  • 早先 head 711b1281 与 main 的冲突(chatbot/src/App.jsx、chatbot/src/navigation.css)在 60b0ced1 合入 main 后已消失;检查了合并结果,main 新增的会话侧栏双栏分栏(定时任务页签)保留,访客提示也补到了定时任务页签。
  • go vet ./web/... ./cmd/agentflow、go build ./cmd/agentflow、go test ./web/... 通过;webtest 397/397;chatbot vitest 553 项中 1 项在机器满载时超时,单独重跑该文件 26/26 通过;vite build 单独运行通过。
  • 浏览器实测:711b1281 上英文界面的中英混排(搜索框提示、Runner 第 3 步、角色空状态、「访客会话 · Not signed in」)在 60b0ced1 上已改为英文;访客状态下会话/定时任务页签显示「登录后查看历史会话」,机器选择器显示「登录后选择机器」;视口从 1280 缩到 900 时侧栏自动收起;首页标题在亮/暗色下都可见,无叠影。

未验证(不作为本次阻塞理由)

  • web/app/issue-model.js 把 status==='done' 的判断提到 waiting/failed 分支之前:若需求被手动标为 done 而运行仍在等确认或已失败,行内按钮可能只剩「查看」。未实测,请作者确认是否符合预期。
  • 本地未跑完整 e2e Playwright(缺 Docker/bwrap),只复现了上面这一条失败用例;本地 #nodes .flow-node 未渲染(head/main 相同),因此 nodesFit 只在 CI 结果中体现。

截图(head/main 的 #/flow 打开 AI 助手前后等)因 GitHub Review 接口不支持上传图片,未附在评论中。

Comment thread web/app.js Resolved
@Robert0622

Robert0622 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator Author

合 main 解冲突 + 修复(head 2e1c41477da77f2b5f01a530e53123b51887d422)

在 711b1281 后面追加了 3 个提交,没有强推:

  1. 224cc31e 合入 main fd039e51,解决冲突(feat(schedule,chat): 会话侧栏双栏分栏(个人 / 定时任务)与定时任务立即执行及直达最近执行 #1440 的「个人 / 定时任务」侧栏分栏)
    • chatbot/src/App.jsx:会话列表沿用 main 的分栏结构,再把本 PR 的访客文案「登录后查看历史会话」加回「个人」页签的空状态。
    • chatbot/src/navigation.css 中的 .sidebar-create-row margin:用 main 的 10px。main 改小这个值是为了给下面的分栏腾空间,本 PR 原来的 18px 不再用。
  2. 60b0ced1 补英文翻译,并补上访客在「定时任务」页签的提示
  3. 2e1c4147 修复对比度回退,以及跨断点后侧栏状态不对(02:00 定时 CR 会话提出,复核属实)
    • 需求列表优先级 pill 和「新对话」按钮:文字色改成 color-mix(in srgb, <色> 70%, var(--hui-text)),「低」改用 --hui-secondary,pill 字号从 11.5px 改回 12px。
    • onBreakpoint:窗口窄于 1001px 时照样收起;重新变宽时,恢复收起前的桌面状态。原来变宽后侧栏会一直收起。PR 描述里这一句也跟着改了。

部署实测(本机私有环境,MySQL 8.4,main fd039e51 对照,只用私有测试项目,没对 Tencent/LoopForge 跑任务)

场景 main 224cc31e / 60b0ced1(修复前) 2e1c4147
英文 #/issues 搜索 placeholder Fuzzy search titles, or search by ID… 模糊搜索标题、编号或描述 Fuzzy search titles, IDs, or descriptions
英文 角色搜索无结果 没有匹配的角色。 Adjust your search… 没有匹配的角色 尝试更换关键词,或清除筛选条件。 No matching Roles Try different keywords, or clear the filters.
英文 Runner 第 3 步 Account login for Claude Code, Codex and Antigravity 支持 Claude Code / Codex / Antigravity 账号登录 Account login for Claude Code, Codex and Antigravity
英文 访客资料卡 / 绑定码 Guest Session / Generating… 访客会话 · 未登录 Guest session · Not signed in / <Generated after sign-in>
访客打开工作台「定时任务」页签 正在连接…(一直不变) 正在连接…(一直不变) 登录后查看历史会话
浅色主题 pill 对比度:紧急 / 高 / 中 / 低 4.55 / 15.27 / 6.03 / 2.79 4.00 / 3.26 / 3.81 / 2.79 5.83 / 4.96 / 5.64 / 6.03
暗色主题 pill 对比度 7.66 / 15.74 / 8.64 / 3.65 6.59 / 9.26 / 5.96 / 3.65 8.18 / 10.20 / 7.85 / 8.64
「新对话」对比度(浅 / 暗) 17.7 / 15.7(中性色) 3.77 / 5.86 5.89 / 7.73
1440→900→1440 侧栏始终打开 回到 1440 后仍然收起 回到 1440 后恢复打开;用户自己收起的,来回缩放后仍保持收起

对比度按 Chromium 计算色测得(WCAG 公式)。中文界面下这些文案和 PR 原意一致,没有变化。另外用真实模型 CodeBuddy iOA deepseek-v4.1-flash 跑了一轮工作台对话,回复包含标题、引用、bash 代码块和列表,亮色和暗色主题都正常渲染,选中行的 accent 竖条也正常。页面没有报 JS 错误。

英文角色页(修复前 → 修复后):

需求列表优先级 pill,浅色主题(修复前 → 修复后):

访客「定时任务」页签(修复前 → 修复后):

真实模型回复(亮 / 暗):

本地验证(2e1c4147)

  • npm --prefix chatbot test:554/554 通过(新增访客两页签、跨断点恢复两个用例,去掉修复后都会失败);npm --prefix chatbot run build 通过。
  • npm --prefix webtest test:397 pass,0 fail(新增 i18n-ui-polish.test.mjs,去掉词条后失败)。
  • go build ./...、go vet ./web/... ./internal/httpapi/...、go test ./web/...、python3 -I scripts/check-public.py 通过。本 PR 不改 Go 文件;gofmt -l 列出的文件在 main 上同样存在,没有改动。

说明

…when the designer has room

#1512 folds the settings sidebar on entering #/flow, which widens the
designer body at 1440px from 1051px to 1355px. layoutTight() then keeps
the 256px node library open next to the assistant drawer, and all nodes
still fit. Check both cases: 1440px keeps the library open, and 1100px
still folds it to the 48px rail.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@Robert0622

Copy link
Copy Markdown
Collaborator Author

复核 2e1c4147 + faa3e214(上一轮评论的 head 是 60b0ced)

结论:上一轮提的 P2-1、P2-2、P3-1 在 2e1c414 上都已修好,实测通过。但必需检查 browser 在 faa3e21 上还是红的,原因是新改的 e2e 写法有问题(见下面 P2),所以现在还不能合。 crispinhu27 的 CHANGES_REQUESTED 也要等 browser 转绿才算解决。

实测方式

main fd039e51 和 PR 2e1c4147 在本机重新部署,各用独立的 MariaDB 库,另外各起一套访客模式。真实对话用 CodeBuddy iOA deepseek-v4.1-flash,配 native 沙箱建会话写文件。Chromium 测量对比度时取的是页面实际渲染的颜色。faa3e214 只改了 e2e/ui/02-interactions.spec.mjs,应用代码和 2e1c414 完全相同,下面的实测结论同样适用于 faa3e21。
测试(2e1c4147):chatbot vitest 554/554,webtest 397/397,go test ./web ok。

上一轮问题的复核

  • P2-1 #/issues 优先级 pill:已修。字号回到 12px。
    紧急 高 中 低
    浅色 main 4.55 15.27 6.03 2.79
    浅色 PR 5.85 4.97 5.62 6.03
    暗色 main 7.66 15.74 8.64 3.65
    暗色 PR 8.16 10.14 7.90 8.64
    现在 4 档在两种主题下都 ≥4.5,「低」比 main 还好。
  • P2-2「新对话」按钮:已修,浅色 5.91,暗色 7.72。
  • P3-1 侧栏跨断点:已修,PR 描述也改了。实测结果(括号里是侧栏是否打开):
    • 1440 打开 → 900 收起 → 1440 打开(main 是一直打开)
    • 1440 主动收起 → 900 → 1440 保持收起
    • 900 加载 → 1440 打开(main 保持收起)
    • 390 和 960 宽下点会话:两边和原来一致,<850 收起,≥850 保持打开
  • 回归检查:英文界面文案(访客弹层 Guest session · Not signed in、绑定码 <Generated after sign-in>、搜索 placeholder)、访客两个页签的空状态、机器选择器、执行机器页 0 条 toast、SOP 筛选的 enhanceSelect(2 个 trigger,选项切换生效)、done 需求不显示「触发」、暗色首页 hero、进 #/flow 收起设置侧栏且回到 #/sops 恢复,都和上一轮一致。对比度扫描:#/issues 不达标项浅色 12→11、暗色 5→3,首页/会话/登录页没有新增不达标。

P2(阻塞合并):faa3e214 的新 e2e 在 1100 那轮先断言 nodesFit 就失败了

  • CI:run 46054957277 / job 140695078016,ui/02-interactions.spec.mjs:271 expect.poll(nodesFit).toBe(true) 超时(Received false),其余 26 条通过。
  • 原因:1440 那轮能过(期望节点库保持 256,与实测一致)。进入 1100 那轮时,测试只调用了 setViewportSize,没有重新进入设计器;画布不会因为窗口缩放重新居中,所以还没打开 AI 助手 nodesFit 就已经是 false。main 上同样的步骤结果也一样,属于原有行为,不是本 PR 引入的回退。
  • 本机复现:按 e2e 的数据建 3 个 script 节点(x=90/425/780)。
    • 1440→1100 只缩窗口:第 3 个节点 right=1345 > canvas right=1085,fit=false(main 是 1353 > 1085,同样 false)。
    • 1100 下重新进设计器:开始 / 打开 AI 助手 / 关闭三步全部 fit=true,节点库 256→48→256。
  • 各宽度打开 AI 助手后的节点库宽度:main 在 1440/1280/1180/1100 都收成 48;PR 在 1440/1280 保持 256,在 1180/1100 收成 48。这与作者的说明一致,节点都还在视野内,所以「进入设计器收起设置侧栏」这个设计本身我没有意见。
  • 建议:1100 那轮在 setViewportSize 之后重新 page.goto('/#/flow/'+wf) 并等节点渲染,或者把 1100 拆成一个独立的 test。修完之后需要 browser 和 platform-required 转绿。

crispinhu27 18:55Z 意见的逐条核实

  • [P2] 进入 #/flow 收起设置侧栏后,打开 AI 助手节点库不再收起,导致 browser 失败:部分解决。作者选择保留这个设计、改测试预期,我认可这个方向(实测见上);但改后的测试本身还是红的,需要按上面的建议再改一次。
  • 未验证项「done 判断提到 waiting/failed 分支之前」:实测 done 需求在列表里只剩「更多」菜单,和详情菜单里把 done 当已关闭的处理一致,作者已确认是有意的。如果手动标 done 的需求运行还在等确认,列表里就看不到「去确认」,但详情页仍可以处理,不阻塞。

仍然存在(不阻塞本 PR)

截图在 release review-assets-1128-0200-pr1512(pr1512-r2-*),没有新开分支。

Resizing alone does not re-centre the canvas, so the 1100px round could
start with the third node outside the canvas before the assistant opened.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@Robert0622

Copy link
Copy Markdown
Collaborator Author

复核 7fa55fbe(只改 e2e)

结论:上一轮留下的 P2(browser 必需检查失败)已解决,没有发现新的问题,可以合并。 这次 CI 16/16 全部通过,包括 browser、core 和 platform-required(run 46056407493),PR 状态是 MERGEABLE。

crispinhu27
crispinhu27 previously approved these changes Nov 27, 2026

@crispinhu27 crispinhu27 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

复审:#1512 UI/UX polish(head 7fa55fbe,base main fd039e51)

结论:APPROVE。 上次 REQUEST_CHANGES(6092305568,基于 60b0ced1)的唯一阻塞项已在当前 head 上实测修复,增量 60b0ced1..7fa55fbe(5 个文件,+85/−20)未发现新的阻塞问题。

历史问题

  • [P2] 进入 #/flow 收起设置侧栏后,打开 AI 助手节点库不再收成 48px,导致 e2e 02-interactions.spec.mjs:243 失败:FIXED。复测细节见原线程 r4723187299,线程已 resolve。

增量的实测(无凭据、无网络的隔离用户,MariaDB 11.8 + 合成数据,真实 Chromium)

  • chatbot/src/App.jsx:把窗口宽度按 1440→900→1440 调整,侧栏依次显示、隐藏、恢复显示;新增 vitest 用例覆盖「手动隐藏后再跨过断点仍保持隐藏」。
  • chatbot/src/navigation.css:用计算样式量新对话按钮的对比度,浅色 5.89:1,深色 7.73:1,均满足 4.5:1。
  • chatbot vitest 554/554、webtest 397/397、go vet ./web/... ./cmd/...、go test ./web/... 均通过;CI 16/16 通过。

未实测,仅作说明,不影响结论

  • web/app/issues-list.css 优先级标签的混色只做了代码阅读。
  • issueActionButtons 现在先判断 done:已完成但最近一次运行停在「等确认」或「失败」的需求,行内按钮会变成「查看」。PR 描述说明这是有意改动,菜单里的处理也一致;这种状态没有在页面上实际构造。

本次审查只覆盖上面列出的范围,不代表代码没有其他缺陷。

Resolve conflicts with the latest main; keep both sides' additions
(i18n dictionaries, runner/A2A rows, review-mode run header, user turn
actions) without dropping either branch's behaviour.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants