Skip to content

Commit

Permalink
feat: improve the help tips for system setting options (#5516)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/area core
/kind improvement
/milestone 2.14.0

#### What this PR does / why we need it:

improve the help tips for system setting options

<img width="612" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/9f97a4d7-09f7-4671-8a4e-f4ab7dc8dcbd">


#### Which issue(s) this PR fixes:

Fixes #5513 

#### Does this PR introduce a user-facing change?

```release-note
完善系统设置选项的帮助提示。
```
  • Loading branch information
ruibaby authored Mar 18, 2024
1 parent 21bc7fe commit bf81f29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions application/src/main/resources/extensions/system-setting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,17 @@ spec:
value: 'shortUUID'
- label: 'UUID'
value: 'UUID'
help: 此选项仅在创建文章时生效,修改此选项不会影响已有文章
- $formkit: attachmentPolicySelect
name: attachmentPolicyName
label: "附件存储策略"
value: "default-policy"
help: 用于指定在文章编辑器中上传的默认附件存储策略
- $formkit: attachmentGroupSelect
name: attachmentGroupName
label: "附件存储组"
value: ""
help: 用于指定在文章编辑器中上传的默认附件存储分组
- group: seo
label: SEO 设置
formSchema:
Expand Down Expand Up @@ -104,10 +107,12 @@ spec:
- $formkit: roleSelect
name: defaultRole
label: "默认角色"
help: 用户注册之后默认为用户分配的角色
- $formkit: attachmentPolicySelect
name: avatarPolicy
label: "头像存储位置"
value: "default-policy"
help: 指定用户上传头像的存储策略
- group: comment
label: 评论设置
formSchema:
Expand All @@ -119,6 +124,7 @@ spec:
name: requireReviewForNew
value: true
label: "新评论审核"
help: 开启之后,新评论需要管理员审核后才会显示
- $formkit: checkbox
name: systemUserOnly
value: true
Expand Down

0 comments on commit bf81f29

Please sign in to comment.