T239598 : Allow users to customise data granularity for edits over time graph#55
Conversation
|
with reference to T207846 : Encode 4-byte unicode properly. |
|
Thanks! Can you split these tasks out into two different pull requests please? |
added the commit to another pull request
|
@Samwalton9 , moved the task T207846 : Encode 4-byte unicode properly to another pull request. Thanks |
Samwalton9
left a comment
There was a problem hiding this comment.
Looking good! I just have one question about some code that I didn't entirely understand :)
|
Overall it is looking good! Also could you please modify the CSV download view as per the graphs? Currently it gives edits per day irrespective of the view type. |
|
@Jain-Aditya I have added the CSV functionality and also added tests for the same. |
|
Thanks! I see there is lot of code repeated in the |
|
Great idea ! I will try to implement it. Thanks. |
|
Implemented the code refactor. |
hashtagsv2/graphs/views.py
Outdated
| writer = csv.writer(response) | ||
| writer.writerow([ | ||
| # Translators: Date on which edit is made. | ||
| _('Date'), |
There was a problem hiding this comment.
Just a small change and it will be good to go. CSV header should also be changed to month, date and year accordingly.
|
Looking good! thanks @sanyam-git for your valuable work on this task. |


with reference to T239598
work don :