Ryan Wang
8f83df415c
feat: request health api for session keep-alive ( #4949 )
...
#### What type of PR is this?
/area console
/kind improvement
/milestone 2.11.0
#### What this PR does / why we need it:
在 Console 和 UC 轮询 /actuator/health 接口保持登录会话,目前是 5min 请求一次。
#### Which issue(s) this PR fixes:
Fixes #4947
#### Does this PR introduce a user-facing change?
```release-note
优化 Console 的登录会话保活机制。
```
2023-11-30 04:10:08 +00:00
John Niang
b2b096c544
Support managing posts in the user center ( #4866 )
...
* Support managing posts in user center
Signed-off-by: John Niang <johnniang@foxmail.com>
* Adapt post management in user center
Signed-off-by: Ryan Wang <i@ryanc.cc>
---------
Signed-off-by: John Niang <johnniang@foxmail.com>
Signed-off-by: Ryan Wang <i@ryanc.cc>
Co-authored-by: Ryan Wang <i@ryanc.cc>
2023-11-30 11:55:29 +08:00
John Niang
c02911ce01
Merge pull request #4875 from ruibaby/perf/asynchronously-load-uppy-upload
...
perf: asynchronously load the uppy upload component
2023-11-27 16:57:06 +08:00
Ryan Wang
1f1f3cb724
feat: add tailwindcss/forms plugin to standardize the style of form elements ( #4893 )
...
#### What type of PR is this?
/area console
/kind improvement
#### What this PR does / why we need it:
Use [@tailwindcss/forms](https://github.com/tailwindlabs/tailwindcss-forms ) plugin to standardize the style of form elements, and resolve some style issues.
before:
<img width="294" alt="图片" src="https://github.com/halo-dev/halo/assets/21301288/eeb6792f-a278-4fd0-a99c-7d7e50dd550d ">
after:
<img width="291" alt="图片" src="https://github.com/halo-dev/halo/assets/21301288/652b07d8-7410-4c62-9b4f-1b3228d68883 ">
#### Which issue(s) this PR fixes:
Fixes #4734
#### Does this PR introduce a user-facing change?
```release-note
优化 Console 端表单元素样式
```
2023-11-23 09:32:09 +00:00
Ryan Wang
6f1d86de6d
perf: asynchronously load the uppy upload component
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2023-11-18 16:08:19 +08: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