Commit Graph
9 Commits
Author SHA1 Message Date
rogee 94df412579 fix(accounts): restore gateway selection and use creation modal 2026-10-06 10:28:58 +08:00
rogee f1a62e25de feat(account): create browser environments before verified login
douyin-release-gate / verify (push) Failing after 4m22s
2026-10-06 05:55:53 +08:00
rogee 7dea052e55 feat(web): 账号即环境 UI 收敛——删 /browsers 页面,环境并入账号详情
- 删除 /browsers 列表/创建/详情页与菜单项,运行环境不再是独立资源
- 账号详情:GET /api/phase-a/accounts/:id 内联 environment 字段
  (网关/出口/绑定版本/运行实例/不可调度原因),固定资源卡直接展示
- 状态卡两态开关:暂停→「启动账号」(start=resume+启动环境),
  运行中→「暂停账号」(联动停环境);出口重绑卡片内完成
  (POST /network-exits/:id/rebind 返回内联 environment,出口切换不再跳环境页)
- 删除 creator/settings 残留的转写服务字段(后端 settings 无此列)
- helpers.ts accountReadiness 改用 runtime_id/runtime_cleanup_pending
- network-exits 列表绑定账号列改由账号列表内联数据驱动
- 全量验证:go test ./...(PG)全绿、tsc --noEmit 通过、max build 通过、
  node --test 12/12 通过
2026-09-28 20:30:23 +08:00
rogee c2bccba352 refactor(web): 删除前端空转链路(任务中心/草稿/attempt/运营工作台/素材面板)
- 删页面目录 tasks/ drafts/ attempts/ creator/workbench/
- 竞品页移除素材处理 Drawer 与素材操作
- metadata 菜单与页头规则同步收敛
- api.ts/listQuery.ts 移除对应 resource 与函数
- 固定表头测试文件清单同步
2026-09-28 15:54:32 +08:00
rogee bb388112a7 fix(ui): metadata 清理旧路径 /competitors 与 gateways 详情死规则,补竞品账号详情规则(走查 P1-#5) 2026-09-28 07:22:51 +08:00
rogee aeae1049ad feat(web): 监控账号详情页承载作品列表,点击作品弹出统计 Drawer 2026-09-27 13:22:54 +08:00
rogee ebd99f91d2 fix(web): 侧栏选中精确匹配、页头标题左对齐、添加按钮移至标题行、工作台补内容区 Card
douyin-release-gate / verify (push) Failing after 3m51s
- ProLayout 默认按路径前缀高亮菜单(/accounts 与 /accounts/import 同时选中),改为受控 selectedKeys(metadata.menuSelectedKey 最长前缀精确匹配,详情页回落父级)
- 页面标题/副标题从 PageContainer extra(右上)移到 title 槽(左上),动作按钮经 PageActions Context 渲染到 extra 与标题同行
- 新增 web/src/components/PageActions.tsx;账号导入/我的账号/监控账号/运行环境/网关/网络出口 六处列表页注册各自按钮并移除卡内独占行(重复副标题的小字提示一并移除)
- 运营工作台根节点包 Card variant=outlined,operations 标签页去掉冗余内层 Card
- dashboard 移除内层 PageContainer,避免与全局页头双标题
2026-09-23 11:21:28 +08:00
rogee 5053f8972a feat(web): 菜单顶部新增工作台占位页(/dashboard,对标 pro workplace,统计后期规划)
douyin-release-gate / verify (push) Failing after 17m11s
2026-09-22 17:46:38 +08:00
rogee 49c130f391 style(web): 侧栏仅保留模块菜单并补图标;内容区统一 Card wrapper 与页面背景区分
douyin-release-gate / verify (push) Failing after 2m44s
- 侧栏 menuHeaderRender=false,折叠菜单只剩模块链接(标题由 TopNav 呈现)
- 菜单补齐 10 个常用语义图标(账号导入/我的账号/监控账号/竞品分析/工作台/采集设置/任务中心/运行环境/网络出口/网关管理)
- 列表与详情/新建/编辑页主内容统一 <Card variant=outlined> 包裹,对齐 pro 官方预览的灰底+白卡层次(17 处)
- metadata.ts → metadata.tsx(菜单 icon 需 JSX);ScanEyeOutlined/ChatSettingsOutlined 在当前 @ant-design/icons 不存在,改用 EyeOutlined/CommentOutlined
2026-09-22 17:34:28 +08:00