Skip to content

Submission Fact Sheet and UI

@ mention of reviewers`

@ckcollab`

A brief description of the purpose of the changes contained in this PR.

UI to add questions that are serialized to JSON image

The response is then saved as a JSON field under the parent submission. image

Issues this PR resolves

Resolves #427 (closed)

TODO

Add caching for fact_sheet answers

A checklist for hand testing

  • Competitions with no fact_sheet will now show text field in the submission tab
  • Competitions with a fact_sheet will show text field
  • fact_sheet_answers will only allow correctly formatted JSON
  • fact_sheet_answer will only allow matching keys and keys from list
  • answer values prompts given "" will accept any string input

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • Ready to merge

Merge request reports

Loading