Skip to content

Conversation

@nicki-nhs
Copy link
Contributor

@nicki-nhs nicki-nhs commented Dec 8, 2025

Description

  • Updated arrow icons as per new updated versions in design system
  • Updated "choose templates" page to support choosing alternative letter formats
  • Support removing multiple templates at once (remove all language templates)
  • Created new pages for choose and preview large print and foreign language letter templates for message plans
  • Created new components LanguageLetterTemplates, ChooseLanguageLetterTemplates, MessagePlanConditionalTemplates for displaying and selecting conditional templates
  • Updated MessagePlanChannelList, MessagePlanBlock to support accessible formats and translations for conditional templates
  • Updated ChooseChannelTemplate to support large print
  • Added functions to manage conditional templates in cascade items - add, remove, replace, and extract accessible formats and languages
  • New Zod validators validateLargePrintLetterTemplate and validateForeignLanguageLetterTemplate to ensure correct template subtypes
  • Updated update-routing-config endpoint to handle ConditionalTemplateAccessible and ConditionalTemplateLanguage types
  • New playwright tests for choosing and previewing large print and foreign language templates with new page objects
  • Updated routing config and template factories to support conditional templates in test data
  • Refactored use of back links in pages and tests - consistent use of top and bottom link naming/test IDs etc

Context

Allow users to manage alternative letter formats on their message plan - large print and foreign languages

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.

mark-r-bjss
mark-r-bjss previously approved these changes Dec 15, 2025
@mark-r-bjss mark-r-bjss merged commit 7351b82 into main Dec 22, 2025
44 checks passed
@mark-r-bjss mark-r-bjss deleted the feature/CCM-11544-multiple-language-templates branch December 22, 2025 09:11
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.

3 participants