CoronaTeam / CoronaGame

Software Development Project 2020
3 stars 0 forks source link

Feature/see paths of last two days #173

Closed lucieho closed 4 years ago

lucieho commented 4 years ago

In the map tab, the user can now click on the history button (bottom right). 3 Other buttons appear: if you click on one of the 2 first ones, you'll see the path you made on the corresponding day (yesterday or before yesterday). The 3d one shows history path. If you have no path, then nothing happens. If you have a path and you met other infected users on that path, they are shown on the path (as explained in the branch Feature/user paths).

lucieho commented 4 years ago

Alright! Thought we wanted to display a history graph here. I'll remove it

lucieho commented 4 years ago

Seems like it's the "toDelete" HistoryDialogFragment that reduces code coverage, otherwise, PathsHandler went from B to A on code climate, so all good.

codeclimate[bot] commented 4 years ago

Code Climate has analyzed commit 113e7314 and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2
Duplication 2

The test coverage on the diff in this pull request is 93.2% (80% is the threshold).

This pull request will bring the total coverage in the repository to 75.0% (-0.2% change).

View more on Code Climate.