Wrong tooltip for Live visitors button #7474
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Help wanted
Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Milestone
The live visitors button is a combined state/action button. I know that this kind of buttons cannot be done right, because some people associate the current state with the icon while others associate the possible action with the icon (we once hat that in a project for phone take off/hang up and changed the semantics at least a dozen times, depending on whom we talked to last at the customer).
Piwik has chosen the "action" approach. So when live tracking has been started, the button shows the pause icon, because clicking the button (the action) pauses live tracking. (This is contrary to your favourite smart phone MP3 player, right? It will show the run icon when it's playing and the pause icon when it's paused.) You can do this, of course.
The problem is that the tooltips are wrong. When the pause icon is shown, the tooltip is "Start Live!", but when you click on the icon it will actually stop live. When the "Running" icon is shown, the tooltip is "Pause Live!", but clicking will actually start live.
The text was updated successfully, but these errors were encountered: