Ryan Wang
|
b0aec48c7c
|
feat: basic implementation of personal center (#4851)
#### What type of PR is this?
/area console
/milestone 2.11.x
/kind feature
#### What this PR does / why we need it:
个人中心的基础实现,此 PR 已完成:
1. 个人中心基础布局。
2. 将个人相关的功能移动到个人中心,包括个人资料修改、密码修改、PAT、通知配置、通知中心等。
3. 个人中心和管理控制台的切换入口。
<img width="1920" alt="图片" src="https://github.com/halo-dev/halo/assets/21301288/2db810dc-c467-4b6d-86ad-dd7473fa8ef6">
注意:此 PR 仅包含基础实现,其他的 UI 更改和 i18n 完善会放在后面的 PR。
#### Special notes for your reviewer:
测试方式:
1. 使用开发模式启动 Halo 后端。
2. 在 Console 目录运行 `pnpm dev`。
3. 测试 /console 的功能。
4. 测试 /uc 的功能。
#### Does this PR introduce a user-facing change?
```release-note
None
```
|
2023-11-13 08:56:08 +00:00 |
Ryan Wang
|
52d064381f
|
refactor: improve project structure for user center feature (#4839)
#### What type of PR is this?
/area console
/kind improvement
/milestone 2.11.x
#### What this PR does / why we need it:
重构前端的目录结构,以便在后续让个人中心的代码支持复用部分代码。
https://github.com/ruibaby/halo/tree/refactor/file-structure/console/docs/project-structure
#### Special notes for your reviewer:
测试方式:
1. 启动最新的 Halo 后端。
2. 在 Console 目录运行 `pnpm dev`,可以观察到同时监听了 3000 和 4000 端口,分别代理原本的 /console 和新加的 /uc
3. 访问 /console 和 /uc。
4. 测试 `pnpm build`,完成之后检查主项目的 `src/main/resources` 目录是否包含 console 和 uc 目录。
5. 使用生产环境运行 Halo,访问 /console 和 /uc
#### Does this PR introduce a user-facing change?
```release-note
None
```
|
2023-11-09 06:56:06 +00:00 |
Ryan Wang
|
8c56093ee2
|
feat: build infrastructure for user center feature (#4806)
#### What type of PR is this?
/area console
/kind feature
/milestone 2.11.x
#### What this PR does / why we need it:
添加前端部分的个人中心的基础设施,将通过改造 Console 项目的结构实现对个人中心页面的隔离。意味着 Console 项目的意义将转变为 frontend,其中包含 Console 和 UC。
#### Special notes for your reviewer:
测试方式:
1. 启动最新的 Halo 后端。
2. 在 Console 目录运行 `pnpm dev`,可以观察到同时监听了 3000 和 4000 端口,分别代理原本的 /console 和新加的 /uc
3. 访问 /console 和 /uc。
4. 测试 `pnpm build`,完成之后检查主项目的 `src/main/resources` 目录是否包含 console 和 uc 目录。
5. 使用生产环境运行 Halo,访问 /console 和 /uc
#### Does this PR introduce a user-facing change?
```release-note
None
```
|
2023-11-02 09:00:28 +00:00 |