Skip to content

Add CSA Summer Capstone subject and emails - #51219

Merged
TurnerRiley merged 9 commits into
stagingfrom
add-csa-capstone-subject
Apr 11, 2023
Merged

Add CSA Summer Capstone subject and emails#51219
TurnerRiley merged 9 commits into
stagingfrom
add-csa-capstone-subject

Conversation

@TurnerRiley

@TurnerRiley TurnerRiley commented Apr 7, 2023

Copy link
Copy Markdown
Contributor

This PR adds the CSA Capstone subject to the CSA course and adds the associated enrollment confirmation and enrollment reminder emails with a couple tweaks according to the spec.

Here are the new emails (I've marked sections purple if their content is different than the spec's because of more recent updates to the emails from this PR (such as changing the "Covid-19" section to the "Health and wellness precautions" section)):

Enrollment confirmation/receipt (in-person)

receipt_in_person

Enrollment confirmation/receipt (virtual)

receipt_virtuaal

Enrollment 10-day reminder (in-person)

reminder_10

Enrollment 10-day reminder (virtual)

reminder_10_virtual

Enrollment 3-day reminder (in-person)

reminder_3

Enrollment 3-day reminder (virtual)

reminder_3_virtual

Removing session times for CSA Capstone workshops

In _workshop_logistics.html.haml, they were removed for the CSA Capstone workshops because they will be national and virtual and the workshop dashboard does not localize the time.

Here is an example of a non-CSA-Capstone-workshop email with logistics to show that the times still show up for other workshops:
show_times

Links

Spec: here
Jira ticket for adding CSA Capstone subject: here
Jira ticket for adding CSA Capstone emails: here

Testing story

Local testing.

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • 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

@TurnerRiley
TurnerRiley changed the base branch from staging to update-enrollment-workshop-emails April 7, 2023 21:33
@TurnerRiley
TurnerRiley requested a review from a team April 7, 2023 22:13
@TurnerRiley
TurnerRiley changed the base branch from update-enrollment-workshop-emails to staging April 10, 2023 16:29
def pre_survey?
# CSP for returning teachers does not have a pre-survey.
return false if subject == SUBJECT_CSP_FOR_RETURNING_TEACHERS
return false if [SUBJECT_CSP_FOR_RETURNING_TEACHERS, SUBJECT_CSA_CAPSTONE].include?(subject)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

the comment looks out of date now. I think you can safely remove the comment, since the code looks perfectly self-documenting

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will do!

- if @is_first_pre_survey_email
Please take a moment to review the following logistical details about your workshop.
- else
If you have not already done so, please review the following logistical details about your workshop.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

will this affect only the capstone reminder emails, or others too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh thank you for mentioning this I meant to leave a comment here. This will affect other emails as well but I checked with Dani on whether this should just be for the capstone or for all of them and she said we should unify it for all of them!

@davidsbailey davidsbailey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sounds great!

@TurnerRiley
TurnerRiley merged commit 2b971bf into staging Apr 11, 2023
@TurnerRiley
TurnerRiley deleted the add-csa-capstone-subject branch April 11, 2023 17:03
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.

2 participants