This adds a 'Stats' button showing a area graph of the number of opened issues on the project over the last year grouped per week.
Fixes https://pagure.io/pagure/issue/2658
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
rebased onto 5cbb70d0324d9959266f4556520e8b4a699e882b
Why 2 versions of d3 in pagure?
One is for this graph, we need to test the calendar heatmap to see if it works with this new version, which I didn't do here :)
I recommend storing only one of the two copies of the d3 library. It might be good to note d3's license somewhere in Pagure's docs as well.
LGTM!
rebased onto 9e47cbf31663ce686bc8728ad7201727d7c7b558
Alright, I double checked this morning but cal-heatmap doesn't work with d3 v4 (https://github.com/wa0x6e/cal-heatmap/blob/master/bower.json#L13)
I could try to make this feature work with d3 v3 but the code to handle date/time is really much nicer in v4 :(
Thoughts?
rebased onto 2d77c8c0debbb0cca2b71514b7937f748575fb8d
@pingou I would not stick to using old version. Once heatmap is ready for v4, migrate. For now ship both version. My 5 :dollar:
There is a PR opened to port cal-heatmap to d3.v4: https://github.com/wa0x6e/cal-heatmap/pull/225 but it's almost 1 year old and seems to not have any comment from the main developers :(
Alright, let's go with two d3 versions :(
Thanks for the review!
rebased onto cd34fbd2639a1049bb406c6f641a0e79ffe77fbe
Pull-Request has been merged by pingou
This adds a 'Stats' button showing a area graph of the number of opened
issues on the project over the last year grouped per week.
Fixes https://pagure.io/pagure/issue/2658
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr