User residential address page of “identity check subflow“.
UML flows
Scenarios
screen is opened and after some delay (500ms) location prompt bottom sheet is shown
User decides whether he will share his location to us
agrees → location is gathered and converted to address
Err1 when permission missing
Err2 when permission is locked
Err3 when BE service fails
close prompt
User can edit fields
country field edit → load provices (can fail with Err4)
province field edit → load cities (can fail with Err4)
city field edit → load barangays (can fail with Err4)
barangay field edit → zip is pre-filled from selected barangay
User clicks continue and local validation is performed (Err5 can be triggered) → address value is filled to customer data (Err6 can be triggered)
App shows summary bottom sheet
user can decide to edit profile → navigates back to profile with previous data pre-filled
user can decide to edit address → navigates back to address with previous data pre-filled
confirm his data
After summary confirm, workflow is finished (can trigger Err7)
App navigates to “new account root page“ with sub-flow marked as completed
Back action - moves back to previous page of subflow without any confirmation prompt. (or closes bottom sheets when displayed)
Code | Description | Handle |
---|---|---|
Err1 | Location permission not granted | Inline error - localization key - TDB |
Err2 | Location permission locked | Inline error - localization key - TBD |
Err3 | CM location endpoint fails | TBD |
Err4 | CM address endpoint(s) fails | TBD |
Err5 | Validation errors | Mandatory checks |
Err6 | CM address save endpoint fails | TBD |
Err7 | CM workflow finish endpoint fails | TBD |
Elements
Tag | Description | Data |
---|---|---|
1 | Appbar | Localization key - |
2 | Title | Localization key - |
3 | Description | Localization key - |
4 | Country | Localization key - Source - |
5 | Province | Localization key - Source - |
6 | City | Localization key - Source - |
7 | Barangay | Localization key - Source - |
8 | Street name | Localization key - |
9 | Street number | Localization key - |
10 | Zipcode | Localization key - Prefilled with value after barangay is picked |
11 | Action button | Localization key - Action - saves address data and show “Summary prompt“ |
Location prompt
UI - To be added
Tag | Description | Data |
---|---|---|
1 | Title | Localization key - |
2 | Description | Localization key - |
3 | Negative action | Localization key - |
4 | Positive action | Localization key - |
5 | Inline error area | Errors: permanent permission denied - other errors - |
Summary prompt
Tag | Description | Data |
---|---|---|
1 | Title | Localization key - |
2 | Section title (for personal info) | Localization key - |
3 | Edit (for personal info) | Localization key - Action - navigates user back to edit of Personal info |
4 | Name | Localization key - |
5 | Gender | Localization key - |
6 | Date of birth | Localization key - |
7 | Place of birth | Localization key - |
8 | Nationality | Localization key - |
9 | Section title (for residential address) | Localization key - |
10 | Edit (residential address) | Localization key - Action - navigates user back to edit of Address |
11 | Country | Localization key - |
12 | Province | Localization key - |
13 | City | Localization key - |
14 | Barangay | Localization key - |
15 | Street name and number | Localization key - |
16 | Zipcode | Localization key - |
17 | Action button | Localization key - Action - finished workflow stage and navigates user back to onboarding “guide post“ page (with steps 1-4) |
Attachments:
plantuml_1662665822209.svg (image/svg+xml)
plantuml_1662665822209 (text/plain)
image-20221025-191755.png (image/png)
image-20220913-135822.png (image/png)
image-20221024-190008.png (image/png)
image-20221024-193454.png (image/png)
image-20221024-193612.png (image/png)
image-20221025-194135.png (image/png)
image-20221025-200347.png (image/png)
plantuml_1662665822209.svg (image/svg+xml)
plantuml_1662665822209 (text/plain)
plantuml_1662665822209.png (image/png)
plantuml_1662665822209 (text/plain)
plantuml_1662665822209.svg (image/svg+xml)
plantuml_1662665822209.png (image/png)