hpi-epic / repositoryguide

Guiding you in exploring your team's Git(Hub) repository
MIT License
1 stars 1 forks source link

Implemented data functions for commit heatmap by sprint/team #33

Closed SanJSp closed 3 years ago

SanJSp commented 3 years ago

Partly implements #25

Changes

This PR introduces 2 new data functionalities. Now it is possible to filter the commits by team members and furthermore the data can now be separated by sprints. The data looks as follows

Without sprint segmentation ```json [ { "label": "Sprint 0", "value": [ { "x": 0, "y": 0, "v": 0 }, ... { "x": 23, "y": 6, "v": 0 } ] }, { "label": "Sprint 1", "value": [...] }, {...}, {...}, { "label": "Sprint not within sprint", "value": [...] } ] ```
Without sprint segmentation ```json [ { label: "Sprint 0", value: [ { "x": 0, "y": 0, "v": 0 }, ... { "x": 16, "y": 4, "v": 47 }, ... ] } ] ```

Checklist before merge

Developer's responsibilities

SanJSp commented 3 years ago

FYI: @chrisma because there is further refactoring done by @LucPrestin in #23 regarding the selection and displaying of the metrics, the visualization of the commit heatmap by sprint will be implemented by him