Skip to content

Add Feedback as a template block#7248

Closed
owenatgov wants to merge 1 commit into
feedback-componentfrom
feedback-template-block
Closed

Add Feedback as a template block#7248
owenatgov wants to merge 1 commit into
feedback-componentfrom
feedback-template-block

Conversation

@owenatgov

@owenatgov owenatgov commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Adds a new govukFeedback block to the page template as well as 2 extra template variables:

  • feedbackBody which, when set, displays Feedback
  • feedbackTitle which is preset but can be overridden

Resolves #7234

Stacked on top of #7232

Notes

Interested in opinions on presetting feedbackTitle. For this particular component we have quite a clear default we want users to apply and users can reset it anyway.

I've attempted to combine the changelog entries for this and the PR adding the actual component into a single entry. Interested especially in @seaemsi's opinion on this.

Do we also need changelog entries for feedbackBody and feedbackTitle? Could they go into this entry?

@owenatgov owenatgov force-pushed the feedback-template-block branch from e20ae5e to e0f71b7 Compare July 6, 2026 07:33
@owenatgov owenatgov marked this pull request as ready for review July 6, 2026 07:33
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-7248 July 6, 2026 07:34 Inactive
@owenatgov owenatgov linked an issue Jul 6, 2026 that may be closed by this pull request
2 tasks
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

📋 Stats

No changes to any distributed file sizes!


Action run for e0f71b7

@owenatgov owenatgov requested review from a team and seaemsi July 6, 2026 07:38
@owenatgov

Copy link
Copy Markdown
Contributor Author

We've decided we won't do this for MVP of the component as users can still add the component to their template with minimal hassle.

@owenatgov owenatgov closed this Jul 7, 2026
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.

Add the Feedback component as a feature of the page template

2 participants