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

Add new facilitator survey to post-email for CSD/CSP #36429

Merged
merged 3 commits into from
Aug 26, 2020

Conversation

molly-moen
Copy link
Contributor

@molly-moen molly-moen commented Aug 25, 2020

Update our Facilitator post-workshop auto-email to send the new Foorm survey for any non-summer CSD/CSP workshop (we don't send the email for CSF). The survey will be populated with workshop course, workshop subject, and workshop id. This PR also adds the ability to send any variable to a Foorm misc survey via a url parameter.

Future work

After 9/5/2020 we will want to deprecate the old JotForm version of the survey, but we have one more summer workshop before then that we want to have survey data in the same bucket as the other workshops this summer.

Links

Testing story

Validated via the mailer previews that an academic year workshop will show the new survey with the correct variables and a summer workshop will show the old survey.

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@molly-moen molly-moen requested a review from a team August 25, 2020 17:43
Copy link

@clareconstantine clareconstantine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Also, seems super useful to be able to pass in params via the url!

@@ -154,7 +154,14 @@ def facilitator_pre_workshop(user, workshop)
def facilitator_post_workshop(user, workshop)
@user = user
@workshop = workshop
@survey_url = CDO.studio_url "/pd/misc_survey/facilitator_post", CDO.default_scheme
# TODO: After 9/5/2020 move all workshops to the new survey (9/5 is last 2020 Summer Workshop)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind making a Jira item for this, if we don't already have one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jira item is here we will want to circle back with MeganH when the time so she knows it's done.

@molly-moen molly-moen merged commit 7d7cf63 into staging Aug 26, 2020
@molly-moen molly-moen deleted the molly/facilitator-post-email branch August 26, 2020 20:50
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.

None yet

2 participants