Skip to content

Conversation

@patrickpatrickpatrick
Copy link
Contributor

@patrickpatrickpatrick patrickpatrickpatrick commented Jan 7, 2026

What

Amendment to the copy on screens to edit the document type of a configurable document. These include:

  • replacing all instances of and with '
  • changing the title to Review document type change from Preview document type change
  • changing how lost associations and properties are displayed
  • changing how new associations and properties are displayed
  • rewording notice that there are no changes that will be made to the associations of a document
  • rewording notice that there are no changes that will be made to the properties of a document
  • add new fields to table of changes for fields/associations that have been added/removed (if there are fields/associations that are being added/removed otherwise this will not display)
  • handle associations with different interface names ("Ministerial Role Appointments") to association names on the document type change summary

from a document of requested changes.

Visual Differences

Before After
Screenshot 2026-01-07 at 16 12 44 Screenshot 2026-01-08 at 16 10 01
Screenshot 2026-01-08 at 15 28 07 Screenshot 2026-01-08 at 15 27 23
Screenshot 2026-01-08 at 15 28 10 Screenshot 2026-01-08 at 15 27 18
Screenshot 2026-01-08 at 15 28 14 Screenshot 2026-01-08 at 15 27 14

Why

Requested by IA to ensure consistency in copy across Whitehall.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

This application is owned by the Whitehall Experience team. Please let us know in #govuk-whitehall-experience-tech when you raise any PRs.

Follow these steps if you are doing a Rails upgrade.

@patrickpatrickpatrick patrickpatrickpatrick changed the title Use double-quote consistently Change [document type - news articles] workflow updates [WHIT-2812] Jan 7, 2026
@patrickpatrickpatrick patrickpatrickpatrick force-pushed the change-workflow-updates branch 4 times, most recently from 1fce95a to 026290e Compare January 7, 2026 15:33
@patrickpatrickpatrick patrickpatrickpatrick marked this pull request as ready for review January 7, 2026 16:13
Ensure consistency in copy across Whitehall by replacing instances of
“ and ” with '.

Replace `govspeak_to_html` call with the Inset component (to ensure that
correct quote characters are used) within `editions#edit`.
Requested copy ammendments for interface when user changes the document
type. Includes:

- changing the title to `Review document type change` from `Preview
document type change`
- changing how lost associations and properties are displayed
- changing how new associations and properties are displayed
- rewording notice that there are no changes that will be made
to the associations of a document
- rewording notice that there are no changes that will be made
to the properties of a document

and updating the associated tests that referenced old copy.
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