Describe the solution you'd like
Enhance the OWASP Nest GitHub App user model by adding a contributions_count field and populating it during the data sync process. This field will reflect the total contributions of a user and replace the existing statistics display on the user details page.
Tasks
-
Model Update
-
Indexing Update
- Modify the indexing mixin to use the pre-calculated
contributions_count field instead of recalculating it dynamically.
-
Frontend Update
- Update the user details page to display
contributions_count in the Statistics section.
- Replace the current statistics related to issues/releases with this new field.
Acceptance Criteria
- The
contributions_count field is added to the User model and populated during sync.
- The index mixin uses this field instead of recalculating contributions.
- The user details page displays
contributions_count in the Statistics section.
- Tests added/updated for the new functionality
Additional Notes
- Ensure proper migration is created for adding
contributions_count.
- Validate that sync updates contributions correctly.
- Test the UI update to confirm proper rendering.
Are you going to work on implementing this?
Describe the solution you'd like
Enhance the OWASP Nest GitHub App user model by adding a
contributions_countfield and populating it during the data sync process. This field will reflect the total contributions of a user and replace the existing statistics display on the user details page.Tasks
Model Update
Add
contributions_countfield to theUsermodel.Populate this field during the data sync process using the same logic as:
Indexing Update
contributions_countfield instead of recalculating it dynamically.Frontend Update
contributions_countin the Statistics section.Acceptance Criteria
contributions_countfield is added to theUsermodel and populated during sync.contributions_countin the Statistics section.Additional Notes
contributions_count.Are you going to work on implementing this?