Skip to content

Add new groups confirmation page#2775

Open
thomasiles wants to merge 6 commits into
mainfrom
new-groups-page
Open

Add new groups confirmation page#2775
thomasiles wants to merge 6 commits into
mainfrom
new-groups-page

Conversation

@thomasiles
Copy link
Copy Markdown
Contributor

@thomasiles thomasiles commented May 14, 2026

Add a new page with content to slow when creating a new group

Trello card: https://trello.com/c/KETW4If8/3099-add-a-new-page-after-a-user-clicks-create-a-group

This PR adds a new page between clicking "Create group" and giving the group a name. It also updates the content on the new groups page.

The new page is to confirm the user wants to create a group and give them more information about what a group is. The content is different for organisations which have an admin.

The existing new group page can still be accessed directly through URL. The create group button link has been changed to this new page.

Note

I made up some content for the validation message the user sees when they don't check yes or no and submit the page.

Without org admins

image

With org admins

image

Without selecting yes/no

image

The updated new group page

image

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Do the end to end tests need updating before these changes will pass?
  • Has all relevant documentation been updated?

Add a new input object for the confirm action on the new groups page.
When a user creates a new group, they are asked to confirm that they want to create the group.

This commit adds the view for this page.
Add a new route to show the new confirmation page when creating new
groups.
Add form handler for the new group confirmation page.
Change the create link on the groups index page to point to the confirm
page.

We update the tests which rely on this.
Change the content, title, and back link for the new group page to match
the new designs.
@github-actions
Copy link
Copy Markdown

🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-2775.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.

@thomasiles thomasiles marked this pull request as ready for review May 14, 2026 08:59
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.

1 participant