feat:added additional projects
Perfect Praveena
Here’s the improved version
✅ Merge Request Title
Add Assigned Open Issues Count to User Dashboard
🚀 What does this MR do?
This merge request introduces an Assigned Open Issues Count feature in the User Profile Dashboard of the GitLab Compliance Checker.
Previously, the dashboard displayed only issues authored by the user. With this enhancement, the system now also tracks and displays:
-
✅ Total Open Issues Assigned to the User -
✅ Real-time count using GitLab Issues API -
✅ Accurate workload visibility per user
This provides a more comprehensive view of user responsibilities across GitLab projects.
🎯 Why is this change needed?
In GitLab workflows, users may:
- Author issues
- Be assigned to issues
- Review merge requests
- Collaborate across multiple projects
Tracking only authored issues does not accurately reflect actual task ownership.
By integrating assigned issue tracking, this update:
- Improves workload transparency
- Enhances compliance tracking accuracy
- Supports better performance monitoring
- Aligns dashboard metrics with GitLab’s UI
🔧 Technical Implementation
- Used GitLab Issues API
- Applied
assignee_usernamefilter - Filtered issues by
state=opened - Added backend logic in user profile module
- Updated Streamlit UI to display assigned issue count
- Implemented error handling for API failures
- Ensured no performance impact on existing metrics
📚 References
-
Feature Request: Assigned Issues Tracking in User Dashboard
-
GitLab Issues API Documentation
-
assignee_usernamefilter -
state=openedparameter
-
🖼 Screenshots
| Before | After |
|---|---|
| Dashboard showing only Authored Issues | Dashboard showing Authored + Assigned Open Issues |
🧪 How to Set Up & Validate Locally
1️⃣ Checkout Feature Branch
git checkout feature/assigned-issues-count
2️⃣ Install Dependencies
pip install -r requirements.txt
3️⃣ Set GitLab Token
export GITLAB_TOKEN=<your_personal_access_token>
4️⃣ Run the Application
streamlit run app.py
5️⃣ Validate
-
Login with a valid GitLab username
-
Confirm:
- Assigned Open Issues count is displayed
- Count matches GitLab Web UI
- No errors appear in console
- Existing metrics remain unaffected
✅ MR Acceptance Checklist
-
Code follows project structure and naming conventions -
Feature implemented and tested locally -
No breaking changes introduced -
Proper API error handling implemented -
UI updated consistently with dashboard design -
Documentation updated