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

Update QuizFlow to match new datatypes #62

Closed
10 tasks done
Octillerysnacker opened this issue Jan 28, 2023 · 0 comments · Fixed by #65
Closed
10 tasks done

Update QuizFlow to match new datatypes #62

Octillerysnacker opened this issue Jan 28, 2023 · 0 comments · Fixed by #65
Assignees
Labels

Comments

@Octillerysnacker
Copy link
Collaborator

Octillerysnacker commented Jan 28, 2023

Edit the Quiz pages so that the data submitted matches the SurverAnswer data definition we created together. This ticket is focused more on functionality than design; you do not need to worry about CSS alignment and whatnot. CSS will be a later ticket after designers have redone quiz designs. However, you will need to choose appropriate form inputs for each question.

  • Decide with the team how to represent the categories on the webpage (I think we mentioned showing them as cards? If we decide on cards then “functionality” means you can properly use these cards in the quiz)
  • Edit the QuizCategories page so that it submits categories in the manner defined by SurveyAnswer.
  • Ensure that the options to choose categories from is dynamic (we plan to load these from the database later)
  • Perform any necessary data validation in QuizCategories.
  • Edit the QuizPersonal page so that it submits answers for householdIncome, householdMembers, and documentation in the manner defined.
  • Perform any necessary data validation in QuizPersonal.
  • Rename the QuizPersonal page to something sensible.
  • Edit the QuizFamily page so that it submits answers for languages and accessibility in the manner defined.
  • Ensure that the options to choose language and accessibility from is dynamic (we plan to load these from the database later)
  • Submit the data to the same endpoint.

Testing would likely be just manually inspecting the resulting json data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants