Currently selected Segment should be displayed in bold · Issue #6961 · matomo-org/matomo · GitHub
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

Currently selected Segment should be displayed in bold #6961

Closed
jantlwoomy opened this issue Jan 9, 2015 · 1 comment
Closed

Currently selected Segment should be displayed in bold #6961

jantlwoomy opened this issue Jan 9, 2015 · 1 comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Milestone

Comments

@jantlwoomy
Copy link
Contributor

Currently selected Segment is not highlighted.
How to reproduce:

  1. Create new Segment: name - Not Users, Metric: User ID, Match: Is, Value: Empty string
  2. Click at the Segment drop-down.

Expected result: Not users should be highlighted with bold.
Actual result: Not users is the same as All visits (default)

There is two reasons:

  1. CSS selectors
  2. Incorrect JS in the Google Chrome that doesn't add "segmentSelected" class to the list item.

Please see https://github.com/jantlwoomy/piwik/compare/selected_segment_css#diff-e43aeb1ad6d1b908a927966027b16135L682

@sgiehl
Copy link
Member

sgiehl commented Jan 9, 2015

Feel free to create a pull request

@mattab mattab added this to the Piwik 2.11.0 milestone Jan 10, 2015
@mattab mattab added the c: Usability For issues that let users achieve a defined goal more effectively or efficiently. label Jan 10, 2015
@mattab mattab closed this as completed Jan 10, 2015
@mattab mattab changed the title Selected Segment style Currently selected Segment should be displayed in bold Feb 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Projects
None yet
Development

No branches or pull requests

3 participants