-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add widget to help users getting started and complete important steps with Matomo #12468
Conversation
@tsteur is this still a WIP or is it ready to review now? |
It is WIP |
@mattab can you have a look at it? I can add some challenges to Custom Dimensions, Custom Alerts, and other premium features once this has been merged. |
ping @mattab |
@diosmosis can you please review this quickly and merge if it looks good to you? Be good to get it out in 3.10.0 and test it and get early feedback 👍 |
Tour_MatomoTalent is missing a translation. |
Noticed Tour is not enabled in an update. This is expected, correct? |
Small issue, doesn't seem simple to fix: when clicking on a tour task, a new tab is opened. When the task is finished, we don't go back to the dashboard nor does the widget in the dashboard update w/ a check mark. This might be confusing to new users. |
|
||
public function getUrl() | ||
{ | ||
return 'index.php' . Url::getCurrentQueryStringWithParametersModified(array('module' => 'CoreAdminHome', 'action' => 'generalSettings', 'widget' => false)) . '#useCustomLogo'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Angular turns '#useCustomLogo' into '#/useCustomLogo', so it doesn't go to the correct section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any thoughts on how to fix this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hacky fix might be on page load to check if the hash has no query parameter characters (ie, only the leading '/'), check if there's an element w/ that string as an ID, and if so scroll to it. Not sure how else to do it since the hash is used by angular...
Could use a special query parameter too instead of the hash, like, scrollTo=myelement
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use a special query parameter too instead of the hash, like, scrollTo=myelement.
This might be sometimes tricky when other elements are only loaded later through XHR and then rendered later by the time we already long processed scrollTo
parameter.
Seems #/#useCustomLogo
works. Can you confirm?
|
||
use Piwik\Piwik; | ||
|
||
class ChallengeSelectDateRange extends Challenge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I select a date range in the dashboard, the page will reload, but the task won't be finished in the widget. If I reload the widget, it will show as finished.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's kind of expected unfortunately, hard to fix and not worth it spending too much time on it.
Found some issues while testing, code looks ok but I didn't have time to look thoroughly. |
I'll listen to window focus and update the widget in that case. Fixed all the other issues you mention including translation, update, ... Except for the link to #customLogo . |
👍 nice idea, super simple |
one more product related comment: I think there's an issue w/ referring to the user as beginner/expert, since that implies we're teaching them about analytics, not just where certain features in the app are. Eg, adding a goal doesn't necessarily mean the user knows how best to use one, and a user will know that when we call them an expert. Either the tour is something like "here are some of matomo's most useful features/here is how to get the most out of matomo" or "here is how you use this tool to better your business (and be an expert in analytics)" which is a much harder thing to deliver. |
It's certainly meant more for "Here are some of matomo's most useful features/here is how to get the most out of matomo". That's why I was prefixing expert etc with "Matomo Expert" and "Matomo Professional" and "Matomo Beginner"... and not just "Professional" or "Analytics Professional". Does this maybe help? |
"Expert" just suggests the user will be an expert in using matomo after doing those tasks, and I doubt anyone new to the tool will actually feel that way. Which may not be the best experience. |
Great feature and looking forward to seeing it help people get started complete the most important steps! 👍 Agreed that the naming is currently not ideal, and we'll likely change the names of the levels soon. But will merge already so we can proceed with the release, and will create a new issue once I can think of better names (any suggestion welcome!). |
Have generated expected files for the system tests. |
@tsteur could you investigate this build failure:
I will merge anyway in the meantime |
refs #12467