gazaskygeeks / mpcc-assistant

Platform to consolidate info/docs from visiting GSG mentors
https://mpcc-assistant.herokuapp.com/
0 stars 0 forks source link

Suggestion: store emails sent per mentor #116

Open tomduggan85 opened 6 years ago

tomduggan85 commented 6 years ago

It might be helpful to store a list of sent email types per mentor on the server. This could be stored as an array of emailTypes on each mentor (since postEmail has $emailType from the request url), i.e. "permitEmail", "scheduleEmail". Then, the mentorPanel UI could use this to show you that certain emails have already been sent, so you don't have to try and remember yourself :)

https://github.com/gazaskygeeks/mpcc-assistant/blob/6c0d9f5c76bfbdaaca06b7ae96da798f17b20cd3/src/server/controllers/postEmail.js#L1