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

Add street autocomplete to alternate address form #487

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

Abban
Copy link
Member

@Abban Abban commented Sep 6, 2024

We're about to do a test that needs both features
so now both address forms have both form orders

I also noticed that the error summaries weren't displaying
all the errors on the alternate form when the donor had
selected yes for receipt and not selected an address type.

Ticket: https://phabricator.wikimedia.org/T374216

@moiikana
Copy link
Contributor

moiikana commented Sep 9, 2024

( ℹ️ for reviewers: supposed to be tested with ap=1&afo=1 I think)
deployed this branch at https://testing02.wikimedia.customers.manitu.net

@Abban Abban force-pushed the street-autocomplete-new-address branch 4 times, most recently from dfbdc8a to b10c277 Compare September 10, 2024 14:14
We're about to do a test that needs both features
so now both address forms have both form orders.

The bank validation error in the summary wasn't appearing
so I modified the summary components to watch the store
through a computed value.

Some of the error summaries contained the wrong focus and
scroll ids for the direct debit field. This should now be
fixed.

The summary was vanishing if the bankdata was invalid and
the rest of the form was valid, so I updated the
useAddressFormEventHandlers composable to mark it as invalid
properly and added a test.

I also noticed that the error summaries weren't displaying
all the errors on the alternate form when the donor had
selected yes for receipt and not selected an address type.

Ticket: https://phabricator.wikimedia.org/T374216
@Abban Abban force-pushed the street-autocomplete-new-address branch from b10c277 to a88f01f Compare September 10, 2024 14:24
@moiikana moiikana merged commit 8265a48 into main Sep 10, 2024
3 checks passed
@moiikana moiikana deleted the street-autocomplete-new-address branch September 10, 2024 14:34
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