Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evolution graphs: "Change period" feature to show historical up to the very last period within the selected date range #14149

Closed
mattab opened this issue Mar 1, 2019 · 0 comments · Fixed by #16638
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Mar 1, 2019

The "Change Period" feature in #13501 does not work fully as expected.

Use case reproduced:

  • Select period = year, and select a date in 2018 (for example clicking on a day in february 2018)
  • Matomo calendar shows 2018 indicating the reports will show data for the year of 2018 Jan 1st->Dec 31st (that's how Matomo works)
  • Visitors > Overview > Evolution graphs shows Years by default and shows the last 5 years including 2018
  • Now below this evolution graph, select "Change period" and select "Week"
  • Got: the calendar shows the last 26 weeks from the selected date in February 2018
  • Expected: the calendar shows the last 26 weeks from the last week of the selected period ie. the week Dec 30th 2018 -> Jan 5th 2019.

Similarly:

  • when users look at the "Month of March 2019"
  • and then select "Change period: week" in the calendar,
  • they expect to see the last 26 weeks before the week of "31st March -> 6th April",
  • and don't expect to see, for example, the graph ending on the week of March 2nd (which is possible if you happened to click on that day in the calendar).

The evolution graph shouldn't depend on which day you've clicked in the calendar (but should depend on the whole date range/period, consistent with how date/period and calendar works in Matomo).

Changing the behaviour to showing Evolution graph ending on the end of the selected period will help make this feature more useful and predictable (reduce confusion and possible frustration when trying to generate a simple evolution graph) 👍

@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. labels Mar 1, 2019
@mattab mattab added this to the 3.11.0 milestone Mar 1, 2019
@mattab mattab changed the title Evolution graphs: "Change period" feature should show the selectec periods within the current date range Evolution graphs: "Change period" feature to show historical value before the last period of the date range Mar 1, 2019
@mattab mattab changed the title Evolution graphs: "Change period" feature to show historical value before the last period of the date range Evolution graphs: "Change period" feature to show historical up to the very last period within the selected date range Mar 1, 2019
@tsteur tsteur modified the milestones: 3.13.0, 4.1.0 Jul 31, 2019
@diosmosis diosmosis self-assigned this Oct 31, 2020
@mattab mattab modified the milestones: 4.1.0, 4.2.0 Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants