feat(deploy/ui): 运维前端重写为 React + 统一蓝白设计系统 #215
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/dazzling-mendeleev-5633de"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
部署工具 webtool、网点 agent 本机控制台、营业大屏与主前端最新设计系统(clinical-blue 蓝白)观感不一致。排查发现代码反复引用的
design/文档原型设计方案(README『二、设计语言』、AgentDashboard.dc.html)经 git 全史核验从未入库(幽灵引用),唯一权威基准是主前端client/src/renderer/src/styles/variables.css。改动
web/→ React+Vite 工程webui/。部署向导 6 屏 + 控制中心 dashboard 全部功能对等(23 端点 / SSE 流式部署日志 / 凭据一次性打码回显 / 远端路径浏览 / 同机冲突预校验 / 控制动作二次确认);main.go改 embedwebui/dist。webui→ React。三态状态机(接入向导 / 待审核 / 已上线自助管理)+ 5 本机控制端点对等;control.go改 embedwebui/dist;Dockerfile 复用已提交 dist(免 Node 构建阶段)+ 新增deploy/.dockerignore排除 node_modules。--v-*令牌重映射 + 逐区块对比反转),仅样式换肤,数据/SSE/组件不动。variables.css/themes.ts指向幽灵文档的注释;dist 产物入库保证go build/go test在无 Node 环境自洽。验证
agent 与 webtool 两工程
npm run build+tsc --noEmit+go build+go test ./...全部通过;大屏为安全的纯样式改动。集群实机端到端验收待后续。🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.