Skip to content

Fix row order for Welsh form CSV#2812

Merged
SamJamCul merged 1 commit into
mainfrom
content-for-guidance-questions-not-in-same-order-on-welsh-csv-as-on-add-welsh-content-page
May 28, 2026
Merged

Fix row order for Welsh form CSV#2812
SamJamCul merged 1 commit into
mainfrom
content-for-guidance-questions-not-in-same-order-on-welsh-csv-as-on-add-welsh-content-page

Conversation

@SamJamCul

@SamJamCul SamJamCul commented May 28, 2026

Copy link
Copy Markdown
Contributor

https://trello.com/c/JYUtlVzE/3117-content-for-guidance-questions-not-in-same-order-on-welsh-csv-as-on-add-welsh-content-page

The correct order for a question's details in a CSV is

  • Page heading
  • Guidance text
  • Question text
  • Hint text (if relevant)
  • List of options (if relevant)

This matches how the translations are displayed on the Welsh Translations page

The test for this has switched from using match_array to eq so that the ordering is taken into account.

The correct order for a question's details in a CSV is
 - Page heading
 - Guidance text
 - Question text
 - Hint text (if relevant)
 - List of options (if relevant)

This matches how the translations are displayed on the Welsh
Translations page

The test for this has switched from using `match_array` to `eq` so that
the ordering is taken into account.
@github-actions

Copy link
Copy Markdown

🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-2812.admin.review.forms.service.gov.uk/

It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready
after 5 minutes, there may be something wrong with the ECS task. You will need to go to the integration AWS account
to debug, or otherwise ask an infrastructure person.

For the sign in details and more information, see the review apps wiki page.

@lfdebrux

lfdebrux commented May 28, 2026

Copy link
Copy Markdown
Contributor

Slick! Thanks for figuring that out.

@hannahkc

Copy link
Copy Markdown
Contributor

looks good to me!

@SamJamCul SamJamCul added this pull request to the merge queue May 28, 2026
Merged via the queue into main with commit 9327778 May 28, 2026
6 checks passed
@SamJamCul SamJamCul deleted the content-for-guidance-questions-not-in-same-order-on-welsh-csv-as-on-add-welsh-content-page branch May 28, 2026 13:16
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