hackerAPI icon indicating copy to clipboard operation
hackerAPI copied to clipboard

FR: Revamp email templates

Open pierreTklein opened this issue 3 years ago • 2 comments

Each year, we have to fix bugs like sending the wrong links (discord, livesite, pdf etc.) to hackers. We also have to fix bugs where the email has the wrong confirm by / apply by dates.

This feature request is two-fold:

  • Add links to setting schema
  • Make the dates & link fields in emails parametrized, and provide the proper fields when constructing the email.

pierreTklein avatar Jan 21 '22 19:01 pierreTklein

Hi Theo,

Exactly my thoughts! Just had a conversation with @logan-r about this today. We should be passing dates, names, and social links through handlebar templates.

Some major work has been done in the refactor to help enable this. I plan to add the social links to the settings model and allow them to modified through the dashboard. Same with the hackathon name so we don't have go through the codebase and edit all the instances of McHacks _.

brarsanmol avatar Jan 21 '22 20:01 brarsanmol

Yep. That makes sense. And then we can also load those fields automatically to the frontend instead of storing it in the constants file.

pierreTklein avatar Jan 21 '22 20:01 pierreTklein