Sage-Bionetworks / stopadforms

https://sage-bionetworks.github.io/stopadforms
Other
2 stars 4 forks source link

Save formDataId to Synapse comment & review tables #24

Closed Aryllen closed 4 years ago

Aryllen commented 4 years ago

The formDataId (called form_data_id in stopadforms) is unique to all form submissions and is necessary for adding any accept/reject features. It also acts as an easy way to refer to a specific submission in the backend versus the specific submission name we generate. We should store this value in another column in both of the Synapse tables when a user comments/reviews submissions.

An example use-case: let's say a submission exists with formDataId 37, non-user-friendly name "User333333_form9838293", and user-friendly generated name "Smith - Tylenol (37)" (if user-friendly names PR is merged as is).

Aryllen commented 4 years ago

Fixed in #26.