Skip to content

Remove details.documents from mandatory fields of publication [WHIT-1922]#4014

Merged
patrickpatrickpatrick merged 3 commits intomainfrom
remove-documents-from-details
Apr 21, 2026
Merged

Remove details.documents from mandatory fields of publication [WHIT-1922]#4014
patrickpatrickpatrick merged 3 commits intomainfrom
remove-documents-from-details

Conversation

@patrickpatrickpatrick
Copy link
Copy Markdown
Contributor

@patrickpatrickpatrick patrickpatrickpatrick commented Apr 15, 2026

What

  • Remove details.documents from mandatory fields of publication
  • Update examples to remove documents from details

Why

documents is no longer consumed by frontend applications to render attachments, instead attachments within details is used. Therefore we can remove documents from publication and update the examples to reflect this change. This is related to alphagov/whitehall#11366 which removes documents from details within Whitehall.

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

This application is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.

Follow these steps if you are doing a Rails upgrade.

@patrickpatrickpatrick patrickpatrickpatrick changed the title Remove documents from details of publication Remove documents from details of publication [WHIT-1922] Apr 15, 2026
@patrickpatrickpatrick patrickpatrickpatrick force-pushed the remove-documents-from-details branch 4 times, most recently from cb7a015 to faddf07 Compare April 16, 2026 13:46
@patrickpatrickpatrick patrickpatrickpatrick changed the title Remove documents from details of publication [WHIT-1922] Remove documents from mandatory fields of publication [WHIT-1922] Apr 16, 2026
@patrickpatrickpatrick patrickpatrickpatrick changed the title Remove documents from mandatory fields of publication [WHIT-1922] Remove details.documents from mandatory fields of publication [WHIT-1922] Apr 16, 2026
uses: alphagov/whitehall/.github/workflows/minitest.yml@main
with:
ref: 'main'
ref: 'remove-attachments-rendering'
Copy link
Copy Markdown
Contributor

@AgaDufrat AgaDufrat Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR was flagged by the "Seal" notification, I'm not sure if it's still a work in progress (you may be planning to remove that anyway) but we don't want this change to be merged to main to keep our CI stable.

Suggested change
ref: 'remove-attachments-rendering'
ref: 'main'

@patrickpatrickpatrick patrickpatrickpatrick force-pushed the remove-documents-from-details branch from faddf07 to 33e6ae3 Compare April 17, 2026 10:22
@patrickpatrickpatrick patrickpatrickpatrick force-pushed the remove-documents-from-details branch 3 times, most recently from 2560b0a to bab1fef Compare April 20, 2026 13:38
@patrickpatrickpatrick patrickpatrickpatrick force-pushed the remove-documents-from-details branch from bab1fef to a6bc4f4 Compare April 20, 2026 14:02
@patrickpatrickpatrick patrickpatrickpatrick merged commit 9404a53 into main Apr 21, 2026
42 checks passed
@patrickpatrickpatrick patrickpatrickpatrick deleted the remove-documents-from-details branch April 21, 2026 13:28
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