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

Standardise family-hub specific code #3966

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KludgeKML
Copy link
Contributor

  • Default to not showing location data if the address or town aren't present, to allow DSA zone finder and family hub to work without bespoke code.
  • Report child abuse to your local council service still needs specific styling, so leave that hardcoded for the moment.

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

What

As there are likely to be more than one dataset in imminence without physical locations, simplify to remove existing hardcoded slug for family-hub, and detect whether to show the location info based on the presense of an address and/or town (it can't be by postcode, because Imminence at the moment always requires postcodes).

Why

DSA assessment is due to change soon, to a system where contact details will not include physical addresses. Also mild reduction in tech debt.

Trello card

How

Remove hard-coding and additional partials, add checks to see whether town/address is present and hide location data.

Screenshots?

No visible changes expected to the affected path (/find-family-hub-local-area)

- Default to not showing location data if the address or
   town aren't present, to allow DSA zone finder and
   family hub to work without bespoke code.
- Report child abuse still needs specific code for message
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-3966 February 12, 2024 11:41 Inactive
@KludgeKML KludgeKML marked this pull request as draft February 12, 2024 11:49
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

2 participants