Skip to content

CCM-11343: Prevent certain letter templates from being sync'd to core#587

Merged
bhansell1 merged 22 commits intomainfrom
feature/CCM-11343_rtl-disable-proofing
Aug 7, 2025
Merged

CCM-11343: Prevent certain letter templates from being sync'd to core#587
bhansell1 merged 22 commits intomainfrom
feature/CCM-11343_rtl-disable-proofing

Conversation

@bhansell1
Copy link
Contributor

@bhansell1 bhansell1 commented Jul 28, 2025

Description

  • adds a new field to LETTER templates called proofingEnabled. This field is calculated by checking if the template is RTL and if client configuration has proofing enabled
  • a LETTER template created with proofingEnabled false will have a status of NOT_YET_SUBMITTED preventing the LETTER template requesting a proof
  • adds publishing logic to the event-publisher lambda to exclude publishing LETTER template events that have proofingEnabled false & is not a publishable status. The filter will allow through all updates where templateType is not LETTER
  • updates preview-letter-template page show to a callout when the LETTER language is classed as RTL

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@bhansell1 bhansell1 marked this pull request as ready for review August 5, 2025 15:29
@bhansell1 bhansell1 requested review from a team as code owners August 5, 2025 15:29
@bhansell1 bhansell1 changed the title CCM-11343: add proofingEnabled field to templates CCM-11343: Prevent certain letter templates from being sync'd to core Aug 5, 2025
mark-r-bjss
mark-r-bjss previously approved these changes Aug 6, 2025
alexnuttall
alexnuttall previously approved these changes Aug 6, 2025
aidenvaines-cgi
aidenvaines-cgi previously approved these changes Aug 6, 2025
harrim91
harrim91 previously approved these changes Aug 6, 2025
@bhansell1 bhansell1 enabled auto-merge (squash) August 7, 2025 13:00
@bhansell1 bhansell1 merged commit fcdcc5d into main Aug 7, 2025
28 checks passed
@bhansell1 bhansell1 deleted the feature/CCM-11343_rtl-disable-proofing branch August 7, 2025 14:14
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.

6 participants