When CPG was first implemented, to save time, the Security Practice and Outcome values were formatted into special HTML in the Question_Text field. In preparation for the SSGs, which will have similar data elements, this modification breaks those two fields into their own database columns. The UI is also modified to recognize and display them as separate data elements.
Question_Text will be empty for CPG and likely SSG questions that have values for Security Practice and Outcome
๐ญ Motivation and context
๐งช Testing
โ Pre-approval checklist
[ ] This PR has an informative and human-readable title.
[ ] Changes are limited to a single goal - eschew scope creep!
[ ] All future TODOs are captured in issues, which are referenced
in code comments.
[ ] All relevant type-of-change labels have been added.
๐ฃ Description
When CPG was first implemented, to save time, the Security Practice and Outcome values were formatted into special HTML in the Question_Text field. In preparation for the SSGs, which will have similar data elements, this modification breaks those two fields into their own database columns. The UI is also modified to recognize and display them as separate data elements.
Question_Text will be empty for CPG and likely SSG questions that have values for Security Practice and Outcome
๐ญ Motivation and context
๐งช Testing
โ Pre-approval checklist
โ Pre-merge checklist
โ Post-merge checklist