Skip to content

Use existing workflow for the 'Featured' container [WHIT-2879]#10984

Draft
patrickpatrickpatrick wants to merge 6 commits intomainfrom
spike-feature
Draft

Use existing workflow for the 'Featured' container [WHIT-2879]#10984
patrickpatrickpatrick wants to merge 6 commits intomainfrom
spike-feature

Conversation

@patrickpatrickpatrick
Copy link
Contributor

@patrickpatrickpatrick patrickpatrickpatrick commented Jan 9, 2026

⚠️ 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.

validates :configurable_document_type, presence: true, inclusion: { in: -> { ConfigurableDocumentType.all_keys } }

scope :with_news_article_document_type, -> { where(configurable_document_type: ConfigurableDocumentType.where_group("news_article").map(&:key)) }
def name
Copy link
Contributor Author

Choose a reason for hiding this comment

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

cheating so the view for featurings doesn't need to check for StandardEdition vs TopicalEvent

@patrickpatrickpatrick patrickpatrickpatrick changed the title spike feature Use existing workflow for the 'Featured' container [WHIT-2879] Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants