Epic: SM-38 - ONB: Provide necessary data for onboarding Done
User story: SM-1673 - Fetching and filling address info Done

 

User story: As a customer I want to get the address info prefilled in all possible UI address fields so that I don’t have to bother to fill it in by myself.

Role: Customer

Objective:
1. To display a dialogue window to ask for the customer’s approval with fetching the address info
2. To fetch the address info,
3. Fill it in UI fields
4. Get aligned with catalogue address values
5. Enable the additional choice from the list of values (catalogue)

Reason: Save time and prevent misinformation

Functional requirements:
Following UI address fields will be automatically filled in (geolocation service is applied here):

  1. Country

  2. Province

  3. City / Municipality

Following UI address fields will offer a catalogue list (no geolocation service is applied here):
1. Barangay

(blue star) A dialogue window will appear on the Residental address screen https://www.figma.com/file/dkDQHRa1zq7tU58MiL6hBR/SaFi---UI---MVP-(Shared)?node-id=484%3A8271
wherein the customer will choose between fetching the address info or not.
In case of a positive answer, permission for location service can be asked, if it hadn’t been
provided before via Device Fingerprint service.

(blue star) All 4 fields are enabled for additional choice from the list of values (catalogue).


Following UI address fields will be empty and editable (no catalogue list):

  1. Street name

  2. Street number

  3. ZIP code

UI requirements: n/a

Internal dependencies: n/a

External dependencies: Google geolocation service

Alternative scenarios: All fields are enabled for manual entries.

Acceptance criteria:
1. All fields are filled in based on Functional requirements
2. All fields are editable based on Functional requirements

Links to wireframes/UI: https://www.figma.com/file/dkDQHRa1zq7tU58MiL6hBR/SaFi---UI---MVP-(Shared)?node-id=484%3A8271