halo icon indicating copy to clipboard operation
halo copied to clipboard

fix: add a upvote statistics widget to the dashboard

Open qweasd50 opened this issue 1 month ago • 3 comments

What type of PR is this?

/kind feature

What this PR does / why we need it:

将StatsEndpoint的所有资源展现在仪表盘中,包括已统计但未展示的点赞数量

Which issue(s) this PR fixes:

Fixes #7347

Special notes for your reviewer:

NONE

Does this PR introduce a user-facing change?

仪表盘中加入点赞量小部件

qweasd50 avatar Dec 05 '25 09:12 qweasd50

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: ruibaby
:x: qweasd50
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Dec 05 '25 09:12 CLAassistant

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruibaby

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 Dec 22 '25 10:12 f2c-ci-robot[bot]

@qweasd50 需要在 https://github.com/halo-dev/halo/pull/7990#issuecomment-3615936692 签署 CLA 才能进行合并。

ruibaby avatar Dec 22 '25 10:12 ruibaby

Open in StackBlitz

@halo-dev/api-client

npm i https://pkg.pr.new/@halo-dev/api-client@7990
@halo-dev/components

npm i https://pkg.pr.new/@halo-dev/components@7990
@halo-dev/richtext-editor

npm i https://pkg.pr.new/@halo-dev/richtext-editor@7990
@halo-dev/ui-shared

npm i https://pkg.pr.new/@halo-dev/ui-shared@7990
@halo-dev/ui-plugin-bundler-kit

npm i https://pkg.pr.new/@halo-dev/ui-plugin-bundler-kit@7990

commit: f29002a

pkg-pr-new[bot] avatar Dec 22 '25 10:12 pkg-pr-new[bot]

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 60.77%. Comparing base (42c374d) to head (f29002a). :warning: Report is 333 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7990      +/-   ##
============================================
+ Coverage     59.55%   60.77%   +1.21%     
- Complexity     3812     3947     +135     
============================================
  Files           677      692      +15     
  Lines         23248    23527     +279     
  Branches       1500     1525      +25     
============================================
+ Hits          13846    14298     +452     
+ Misses         8764     8503     -261     
- Partials        638      726      +88     

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Dec 22 '25 10:12 codecov[bot]