Update Touchpoints - CDCgov/prime-simplereport GitHub Wiki

Intro

This page guides you on how to update our in-app Touchpoints form.

Prerequisites

  1. Must have a CDC PIV
  2. Sign up for Touchpoints with a Login.gov account
  3. Be added to the SimpleReport group for Touchpoints (ask Emma)

Steps

Edit Touchpoints forms

  1. Once the prerequisites have been met, you should be able to see all the the forms.
  1. You can edit the form in the "Questions" tab
  1. You can set the URLs for where the form accepts responses from in the "Delivery" tab

Update the contents of the same Touchpoints form

  1. To update HTML changes to the form, go to frontend/public/touchpoints.js and update the touchpointsFormHthmlString

  2. The best way to get the HTML string is to see a preview of the modal and then copying the modal's HTML from a inspecting the element via your web browser's dev tools.