-
Improvement
-
Resolution: Fixed
-
Blocker
-
3.11.2, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-72385-master -
-
0
-
HQ Team International Sprint 9, HQ Team International Sprin 10, HQ Team International CI H2-21
As part of Moodle 4.0 we are working on a new onboarding experience. This includes some changes to how the user tour modals look and work.Â
The work done to update the user tour modal as part of this issue should be captured in the component library.
Specification to follow
Â
â
Â
Moodle 4.0 user tours redesign
Structure
AFAIK, current user tours use the âmodalâ bootstrap component which is great for dialogues boxes but offers too many UI elements for simple and elegant user tours. I suggest using the âmodalâ component as the base to create our own âuser tour boxâ component.
This is what, IMO, we should and should not change when creating a new component âuser tour boxâ when comparing it to the bootstrap âmodalâ component. đ
Width
The new user tours have a width of 400px instead of the current 500px existing ones. This smaller size just seems more friendly to users and allows us to display images with a better proportion ratio. However, Iâm not sure if this should be a rule since user tours are also displayed in the middle of the screen on different occasions.
Maybe we could set a rule for its size, or it should be customisable? đ¤
Now it looks like this:
It could look like this:
Borders
For a cleaner look, we should drop the borders that separate the title, content and buttons.
How it looks now:
How it could look then:
Close button
We should drop the âxâ button as well, making the process more straightforward and simulating a more natural dialogue process where the user reads the message and âanswersâ it by clicking on the button.
How it looks now:
How it could look then:
Arrows
No changes in either the way it behaves or looks. đ (Just mentioning this because in the Figma prototypes these are not illustrated due to time constraints.)
Buttons alignment
Not a mandatory thing, but aligning buttons to the left is a pattern that was heavily used in Moodle 4 overall redesign. It makes it more readable (even more when the âbordersâ that separate text and buttons are gone).
Now it looks like this:
It would look like this:
Flow
Single-step user tour
Right now it seems that the only button thatâs always displayed is the user tours, regarding their complexity, is the âEnd tourâ one. In the new design, tours with a single step will have their own customisable agreement button - that functionality is covered by MDL-72557, so does not need to be handled as part of this issue.
Multi-step user tour
âPreviousâ button
Users rarely want to navigate back in a user tour, so we should remove the âPreviousâ button.
So this:
Would look like this:
âNextâ button
If possible, we should inform users of how many steps are ahead in some user tours. This gives them more control over it and less probability of skipping it. We could display this âstepsâ indicator in the âagreementâ button itself; however, if this approach makes the development more expensive, we could find another way to display it. Note: The step count is being implemented as part of MDL-71938, so in this issue we just need to move that information into the "Next" button and adjust it to match the below prototype.
It currently looks like this:
It could look like this:
âEnd tourâ button
As mentioned above, this should not be the button that is displayed by default on single-step tours. This button should only appear when there is more than one step in the user tour and it should allow the user to abort the user tour completely.
Currently, it looks like this:
It could look like this:
Result
Putting all previous changes together should make the user tours look like this:
Single-step:
Multi-step: