Integrate Team Contribution Mapping with Date Range Analytics and UI Enhancements
What does this MR do and why?
This MR integrates multiple feature branches into a consolidated enhancement for the GitLab Compliance & Analytics Tool.
Major updates included:
- Introduced Team-based Contribution Mapping over a selected date range.
- Integrated UI Date Range selector improvements.
- Connected enhanced GitLab API layer for accurate contribution fetching.
- Integrated Analytics Engine for calculating:
- Total contributions
- Active days
- Consistency %
- Collaboration %
- Renamed "Batch Users" to "Team Contribution Mapping".
- Removed unused features:
- CSV Upload option
- Compare Two Users mode
- Improved UI clarity and simplified analytics flow.
This integration delivers a cleaner, more professional productivity analysis experience suitable for hackathon demonstration and real-world team insights.
References
- feature/ui-date-range
- feature/gitlab-api
- feature/analytics-engine
- feature/contributions-mapping-date-range
Screenshots or screen recordings
Screenshots included showing:
- Updated Team Contribution Mapping UI
- Date range selection
- Summary table output
- Contribution charts visualization
| Before | After |
|---|---|
| Batch Users Contribution Mapping with CSV & Compare options | Team Contribution Mapping with simplified manual input |
| Multiple analysis modes | Clean Team-based analysis |
| Separate feature branches | Fully integrated analytics + UI + mapping |
How to set up and validate locally
-
Checkout the integration branch: git checkout feature/contributions-mapping-date-range
-
Install dependencies: pip install -r requirements.txt
-
Run the Streamlit app: streamlit run app.py
-
Navigate to:
- Contribution Mapping
- Enter team usernames (comma-separated or one per line)
- Select Start Date and End Date
- Click Run Analysis
-
Validate:
- Summary table renders correctly
- Contribution charts load successfully
- CSV upload option is removed
- Compare Two Users option is removed
- Analytics metrics match GitLab activity
MR acceptance checklist
-
All feature branches merged successfully -
No unresolved merge conflicts -
UI tested locally -
GitLab API integration verified -
Analytics calculations validated -
No breaking changes introduced -
Application runs without runtime errors -
Naming consistency maintained
This MR has been evaluated to ensure quality, reliability, performance, and maintainability.
laxmanreddypatlolla
Worked by:
- Abhilash
- Laxman Reddy
- Swarna
Edited by Laxman Reddy




