Add reusable TimeBased chart with transformer and tests#101
Open
dhyana6466 wants to merge 3 commits intomainfrom
Open
Add reusable TimeBased chart with transformer and tests#101dhyana6466 wants to merge 3 commits intomainfrom
dhyana6466 wants to merge 3 commits intomainfrom
Conversation
Collaborator
|
Would you be able to use the PR template found in the .github folder? You can just edit your response so you dont need to completely resubmit your PR |
Collaborator
|
hi @dhyana6466 would you be able to use the PR template? it is located in the .github folder |
Collaborator
|
Hi @dhyana6466 , would you be able to test/show the output when both Time To Merge and Time To Close are displayed? |
Collaborator
Author
DONE!!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a reusable TimeBased chart component to visualize time-based metrics collected from the Python data collection script. The chart is designed to be configurable through props so it can be reused across different pages, including the Home page (organization-wide averages) and the Team Stats page (filtered by repository or user).
A utility function was added to transform the raw test_data.json into a chart-friendly format, keeping data logic separate from rendering. Unit tests were also added to verify that the chart renders correctly for the required use cases.
Fixes #86
Type of change
How Has This Been Tested?
Test Configuration:
Checklist:
Screenshot of Output