halo icon indicating copy to clipboard operation
halo copied to clipboard

feat: add scheduled post publishing feature

Open guqing opened this issue 1 year ago • 4 comments

What type of PR is this?

/kind feature /area core /milestone 2.16.x

What this PR does / why we need it:

新增文章定时发布功能

Which issue(s) this PR fixes:

Fixes #4602

Does this PR introduce a user-facing change?

新增文章定时发布功能

guqing avatar May 17 '24 08:05 guqing

@ruibaby 帮忙适配一下 Console 文章发布,添加定时发布选项并在文章列表条件过滤里加入”计划发布”或“定时发布”之类的筛选条件

guqing avatar May 17 '24 08:05 guqing

Codecov Report

Attention: Patch coverage is 58.82353% with 21 lines in your changes are missing coverage. Please review.

Project coverage is 56.79%. Comparing base (5fdf6c0) to head (579cc0a). Report is 196 commits behind head on main.

Files Patch % Lines
.../app/core/extension/reconciler/PostReconciler.java 56.75% 10 Missing and 6 partials :warning:
...un/halo/app/event/post/PostScheduledToPublish.java 0.00% 4 Missing :warning:
...halo/app/core/extension/endpoint/PostEndpoint.java 90.00% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5940      +/-   ##
============================================
- Coverage     56.91%   56.79%   -0.12%     
- Complexity     3319     3503     +184     
============================================
  Files           587      613      +26     
  Lines         18968    20575    +1607     
  Branches       1401     1422      +21     
============================================
+ Hits          10795    11686     +891     
- Misses         7594     8308     +714     
- Partials        579      581       +2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 17 '24 08:05 codecov[bot]

Codecov Report

Attention: Patch coverage is 63.82979% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 56.74%. Comparing base (5fdf6c0) to head (7e80d7a). Report is 199 commits behind head on main.

Files Patch % Lines
.../app/core/extension/reconciler/PostReconciler.java 56.75% 10 Missing and 6 partials :warning:
...halo/app/core/extension/endpoint/PostEndpoint.java 90.00% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5940      +/-   ##
============================================
- Coverage     56.91%   56.74%   -0.18%     
- Complexity     3319     3491     +172     
============================================
  Files           587      611      +24     
  Lines         18968    20539    +1571     
  Branches       1401     1421      +20     
============================================
+ Hits          10795    11654     +859     
- Misses         7594     8304     +710     
- Partials        579      581       +2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar May 24 '24 04:05 codecov-commenter

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang, wzrove

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[bot] avatar May 24 '24 04:05 f2c-ci-robot[bot]