Skip to content

Feature/email templates

Vaibhav Rathore requested to merge feature/email-templates into main

Targets #1196 (closed)

Summary

  1. Added email templates based on the doc mentioned in the task description
  2. Fixed colab list of templates for reviewerInvitation and corrected with the right template reviewInvitation
  3. Added a custom logic in userCommsUtils that identifies the recipient as editor, reviewer or author (author is default). This is done to calculate the decision page URL and share it as a dynamic variable in the templates. The logic is as follows:
    1. Editor => Url is baseurl/versions/manuscriptid/decision
    2. Reviewer => Url is baseurl/versions/manuscriptid/review
    3. Author => Url is baseurl/versions/manuscriptid/submit
  4. Fixed a bug in decision page when submitting a decision, the frontend was throwing error for invalid use of spread operator.
Edited by Vaibhav Rathore

Merge request reports