Commit Graph
371 Commits
Author SHA1 Message Date
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
tao.chen e2fd7eba63 chore: STYLE_GUIDE.md 2026-08-27 17:34:10 +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 b3066d6940 fix: literal_error 2026-08-26 09:50:56 +08:00
tao.chen 6fe2d0b42e feat: role CRUD page 2026-08-25 22:52:00 +08:00
tao.chen 5ed7e12a23 fix: soft-deleted permission readd 2026-08-25 22:49:28 +08:00
tao.chen 498f06ed39 fix: soft-deleted permission readd 2026-08-25 22:49:19 +08:00
tao.chen 90955a2c1d feat: role CRUD 2026-08-25 22:33:25 +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
tao.chen 6a0b62fa6b Merge remote-tracking branch 'aliyun/develop' into develop 2026-08-25 16:55:13 +08:00
xiaozhu 12111de788 update:css样式拆分 2026-08-25 16:52:10 +08:00
tao.chen e805853b28 chore: docs 2026-08-25 14:17:05 +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
tao.chen b8246b1e9b refactor: update artifact list style 2026-08-24 17:28:55 +08:00
tao.chen b87f58be60 update: delete schedule 2026-08-24 15:26:25 +08:00
tao.chen de6d975fe9 chore: remove print 2026-08-24 15:02:26 +08:00
tao.chen ce8020e68c chore: web volumes 2026-08-24 13:58:24 +08:00
tao.chen b8a1e462ca chore: web volumes 2026-08-24 13:57:46 +08:00
tao.chen f09c1912fa chore: initialContent 2026-08-24 11:30:14 +08:00
tao.chen e02c66a7a6 chore: web volumes 2026-08-24 11:26:58 +08:00
tao.chen ba8a6ff79a chore: encrypt_secret.py 2026-08-24 11:05:01 +08:00