Skip to content

Conversation

@alexnuttall
Copy link
Contributor

@alexnuttall alexnuttall commented Apr 2, 2025

Description

Removes radio buttons on the preview-letter-template page, replacing with a button linking to the submit page.

Screenshot 2025-04-02 at 11 37 30

I've made a new component PreviewLetterTemplate in organisms but I'm unsure if molecules would be better. I chose organisms, so it's alongside the (renamed) PreviewDigitalTemplate

The new component hierarchy looks like this:

Screenshot 2025-04-02 at 12 12 24

The page doesn't have any state any more, but once we do CCM-8961, the button will be rendered conditionally

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.

gparry333
gparry333 previously approved these changes Apr 2, 2025
@alexnuttall alexnuttall dismissed stale reviews from chris-elliott-nhsd and gparry333 via 54d41b7 April 2, 2025 15:08
@alexnuttall alexnuttall merged commit c16aa6c into main Apr 3, 2025
30 checks passed
@alexnuttall alexnuttall deleted the feature/CCM-8993-remove-edit-letter branch April 3, 2025 15:40
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