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

QuizGateKeeper - Add more details in yml #70

Open
psysoo opened this issue Mar 4, 2024 · 4 comments
Open

QuizGateKeeper - Add more details in yml #70

psysoo opened this issue Mar 4, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@psysoo
Copy link

psysoo commented Mar 4, 2024

QuizGateKeeper - Add more details in yml

Please add more descriptions about

  1. What doeslockout_seconds do and what is for
  2. What does allow_screen_acess do and what is for
  3. the action value can be anything or only can set restartQuiz or goHome?

"fail": {
"action": "restartQuiz",
"action_data": {
"attempts": 2,
"lockout_seconds": 600,
"allow_screen_access": false
}
},
"pass": {
"action": "goHome",
"action_data": {
"allow_screen_access": true
}
}

@djinoz
Copy link
Member

djinoz commented Mar 4, 2024

@psysoo

  1. the lockout_seconds prevents the user from answering the Quiz again. It will show but they can't interact. I will send you the spec (not for public)
  2. also in the spec
  3. yes that is the current limitation but because its open source other modifications may be made in the future

@amraboelela
Copy link
Contributor

@djinoz for #1 I thought that during the lockout_seconds the quiz won't appear to the user.

@djinoz
Copy link
Member

djinoz commented Mar 4, 2024

If it's blocking the underlying screen (it's a gatekeeper), how would that work?

@amraboelela
Copy link
Contributor

ok so if "allow_screen_access": false, then it is blocking the underling screen? ok then in this case we need to show that the quiz is currently locked, and to try again after like 10 minutes.
If that's the case, then I still need to implement this logic.

@psysoo psysoo added this to the Initial Main milestone Mar 6, 2024
@psysoo psysoo added the documentation Improvements or additions to documentation label Mar 6, 2024
@psysoo psysoo modified the milestones: Initial Main , Second Main Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants