Feature: Stats card: Show merged PRs count and percentage (#3003)

* Feature: Stats card: Show merged PRs count and percentage

* dev

* dev

* renames
This commit is contained in:
Alexandr Garbuzov
2023-08-14 02:18:57 +03:00
committed by GitHub
parent 135176f073
commit a258b29db5
9 changed files with 140 additions and 7 deletions
+3
View File
@@ -13,6 +13,8 @@ const stats = {
totalCommits: 200,
totalIssues: 300,
totalPRs: 400,
totalPRsMerged: 320,
mergedPRsPercentage: 80,
totalReviews: 50,
totalDiscussionsStarted: 10,
totalDiscussionsAnswered: 40,
@@ -41,6 +43,7 @@ const data_stats = {
totalPullRequestReviewContributions: stats.totalReviews,
},
pullRequests: { totalCount: stats.totalPRs },
mergedPullRequests: { totalCount: stats.totalPRsMerged },
openIssues: { totalCount: stats.totalIssues },
closedIssues: { totalCount: 0 },
followers: { totalCount: 0 },