Skip to content

PDJB-1290: Auto-fill edit org gov body member address - #1668

Open
samyou-softwire wants to merge 4 commits into
mainfrom
fix/PDJB-1290-autocomplete-org-address-properly
Open

PDJB-1290: Auto-fill edit org gov body member address#1668
samyou-softwire wants to merge 4 commits into
mainfrom
fix/PDJB-1290-autocomplete-org-address-properly

Conversation

@samyou-softwire

@samyou-softwire samyou-softwire commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Ticket number

PDJB-1290

Goal of change

makes the edit button preserve the user's selected options for address editing

Description of main change(s)

adds the specific options the user picked to the gov body member data model. these will not be saved to the database, just used temporarily in this journey

uses these fields to autofill the answers the user gave when editing the gov body member

Anything you'd like to highlight to the reviewer?

I'm fairly certain this is new behaviour - whilst there have been other address edits journeys they:

  • are their own journey, in which case they always start blank
  • are on a CYA page, in which case they autofill by default what the user entered before

the new behaviour is allowing us to pass in any arbitrary info to show in the address task, and not necessarily what the user entered last (you can enter any governing body member)

Checklist

  • Unit tests for new logic (e.g. new service methods) have been added
  • New journey steps have been added to the appropriate journey integration test(s)
  • Test suite has been run in full locally and is passing
  • Branch has been rebased onto main and run locally, with everything working as expected (both for your new feature
    and any related functionality)
  • QA instructions have been added to the ticket (particularly if this is the last PR required to complete the ticket)
  • This feature is behind a feature flag. I've checked that there will be no change in function if the feature flag is disabled

@samyou-softwire samyou-softwire self-assigned this Jul 30, 2026
@samyou-softwire samyou-softwire changed the title PDJB-1290: Autocomplete edit org gov body member address PDJB-1290: Auto-fill edit org gov body member address Jul 31, 2026
@samyou-softwire
samyou-softwire marked this pull request as ready for review July 31, 2026 12:50
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