Closed Qisheng-Tang closed 5 years ago
This issue may be the most difficult one. We will figure out other issues first.
We just fixed this on lines changed per week and month graphs so now they display the correct end date. Still working on commits per week graph as it is now blank after these changes.
Commits per week is up but not displaying correctly.
All graphs are up and display the date correctly.
In order to fix the issue we needed to add a function to reformat the date variable so that it can be accepted by Vega Lite. This is the solution we came up with:
This issue was assigned too and worked on by all three group members. Gabe sat down with us and walked us through how this function should we implemented, and then we all worked together to get it to work.
This is how the new date is formatted in the API Endpoint for "commits per week". The other endpoints now format their data very similar to this.
Is your feature request related to a problem? If so, please describe the problem: Two statistic graph in our software do not show correct end date.
To Reproduce
Expected Behavior The end date should be when the repository update recently.
Screenshots
Desktop (please complete the following information): -OS: Mac OS 10.14.4 -Browser: Safari
Describe the solution you'd like: A clear and concise description of what you want to happen. We hope to fix this bug so that the date can be shown in a regular year
Solution We will try to modify our code to solve this problem. We will try to modify 'DynamicLineChart.vue'