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

Shows icon to disable/enable Zen Mode #12459

Merged
merged 11 commits into from Jan 19, 2018
Merged

Conversation

ryyee99
Copy link
Contributor

@ryyee99 ryyee99 commented Jan 17, 2018

@mattab mattab self-requested a review January 17, 2018 23:21
Copy link
Member

@mattab mattab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your pull request @ryyee99 !

Code review & Feedback

  • Hide the icon in the mobile view (and possibly tablet view)
  • Add a tooltip on the icon when hovered Enter Zen mode (hide the menus), and Exit Zen mode (show the menus)
  • Show the icon in the admin screen screen as well (currently the icon is not visible in admin screen)

Copy link
Member

@Findus23 Findus23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, you may want to make the styling a bit more similar to the other buttons.
Take a look at the piwikSelector,borderedControl and title classes.

@Findus23 Findus23 added 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. labels Jan 18, 2018
@mattab mattab added this to the 3.3.1 milestone Jan 18, 2018
@mattab mattab merged commit 463f6bb into matomo-org:3.x-dev Jan 19, 2018
@Findus23
Copy link
Member

I'd still recommend to add a padding to the button. At the moment it's really hard to hit the button as it's only 10x16 pixel large.

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 this pull request may close these issues.

None yet

3 participants