 xiaozhuandtao.chen
|
5f5eb739c2
|
feat:账号设置+密码重置
|
2026-09-02 10:10:41 +08:00 |
|
 xiaozhuandtao.chen
|
8a2862c8c4
|
update:新建用户可选角色、项目
|
2026-09-02 10:10:41 +08:00 |
|
 xiaozhuandtao.chen
|
b7b8e28b52
|
update:添加分页、成员添加优化
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
1f9c4a2cd9
|
update: style
|
2026-09-02 10:10:41 +08:00 |
|
 xiaozhuandtao.chen
|
af2f035d03
|
updata:icon替换
|
2026-09-02 10:10:41 +08:00 |
|
 xiaozhuandtao.chen
|
3a5cc12782
|
updata:admin.css替用
|
2026-09-02 10:10:41 +08:00 |
|
 xiaozhuandtao.chen
|
d0f0fd2922
|
update:Dialog替换
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
ed58344add
|
refactor: replace Toast with Sonner
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
df374d00c3
|
update: unify
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
2a81b98309
|
update: replace table component
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
c2f153cabd
|
update: replace table component
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
bc617b6ade
|
update: use components
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
ce77aa9e5d
|
update: role_code
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
fbd4da5224
|
feat: role CRUD page
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
dea6b4cfcf
|
refactor: permission
|
2026-09-02 10:10:41 +08:00 |
|
 tao.chenandtao.chen
|
1c220490cf
|
refactor: use shadcn sidebar
|
2026-09-02 10:10:41 +08:00 |
|
 xiaozhuandtao.chen
|
f452ba70fb
|
update:css样式拆分
|
2026-09-02 10:10:41 +08:00 |
|
 
|
c3947d6066
|
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-09-02 10:10:41 +08:00 |
|
tao.chen
|
984894d797
|
refactor: SchedulesPageRoute.tsx, UserManagementPage.tsx, ProjectManagementPage.tsx
|
2026-08-07 14:40:46 +08:00 |
|
tao.chen
|
ffd1db45fc
|
fix: workspace refresh
|
2026-08-07 13:12:07 +08:00 |
|
tao.chen
|
6f574073e3
|
fix: frontend routes
|
2026-08-07 12:47:37 +08:00 |
|
xiaozhu
|
8c4d2c0517
|
chore:系统管理拆分
|
2026-08-05 15:13:34 +08:00 |
|
xiaozhu
|
394081b613
|
feat:项目管理
|
2026-08-05 13:50:24 +08:00 |
|
xiaozhu
|
4e95399d4f
|
chore:platform文件拆分
|
2026-08-04 18:46:18 +08:00 |
|
xiaozhu
|
eace1109ac
|
系统管理页面部分更改
|
2026-08-04 14:49:10 +08:00 |
|
Winnie
|
d7bd88335c
|
merge: integrate feat/auth into develop
|
2026-08-03 17:44:00 +08:00 |
|
Winnie
|
49ee2c0a4a
|
feat: 完善模型平台相关功能
|
2026-07-31 19:10:37 +08:00 |
|
tao.chen
|
fb073c6f99
|
feat: auth
|
2026-07-31 17:22:25 +08:00 |
|
Winnie
|
c74b2abb48
|
重构模型平台前后端并移除Redis依赖
|
2026-07-30 19:03:00 +08:00 |
|