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

refactor: complete default values for global settings #4562

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

guqing
Copy link
Member

@guqing guqing commented Sep 6, 2023

What type of PR is this?

/kind improvement
/area core
/milestone 2.10.x

What this PR does / why we need it:

补全系统全局设置的默认值

how to test it?

  1. 初始化 halo
  2. 安装评论组件
  3. 到文章页面可以评论

Which issue(s) this PR fixes:

Fixes #4561

Does this PR introduce a user-facing change?

补全系统全局设置的默认值,防止首次安装之后部分功能异常。

@f2c-ci-robot f2c-ci-robot bot added kind/improvement Categorizes issue or PR as related to a improvement. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Sep 6, 2023
@f2c-ci-robot f2c-ci-robot bot added this to the 2.10.x milestone Sep 6, 2023
@f2c-ci-robot f2c-ci-robot bot requested a review from lan-yonghui September 6, 2023 09:20
@f2c-ci-robot f2c-ci-robot bot added the area/core Issues or PRs related to the Halo Core label Sep 6, 2023
@f2c-ci-robot f2c-ci-robot bot requested a review from wan92hen September 6, 2023 09:20
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #4562 (107485d) into main (2baf6ae) will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #4562      +/-   ##
============================================
+ Coverage     61.02%   61.05%   +0.03%     
- Complexity     2560     2562       +2     
============================================
  Files           373      373              
  Lines         13149    13149              
  Branches        937      937              
============================================
+ Hits           8024     8028       +4     
+ Misses         4670     4668       -2     
+ Partials        455      453       -2     

see 1 file with indirect coverage changes

Copy link
Member

@ruibaby ruibaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2023
Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Sep 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 7, 2023
@f2c-ci-robot f2c-ci-robot bot merged commit 87ca74c into halo-dev:main Sep 7, 2023
@guqing
Copy link
Member Author

guqing commented Sep 7, 2023

/cherry-pick release-2.9

@halo-dev-bot
Copy link
Collaborator

@guqing: new pull request created: #4573

In response to this:

/cherry-pick release-2.9

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

f2c-ci-robot bot pushed a commit that referenced this pull request Sep 7, 2023
…4573)

This is an automated cherry-pick of #4562

/assign guqing

```release-note
补全系统全局设置的默认值
```
@ruibaby ruibaby modified the milestones: 2.10.x, 2.10.0 Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/core Issues or PRs related to the Halo Core kind/improvement Categorizes issue or PR as related to a improvement. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

系统初始化之后安装了评论插件需要在全局设置点一次保存才能使用评论组件
4 participants