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

Ensure first sparkline is highlighted after switching periods in row evolution overlay #14212

Merged
merged 1 commit into from Mar 28, 2019

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Mar 16, 2019

When switching the periods in the evolution chart in the row evolution overlay, the selected metrics are unset. If another metric than the first one was selected at this point, no metric is highlighted in the sparkline list below afterwards.

Note: This is just a quick fix for the current behavior. Imho it would be a lot better to actually restore the selected metrics when switching the period

refs #14208

@sgiehl sgiehl added c: Design / UI For issues that impact Matomo's user interface or the design overall. Needs Review PRs that need a code review labels Mar 16, 2019
@sgiehl sgiehl added this to the 3.10.0 milestone Mar 18, 2019
@diosmosis diosmosis modified the milestones: 3.11.0, 3.10.0 Mar 18, 2019
@diosmosis
Copy link
Member

As far as I can tell, this doesn't actually fix the bug, right? If I click on Unique Visitors, for example, it will still show the actions series:

image

Not sure what this PR is supposed to fix?

@sgiehl
Copy link
Member Author

sgiehl commented Mar 20, 2019

that PR only fixes a highlight issue, When you choose to display not the first metric and switch the periods all metric sparklines will be not highlighted afterwards. With this PR the first sparkline should be highlighted again

@diosmosis
Copy link
Member

I see, looks good.

@sgiehl sgiehl merged commit 4d6d98b into 3.x-dev Mar 28, 2019
@sgiehl sgiehl deleted the rowevolutionhighlight branch March 28, 2019 07:52
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. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants