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

Show periods labels in the evolution graphs to make it easier to change period #15021

Closed
mattab opened this issue Oct 18, 2019 · 5 comments · Fixed by #17456
Closed

Show periods labels in the evolution graphs to make it easier to change period #15021

mattab opened this issue Oct 18, 2019 · 5 comments · Fixed by #17456
Assignees
Labels
c: Design / UI For issues that impact Matomo's user interface or the design overall. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Oct 18, 2019

Since #955 and #13689 Evolution graphs show a button to switch the display of historical data by day, week, month or year, it looks like this:

EvolutionGraph_periods_list

The feature is a little hidden. Be great to make it easier to discover this feature.

Thoughts:

  • we show the buttons always on the graph? Something like this:
    2-no-constancy

  • or maybe the current selected period could be displayed as text next to the icon at the bottom right, so it more clearly appears as clickable?

@mattab mattab added c: Usability For issues that let users achieve a defined goal more effectively or efficiently. c: Design / UI For issues that impact Matomo's user interface or the design overall. labels Oct 18, 2019
@mattab mattab added this to the 4.1.0 milestone Oct 18, 2019
@mattab mattab modified the milestones: 4.1.0, 4.2.0 Dec 21, 2020
@mattab mattab modified the milestones: 4.2.0, 4.3.0 Feb 22, 2021
@flamisz
Copy link
Contributor

flamisz commented Apr 8, 2021

Hi @mattab,
how do you feel about putting it under the graph, like in the middle. This is probably the quickest way, but of course it can be on the top right, but probably takes more time.

Screen Shot 2021-04-08 at 3 31 25 PM

This would be visible every time (not just when hovered) and of course would be better formatted with css.

@flamisz flamisz self-assigned this Apr 8, 2021
@mattab
Copy link
Member Author

mattab commented Apr 9, 2021

@flamisz I reckon we might not want to show all the 4 states at all times (too much info/pixels). But showing the text label of the current state, will "hint" users that other states are available (and which one they're currently looking at).

maybe we could try to move the icon to the right, and adding the text label on the right of the icon, like roughly on this mockup, could work? No idea if it will feel right but it might. Then on hover the icon+text would have the colored background. And show the select list on hover.

edited Screenshot from 2021-04-09 17-35-28

@flamisz
Copy link
Contributor

flamisz commented Apr 11, 2021

thanks @mattab, I can make today a quick change, so you can see it feels. I'll let you know when it's ready.

@flamisz
Copy link
Contributor

flamisz commented Apr 12, 2021

@mattab this is a short video how could it look like:

Screen.Recording.2021-04-12.at.9.24.45.PM.mov

simple change in the less file and adding some styles.

@mattab
Copy link
Member Author

mattab commented Apr 12, 2021

Nice! it looks good to me.
(would write the label like the submenu font: same size, and case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Design / UI For issues that impact Matomo's user interface or the design overall. 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.

2 participants