Skip to content

Fix/postcode lookup repeater#229

Merged
alexluckett merged 4 commits intomainfrom
fix/postcode-lookup-repeater
Oct 24, 2025
Merged

Fix/postcode lookup repeater#229
alexluckett merged 4 commits intomainfrom
fix/postcode-lookup-repeater

Conversation

@davidjamesstone
Copy link
Copy Markdown
Contributor

@davidjamesstone davidjamesstone commented Oct 23, 2025

Proposed change

Adds support for mini-journey data payload for repeaters.

Adds a hr delimiter to the postcode lookup field when:

  • it's the last component on the page and
  • it doesn't yet have a value

This is to avoid there being too many buttons together (Continue, Save and Exit, Find addess) like in this first screenshot:

image

No hr when amongst other components:

image

No hr once an address has been selected:
image

hr included when it's the last component amongst other components:
image

hr included when it's the only component on the page:
image

Jira ticket:

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Misc. (documentation, build updates, etc)

Checklist

  • You have executed this code locally and it performs as expected.
  • You have added tests to verify your code works.
  • You have added code comments and JSDoc, where appropriate.
  • There is no commented-out code.
  • You have added developer docs in README.md and docs/* (where appropriate, e.g. new features).
  • The tests are passing (npm run test).
  • The linting checks are passing (npm run lint).
  • The code has been formatted (npm run format).

@sonarqubecloud
Copy link
Copy Markdown

@alexluckett alexluckett merged commit 5f25dc8 into main Oct 24, 2025
9 checks passed
@alexluckett alexluckett deleted the fix/postcode-lookup-repeater branch October 24, 2025 10:38
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.

3 participants