Ryan Wang
925f8d0ea4
feat: add sticky block component ( #4919 )
...
#### What type of PR is this?
/kind feature
/area console
/milestone 2.11.x
#### What this PR does / why we need it:
添加 `<StickyBlock />` 组件,用于将元素固定在顶部或者底部。
此外,此 PR 针对主题设置、插件设置、系统设置等表单可能较长的页面使用了此组件。
<img width="1214" alt="图片" src="https://github.com/halo-dev/halo/assets/21301288/abc849eb-a9a9-4d0a-b81c-d7430815660d ">
#### Which issue(s) this PR fixes:
Fixes https://github.com/halo-dev/halo/issues/4548
#### Special notes for your reviewer:
#### Does this PR introduce a user-facing change?
```release-note
添加 `<StickyBlock />` 组件,用于将元素固定在顶部或者底部,并为主题 / 插件 / 系统设置的底部保存按钮区域做了适配。
```
2023-11-27 09:38:08 +00:00
Ryan Wang
0102f7a227
fix: overflow issue of card component ( #4922 )
...
#### What type of PR is this?
/area console
/kind bug
/milestone 2.11.x
#### What this PR does / why we need it:
修复在 Card 组件中使用下拉组件无法完整显示的问题。
before:
<img width="898" alt="图片" src="https://github.com/halo-dev/halo/assets/21301288/8381ab18-fe48-4e14-9ac2-2c7da5b22556 ">
after:
<img width="900" alt="图片" src="https://github.com/halo-dev/halo/assets/21301288/517622e8-f507-4ce8-89be-1e47380be3a3 ">
#### Which issue(s) this PR fixes:
Fixes #4921
#### Does this PR introduce a user-facing change?
```release-note
修复在 Card 组件中使用下拉组件无法完整显示的问题。
```
2023-11-27 09:04:08 +00: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
John Niang
a56f7e89f5
Merge pull request #4900 from ruibaby/refactor/signup-event
...
refactor: redirect to user center by default after registration
2023-11-23 23:56:33 +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
ec7dbf0a9b
refactor: redirect to user center by default after registration
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2023-11-23 17:04:06 +08: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
随心
747cab3aa1
fix: vue warning issue in BackupListItem component ( #4870 )
...
#### What type of PR is this?
/area console
/kind improvement
/milestone 2.11.x
#### What this PR does / why we need it:
修复代码错误导致的控制台警告。异常现象:备份列表页面,有多少备份文件就会有多少个警告日志。

#### Which issue(s) this PR fixes:
Fixes #4871
#### Special notes for your reviewer:
None
#### Does this PR introduce a user-facing change?
```release-note
修复备份页面中的浏览器控制台警告日志
```
2023-11-17 16:08:08 +00:00
Ryan Wang
a951a34a1b
feat: refine user center feature ( #4857 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2023-11-16 15:51:19 +08:00
Ryan Wang
d356b65671
Merge branch 'main' into feature-user-center
2023-11-15 13:47:25 +08:00
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