Skip to content

Conversation

@msquance-stem
Copy link
Contributor

@msquance-stem msquance-stem commented Nov 8, 2024

Status

Review progress:

  • Browser tested
  • Front-end review completed
  • Tech review completed

What's changed?

  • Added new email components for Strapi
  • These operate different to the others due to the dual render on email (html and text)
  • Create merge tags to allow for personalisation in the email system (e.g. {first_name}, {last_cpd_title}

Steps to perform after deploying to production

If the production environment requires any extra work after this PR has been deployed detail it here. This could be running a Rake task, migrating a DB table, or upgrading a Gem. That kind of thing.

@tc-deploybot tc-deploybot temporarily deployed to teachcomputing-pr-2212 November 8, 2024 16:41 Inactive
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from 80b5c9e to f307341 Compare November 11, 2024 10:50
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 November 11, 2024 10:50 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 November 11, 2024 11:59 Inactive
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from d6c3c9e to 7ba1076 Compare November 14, 2024 16:28
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 November 14, 2024 16:29 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 November 28, 2024 09:13 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 November 28, 2024 09:56 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 November 28, 2024 10:43 Inactive
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from e31aa91 to 6e710c8 Compare November 29, 2024 16:11
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 November 29, 2024 16:12 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 November 29, 2024 16:19 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 December 3, 2024 16:10 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 December 3, 2024 16:15 Inactive
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from b541887 to ec6c910 Compare December 18, 2024 11:56
@tc-deploybot tc-deploybot temporarily deployed to teachcomputing-pr-2212 December 18, 2024 12:35 Inactive
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from 620ade3 to e778f2c Compare December 19, 2024 16:34
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 December 19, 2024 16:35 Inactive
@tc-deploybot tc-deploybot temporarily deployed to teachcomputing-pr-2212 January 2, 2025 12:54 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 January 2, 2025 13:56 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 January 3, 2025 09:10 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 January 6, 2025 16:45 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 January 7, 2025 10:46 Inactive
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from 7ced67f to 537bddc Compare February 3, 2025 16:31
@tc-deploybot tc-deploybot temporarily deployed to teachcomputing-pr-2212 February 3, 2025 16:43 Inactive
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from 537bddc to 03c52cd Compare February 4, 2025 14:00
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 February 4, 2025 14:00 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 February 4, 2025 14:43 Inactive
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 February 4, 2025 15:04 Inactive
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from 74c23a8 to 508f6d7 Compare February 5, 2025 13:34
… issue with the removeOnMatch list with a single item
Resetting the rich_text_block_component_spec as its got messed up in rebase
…Strapi

Created new query objects for each of the components
As we refactored the factories I have aligned the email component factory with the new system, removing the need from the StrapiEmailMock
Also added in logic to not show section if the user has completed all the activties
@msquance-stem msquance-stem force-pushed the 2896-email-system-content-processing branch from e0ac089 to 4c9da0c Compare March 5, 2025 12:37
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 March 5, 2025 12:37 Inactive
end

class Link < RichTextBlockTextComponent
# Had to removed indentation in this erb as it was adding whitespace to page render
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need this comment as you have already provided details of why no indentation at the top of the file

erb_template <<~ERB
<table>
<% if @section_title %>
<tr><td><h2><%= @section_title %></h2></td></tr>
Copy link
Contributor

Choose a reason for hiding this comment

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

Could these table tags be formatted with indentation like the courses section below to keep it tidy?

Copy link
Contributor

@A-Wheeto A-Wheeto left a comment

Choose a reason for hiding this comment

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

LGTM Mike! Couple of comments on some formatting, but not essential.

@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2212 March 5, 2025 15:56 Inactive
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 5, 2025

@msquance-stem msquance-stem merged commit aaaf445 into main Mar 5, 2025
8 checks passed
@msquance-stem msquance-stem deleted the 2896-email-system-content-processing branch March 5, 2025 16:09
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.

4 participants