-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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: add preventParentPostCascadeQuery option to control visibility of child category posts #6083
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6083 +/- ##
============================================
- Coverage 56.91% 56.40% -0.51%
- Complexity 3319 3563 +244
============================================
Files 587 626 +39
Lines 18968 21089 +2121
Branches 1401 1493 +92
============================================
+ Hits 10795 11896 +1101
- Misses 7594 8588 +994
- Partials 579 605 +26 ☔ View full report in Codecov by Sentry. |
Hi @ruibaby 帮忙修改一下 UI: 分类列表需要为独立分类添加一个图标标识便于识别例如 link-break,文章列表需要修改分类查询的参数为 |
Quality Gate passedIssues Measures |
Signed-off-by: Ryan Wang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Signed-off-by: Ryan Wang <[email protected]>
/ping @halo-dev/sig-halo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
What type of PR is this?
/kind feature
/area core
/milestone 2.17.x
What this PR does / why we need it:
此次变更为文章分类引入了一个新的
preventParentPostCascadeQuery
布尔属性,用于控制分类及其子分类下的文章显示方式。具体变更包括:preventParentPostCascadeQuery
属性。preventParentPostCascadeQuery
属性设置为true
时,该分类的文章数量不会汇总到父分类中。preventParentPostCascadeQuery
属性的处理。preventParentPostCascadeQuery
属性的功能性。Which issue(s) this PR fixes:
Fixes #5663
Fixes #4923
Fixes #3418
Does this PR introduce a user-facing change?