SaFi Bank Space : FE: Customer freeze (profile)

Flow pages of “customer (subscription) freeze flow from user profile“.

UML flows

Scenarios

  1. freeze info screen is opened

  2. user clicks on continue and app shows confirmation bottom sheet

  3. Bottom sheet “confirmation prompt” is shown to user and he can either:

    1. decide to continue → call subscription freeze on PM (can trigger Err1 or Err2)

    2. abort → bottom sheet will be dismissed

  4. Flow finishes

Back action - moves back to previous page without any confirmation prompt. (or closes bottom sheets when displayed)

Code

Description

Handle

Err1

Validation errors (conditions are not met)

“conditions not met” bottom sheet

Err2

PM endpont for subscription freeze failed

TBD

Elements

Tag

Description

Data

1

Appbar

Localization key - onboarding.profile.emailChangeTitle

2

Title

Localization key - onboarding.profile.phoneChangeTitle

3

Phone number field

Localization key -

code - onboarding.emailPhone.text.code

number - onboarding.emailPhone.text.phone

asset - icons/call.svg

mandatory

4

Action button

Localization key -common.journey.text.continue

Action - saves phone and navigates to SMS OTP check page

Confirmation prompt

Tag

Description

Data

1

Header icon

Asset path - images/avatars64/17.svg

2

Title

Localization key - onboarding.profile.freezeTitle

3

Description

Localization key - onboarding.profile.freezeSubtitle

4

Positive action button

Localization key -onboarding.profile.freezeActionPositive

Action - freezes subscription

5

Negative action button

Localization key -onboarding.profile.freezeActionNegative

Action - terminates flow

Conditions not met

Tag

Description

Data

1

Header icon

Asset path - images/avatars64/15.svg

2

Title

Localization key - onboarding.profile.freeze.conditionsNotMet.title

3

Description

Localization key - onboarding.profile.freeze.conditionsNotMet.description

(failed conditions are listed)

4

Action button

Localization key -onboarding.profile.freeze.conditionsNotMet.action

Action -dismisses prompt