lookit / lookit-api

Codebase for Lookit v2 and Experimenter v2. Includes an API. Docs: http://lookit.readthedocs.io/
https://lookit.mit.edu/
MIT License
10 stars 18 forks source link

This is the implementation of "Add email template text to Contact Participants page" #1363

Open okaycj opened 6 months ago

okaycj commented 6 months ago

As we're still scoping out this issue, I am going to update this to a draft PR.

Closes #1361

Summary

Add text to emails to give the receiver context on which study they're being contacted about.

Implementation

Created a single template that is used in both types of email (text or HTML) and the participant contact view. Since all three places share the same source, then they'll all have the same text.

Images

Text as seen from the participant view:

Screenshot 2024-03-12 at 11 34 14 AM

Emails as seen in the participant email inbox:

Screenshot 2024-03-12 at 11 35 03 AM
sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud