(SR NO- 9) Enhance Dashboard and UI with Real-Time GitHub Data Metrics, optimized API Calls and enriched Github Stats Response #44
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 pull request significantly improves our analytics dashboard by integrating real-time GitHub repository data fetched through our FastAPI backend. What I did here,
->Implemented repository input page: Added a dedicated front page for DevrAI, allowing users to input a GitHub repository URL for analysis. (UI improvements can be considered for a better user experience.)
-> Replaced hardcoded statistics with live GitHub data: Integrated real-time metrics, including contributors, pull requests, issues, and code activity, providing dynamic insights into repository health.
Contributors Section
Dashboard (Updated the Open PRs and Active contrbutors section to take the data dynamically)
PullRequests : Fetched all the states of the PR with the author
->Updated charts and graphs to dynamically render based on fetched data
->Minimized API calls by centralizing data fetching and distributing it across components, improving overall application responsiveness.
->Enriched the JSON response with additional repository metrics, ensuring comprehensive analytics. (If anyone wants to refine the UI or improve the graphical representation, feel free to contribute.)
Updated Data ->
response_1742200242697.json
-> Merged the latest codes from the frontend and backend repositories, which we were not having from the previous PRs.
-> Adjusted the environment configuration file to align with the current backend architecture.
@chandansgowda , Please take a look :)
✅ Checklist