Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue#274 lookup #291

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Issue#274 lookup #291

wants to merge 10 commits into from

Conversation

epg323
Copy link
Collaborator

@epg323 epg323 commented Oct 20, 2020

Close #274

I am hoping to get feedback for the UI and code.

Screen Shot 2020-10-20 at 2 11 51 PM

Overview: The user enters their name and email. Then they will receive 1 of 3 emails:

  1. If they have one recording link they will receive an email with 1 link.

  2. If they have multiple links an email will be sent to David. (In development it should be yourself)

  3. If the system is unable to find a recording, the user will receive an email telling them to contact ballotpedia.

You should have the following variables in your environment:

export SENDINBLUE_TEMPLATE_ID_CANDIDATE="1" // Number of email template for when the user has exactly one link
export SENDINBLUE_TEMPLATE_ID_MANAGER="2" // Number of email template for when the user has multiple links
export SENDINBLUE_TEMPLATE_ID_SEND_BP_INFO="3" // Number of email template for when we are unable to find links
export EMAIL_MANAGER="example@gmail.com" // For development, emails should be sent to yourself and not to the emails of your test cases 
export HOSTNAME='localhost:3011' // This is required so the user gets a complete url , not just the uri

ToDo:
Discuss with @ddfridley the email templates.

@epg323 epg323 requested a review from ddfridley October 20, 2020 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Candidate Lookup Page
1 participant