150 Commits
Author SHA1 Message Date
tao.chen 9013c4083e Merge remote-tracking branch 'aliyun/feature/a-card-operations' into develop 2026-09-04 15:52:46 +08:00
郑龙捷 7d5e3e9a50 fix: 对齐运维页面原型并收口权限边界
- 删除模型大类概览和细分银行概览中原型未包含的过渡跳转按钮,保留卡片点击、筛选、指标趋势和详情入口。

- 移除运维系统配置页中的模型平台新增页面依赖、登录角色来源等内部说明,仅保留实际配置内容。

- 将开发工作台访问控制统一收敛到 dashboard:view,业务团队仅保留运维工作台权限;直接访问开发工作台时自动回到运维工作台。

- 补充架构实现基线、外部写入协议、运维 API 清单、三角色权限验收说明和首条纵向链路联调手册。

- 按当前实现更新架构变更记录和本周目标完成情况。
2026-09-02 17:39:36 +08:00
xiaozhu d8e1eb9ca3 update:部分样式优化 2026-09-02 16:37:43 +08:00
郑龙捷 74dd97428f feat: 接入运维真实数据与三角色权限链路
- 新增 model_deploy 与 model_operations 双库查询,支持模型列表、模型详情、单月监控结果和运维工作台真实接口。

- 关闭运维模块生产 Mock 数据,补充缺表/空数据降级、工作台空状态和首条纵向链路测试。

- 按业务团队、模型团队、管理员权限矩阵接入菜单、页面、操作按钮和后端接口权限校验,支持 business_team 角色。

- 更新工作台布局、深色欢迎卡片、全宽页面适配、顶部回退,以及权限分组展示。

- 新增架构实现基线、周目标完成情况和角色权限矩阵初始化 SQL 文档。
2026-09-02 15:02:47 +08:00
郑龙捷 6d044784ec Merge origin/develop into feature/a-card-operations 2026-09-02 10:33:00 +08:00
郑龙捷 ad71259ba5 feat: add A-card operations frontend and backend foundation 2026-09-02 09:54:03 +08:00
xiaozhu 026cd085c6 update:原生确认框替换为自定义弹窗 2026-09-01 17:23:31 +08:00
xiaozhu 149e85cf10 fix:上传其他文件未自动更新 2026-09-01 16:30:19 +08:00
xiaozhu ac0893cdb5 update:部分样式优化 2026-09-01 16:15:54 +08:00
xiaozhu 1532feedde feat:账号设置+密码重置 2026-09-01 15:03:45 +08:00
tao.chen 64d33fb1d0 fix: loadChildren + loadScripts + loadDataResources 2026-09-01 11:29:07 +08:00
tao.chen 0deb2d205b refactor: api.ts 2026-09-01 11:10:39 +08:00
xiaozhu 4bfd4ac4c2 fix:补齐file-viewer预览资源包依赖 2026-09-01 10:00:41 +08:00
xiaozhu 690de643ad feat:脚本文件预览 2026-08-31 18:48:19 +08:00
xiaozhu 4ff0f344af update:文件后缀、icon添加 2026-08-31 17:27:50 +08:00
xiaozhu 20eadb953b update:新建用户可选角色、项目 2026-08-31 16:19:53 +08:00
xiaozhu a4dd317828 update:添加分页、成员添加优化 2026-08-31 15:41:06 +08:00
xiaozhu cc38bb1575 部分样式调整 2026-08-31 11:10:49 +08:00
tao.chen 9badd3597f update: style 2026-08-28 12:00:14 +08:00
xiaozhu 80faf15359 updata:icon替换 2026-08-27 15:43:29 +08:00
xiaozhu 433c68998e updata:admin.css替用 2026-08-27 15:07:25 +08:00
xiaozhu 213490f8ac fix:input边框 2026-08-26 18:38:36 +08:00
xiaozhu e326cc1a93 update:Dialog替换 2026-08-26 16:48:19 +08:00
tao.chen d7f3db1cc4 refactor: replace Toast with Sonner 2026-08-26 14:06:12 +08:00
tao.chen f99b543100 update: ScriptsPage.tsx 2026-08-26 12:01:52 +08:00
tao.chen e79787fa61 update: unify 2026-08-26 11:10:29 +08:00
tao.chen b0281a73a0 update: replace table component 2026-08-26 11:00:01 +08:00
tao.chen 32d3309ecf update: replace table component 2026-08-26 10:47:54 +08:00
tao.chen 83190ea57e update: use components 2026-08-26 10:37:06 +08:00
tao.chen fe2fdb5ece feat: add ui components 2026-08-26 10:17:53 +08:00
tao.chen b9d14bbae7 update: role_code 2026-08-26 09:55:11 +08:00
tao.chen 6fe2d0b42e feat: role CRUD page 2026-08-25 22:52:00 +08:00
tao.chen 38e763d08e refactor: permission 2026-08-25 21:21:28 +08:00
tao.chen e186e5e541 refactor: use shadcn sidebar 2026-08-25 20:20:14 +08:00
tao.chen 9294c7fd9f update: use Button component in SchedulePage.tsx 2026-08-25 18:17:54 +08:00
tao.chen 4557fae037 fix: build error 2026-08-25 17:06:57 +08:00
tao.chen 3c79cd3a93 feat: add shadcn/ui 2026-08-25 16:58:23 +08:00
xiaozhu 12111de788 update:css样式拆分 2026-08-25 16:52:10 +08:00
tao.chen 76aa2dcb27 fix: notebook 2026-08-25 11:35:51 +08:00
tao.chen 799f4e2a09 Merge branch 'develop-2' into develop 2026-08-25 11:27:50 +08:00
tao.chenandClaude Fable 5 91031342b8 refactor(frontend): consolidate features & components into single tree
把 components/admin/* 和 components/platform/* 共 11 个文件
移到对应 features/<name>/ 下,components/ 只保留跨特性共享的
common/ 子目录(features/admin/* 之前和 components/admin/* 同名
共存,迫使 features/admin/AdminPages.tsx 出现 barrel,顺带消除了
barrel 副作用 CSS 丢失的隐患)。

新的目录约定:
  - features/<name>/  = 特性模块,所有页面 / Modal / state / hooks
                         / routes 都在内,无 components/<name>/ 并列
  - components/common/ = 仅放 ≥2 个特性共用的 widgets
                         (Icon、Sidebar、Toast、Topbar、WelcomePanel)

改动:
  - 11 文件 git mv (components/{admin,platform}/* → features/*)
  - 8 文件的 Icon 相对路径 '../common/Icon' → '../../components/common/Icon'
  - 2 文件补 admin.css side-effect import(UserManagementPage /
    ProjectManagementPage 之前依赖 AdminPages barrel)
  - 3 文件(引用方)更新 import:SystemAdminPage、DashboardRoute、
    ScriptsPage
  - 删除 features/admin/AdminPages.tsx barrel(无消费者)
  - 删除空目录 components/admin、components/platform

验证:
  - pnpm typecheck 通过
  - pnpm build 通过,CSS 体积 35.11 kB 与重构前一致(无样式增减)
  - routes.ts / routes/platform.tsx 路径未动,route id 不变

踩坑:
  第一轮把 '../common/Icon' 错改成 '../../../components/common/Icon',
  typecheck 报 11 个 Cannot find module。原因:features/admin/ 和
  components/admin/ 都是 depth 2,'../../X' 在两边都解析到 app/X,
  只有 '../X' 才需要多一层。正确改法是 '../../components/common/Icon'。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-25 11:27:26 +08:00
tao.chen baa1e04af6 refactor: scriptWorkspaceStore.ts 2026-08-25 11:12:22 +08:00
tao.chen 2ed8d7b2cc refactor: useSchedulesStore.ts 2026-08-25 10:48:29 +08:00
tao.chenandClaude Fable 5 80c92f7fd4 fix(frontend): restore login & auth-loading styles with Tailwind
提交 6b77018 把 frontend/app/app.css 从 112 行砍到 91 行,
删除了 .login-* 与 .auth-loading 选择器,但 login.tsx /
AuthContext.tsx 的类名没同步迁移,导致:

  - /login 页面无样式(背景渐变、卡片阴影、输入框焦点环全部失效)
  - AuthContext 初次加载时的旋转 spinner 无样式

两处都用 Tailwind 任意值 [..] 语法精确复刻原 CSS,精确到
原始色值(#1677ff、#eef5fb 等),不引入新的 CSS 文件,
不修改 app.css、路由配置或依赖。

Spinner 用 Tailwind 内置 animate-spin(1s)替代原 0.8s
keyframes auth-spin,视觉差异肉眼不可见,如需精确复刻可在
app.css @theme 加 --animate-auth-spin。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-25 10:35:27 +08:00
tao.chen 97c8fe212b update: replace Icon with lucide-react 2026-08-25 09:59:59 +08:00
tao.chen fbb4cc0f1b feat: add lucide-react Icon 2026-08-24 18:41:49 +08:00
tao.chen 27a0504079 feat: register tailwindcss plugins 2026-08-24 18:35:10 +08:00
tao.chen 6b7701852f refactor: style css -> tailwindcss 2026-08-24 18:34:43 +08:00
tao.chen 9ce0b106fa update: init tailwindcss 2026-08-24 17:34:55 +08:00
tao.chen 95b588b96c refactor: update artifact list style 2026-08-24 17:29:19 +08:00