Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find Local Council use shared base_page partial #3545

Closed
wants to merge 2 commits into from

Conversation

patrickpatrickpatrick
Copy link
Contributor

@patrickpatrickpatrick patrickpatrickpatrick commented Feb 15, 2023

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

What

Remove the base page for Find Local Council. Find Local Council now uses the shared base_page.

Why

Found this while implementing changes to location forms on frontend. All pages on frontend use a 'base_page' partial but the Find Local Council had a different 'base_page'. It was found that the shared base_page could be used with some small changes to the find_local_council partial.

@patrickpatrickpatrick patrickpatrickpatrick changed the base branch from main to error-messages-for-location-form February 15, 2023 12:47
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-3545 February 15, 2023 12:47 Inactive
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-3545 February 21, 2023 17:00 Inactive
@patrickpatrickpatrick patrickpatrickpatrick changed the title Base page merger Find Local Council use shared base_page partial Feb 21, 2023
Base automatically changed from error-messages-for-location-form to main February 23, 2023 13:45
@patrickpatrickpatrick patrickpatrickpatrick marked this pull request as ready for review February 23, 2023 13:45
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-3545 February 23, 2023 14:15 Inactive
A seperate base_page partial was being used for Find Local Council
location form. Upon investigation, it was found that this other base
page partial was not necessary and so in this commit we are removing
find_local_council/base_page and using shared/find_local_council instead
The content_item generated for find_local_council tests was missing two
attributes which are present in the actual content_item (title and
description) for find_local_council. This was causing the tests to fail.
These two extra attributes can now be added to the content_item used for
tests which means they are no longer filled with random data and instead
reflect the actual content_item.
@chao-xian
Copy link
Contributor

@patrickpatrickpatrick is this still a thing? Can we get it reviewed?

@chao-xian
Copy link
Contributor

Pls attach related PRs and Trello card if so...

@beccapearce
Copy link
Contributor

This PR has been about for a while, going to close it for now since it's not being worked on :)

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.

None yet

4 participants