Select residence country by searchable name #65

Merged
tech merged 2 commits from kyc-64 into main 2026-10-23 10:12:13 +00:00
Owner

Customers currently have to type a country code during identity verification. This replaces the field with a searchable selector: selecting Poland displays its localized name and stores PL in the existing identity profile.

Uses country_picker 2.0.28 CountryService and CountryLocalizations for bundled data and EN/RU names, with Material controls for accessible rows, clear no-results recovery, keyboard selection and Back/Escape cancellation. Prefilled values, disabled state and existing KYC journey telemetry are preserved. No remote country lookup or new application provider is needed.

Validation: format check for all five changed Dart files; flutter analyze in frontend/app; make test-frontend (222 tests); flutter build web including Wasm dry run; browser smoke test searching/selecting Poland. Focused tests cover names/codes, stored code, reselection, cancellation, empty results, clear, saved values, EN/RU, busy state, keyboard and 320px layout with 1.6 text scale and long country names. Native screen-reader/device keyboard checks remain release work; existing server-review measurement gaps are documented in docs/ux/kyc.md.

Closes #64.

Customers currently have to type a country code during identity verification. This replaces the field with a searchable selector: selecting Poland displays its localized name and stores PL in the existing identity profile. Uses country_picker 2.0.28 CountryService and CountryLocalizations for bundled data and EN/RU names, with Material controls for accessible rows, clear no-results recovery, keyboard selection and Back/Escape cancellation. Prefilled values, disabled state and existing KYC journey telemetry are preserved. No remote country lookup or new application provider is needed. Validation: format check for all five changed Dart files; flutter analyze in frontend/app; make test-frontend (222 tests); flutter build web including Wasm dry run; browser smoke test searching/selecting Poland. Focused tests cover names/codes, stored code, reselection, cancellation, empty results, clear, saved values, EN/RU, busy state, keyboard and 320px layout with 1.6 text scale and long country names. Native screen-reader/device keyboard checks remain release work; existing server-review measurement gaps are documented in docs/ux/kyc.md. Closes #64.
tech added the frontend label 2026-10-23 09:48:20 +00:00
tech self-assigned this 2026-10-23 09:48:20 +00:00
tech added 1 commit 2026-10-23 09:48:20 +00:00
tech added 1 commit 2026-10-23 09:48:36 +00:00
tech merged commit 464bd2d565 into main 2026-10-23 10:12:13 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tech/sxchnge#65