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

Quiz management: Notify user of replacements vs selection mismatch #12094

Open
2 tasks
nucleogenesis opened this issue Apr 17, 2024 · 0 comments
Open
2 tasks
Assignees
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend P1 - important Priority: High impact on UX TAG: ux update Improved user-facing feature

Comments

@nucleogenesis
Copy link
Member

nucleogenesis commented Apr 17, 2024

Overview

The user can select any number of the questions in a section and then they can replace them.

Currently, we do not inform the user if/when there are not enough questions to accommodate the number of questions they've selected to replace. With a modal we will explain to the user what the situation is.

When we don't have enough replacements available, we'll notify the user with a KModal.

Note: These are placeholders indicating the intent but may be updated during UX writing review

The KModal

The title can be: "Not enough replacements available"

Then, in any case, show this in the description: "You've selected N questions to replace, but

only has M questions available to replace them with."

If "M" above is zero, then we should show: "Please add more resources to this section"

If "M" is greater than zero, then we should show: "_Please add more resources to this section, or go back and only select up to M questions to be replaced"

In any case, the the following buttons should be shown to the user by way of the KModal's actions slot:

[Add resources] - closing the modal and routing to the section's Resource Selection route
[Go back] - closing the modal

Acceptance criteria

  • When the user closes the modal using "Go back" they should have their focus returned to where it was when the modal was opened (ie, the Replace icon button)
  • When the user adds more resources, their previous selection of questions should be retained. Note that this should already be the case but just want to be sure the user can have a smooth experience from clicking "Add resources", adding resources, and going back to try to replace the questions they wanted to replace in the first place.
@nucleogenesis nucleogenesis added P1 - important Priority: High impact on UX TAG: ux update Improved user-facing feature APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend labels May 3, 2024
@marcellamaki marcellamaki self-assigned this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend P1 - important Priority: High impact on UX TAG: ux update Improved user-facing feature
Projects
None yet
Development

No branches or pull requests

2 participants