Closed AlexSim93 closed 1 week ago
The changes introduce new properties to the PullRequestTimelineInfo
type and modify the return structure of the preparePullRequestTimeline
and createTotalTable
functions. Specifically, sizePoints
, additions
, and deletions
are added to enhance metrics related to pull requests. The createTotalTable
function has been updated to return a concatenated string of a table and a list of pull requests, sorted by sizePoints
. These modifications aim to improve the data handling and presentation of pull request metrics.
File Path | Change Summary |
---|---|
src/converters/types.ts | Added sizePoints , additions , and deletions properties to PullRequestTimelineInfo type. |
src/converters/utils/preparePullRequestTimeline.ts | Modified preparePullRequestTimeline function to include sizePoints , additions , and deletions in the return object; reformatted existing time metrics. |
src/view/utils/createTotalTable.ts | Updated createTotalTable function to return an array containing results from createTable and createList ; introduced sorting and limiting of pull requests based on sizePoints . |
Objective | Addressed | Explanation |
---|---|---|
Add optional list of TOP_LIST_AMOUNT of SIZE (xs/s/m/l/xl) PRs (#52) | ✅ |
🐰 In the meadow, where the PRs grow,
New metrics sparkle, a delightful show!
With sizePoints added, and lists that gleam,
Our coding journey flows like a dream.
Hop along, dear friends, let’s celebrate,
For every small PR, we elevate! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Pull Request
Description
Added list with the largest PRs.
Related Issue(s)
Type of Change
Checklist:
Summary by CodeRabbit
New Features
sizePoints
,additions
, anddeletions
.Bug Fixes
Refactor