Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve the help tips for system setting options #5516

Merged
merged 1 commit into from Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions application/src/main/resources/extensions/system-setting.yaml
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