feat:Add overall MR report table and today's MR summary
What does this MR do?
his merge request enhances the User Profile Overview dashboard by adding comprehensive merge request (MR) analytics and reporting.
Key Improvements:
- Added overall MR statistics: Opened, Closed, Merged, and Total.
- Added project-wise MR detailed report table showing:
- Project Name
- MR Title
- MR Status
- MR URL
- Added a separate Today’s MR Activity Summary table including:
- Today Opened MRs
- Today Closed MRs
- Today Merged MRs
- Today Total MRs
These improvements provide complete visibility into user contributions and activity trends.
Before:
After:
Motivation / Use Case
Team leads, mentors, reviewers, and managers need clear, actionable insights into developer contributions.
This feature enables:
-
📈 Performance tracking -
🔍 Transparent contribution monitoring -
📊 Easy reporting and auditing -
🛡 ️ Compliance tracking
This directly supports managerial review processes and compliance requirements.
Implementation Notes
Approach Taken:
- Integrated GitLab API to fetch:
- Overall MR counts
- Project-wise MR details
- Today's MR activity
- Aggregated MR data efficiently.
- Displayed metrics and reports using Streamlit components.
- Designed responsive tables for better UX.
🎨 Design Decisions
- Clean, modular, and readable UI.
- Used metrics + tabular format for clarity.
- Optimized API calls to minimize latency and improve performance.
- Separated overall MR stats and today’s activity for better analysis.
⚠ ️ Breaking Changes / Backward Compatibility
How to Test
-
Pull this branch:
git checkout feature/open-mrs-count git pull origin feature/open-mrs-count -
Install dependencies:
pip install -r requirements.txt -
Run the application:
streamlit run app.py -
Navigate to:
Mode → User Profile Overview -
Enter a valid GitLab username / user ID / profile URL.
-
Verify:
- Projects count
- Groups count
- Open / Closed / Total MR metrics
- Project-wise MR report table is displayed correctly
- Today's MR activity summary table
Checklist
-
Feature is documented (in README or relevant doc files) -
Code is clean, readable, and follows the project style -
No breaking changes (or documented if there are) -
Tests are added or updated -
Feature works as intended in local testing
Related Issues or Discussions
IssueOpen Merge Requests (MRs) Count Feature for User Profile

