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

Add warning banner for "insufficient resources" #13109

Open
2 tasks
Tracked by #11888
marcellamaki opened this issue Feb 25, 2025 · 0 comments
Open
2 tasks
Tracked by #11888

Add warning banner for "insufficient resources" #13109

marcellamaki opened this issue Feb 25, 2025 · 0 comments
Assignees
Labels
P0 - critical Priority: Release blocker or regression

Comments

@marcellamaki
Copy link
Member

marcellamaki commented Feb 25, 2025

Overview

In some scenarios, depending on the number of channels/resources available on a device, and the size of a quiz, a coach may not have sufficient resources/questions available to make a quiz of their desired size.

We will add a banner to alert the user in the following scenarios:

  • A user does not have enough resources to create their quiz initially (i.e. 18 questions available, but they want a 25 question quiz)
  • A user does not have enough resources to add additional sections to their quiz (i.e. the remaining available resources are only 5, and they want to add an additional 25 questions)

If there is a limit in the number of available questions, we should limit the number of questions that a user can add to the number of available resources. For example, in the figma spec below, the validation on the input field should have a max value of 18 (rather than 25, the section max).

Image
@marcellamaki marcellamaki added the P0 - critical Priority: Release blocker or regression label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

No branches or pull requests

2 participants