-
Notifications
You must be signed in to change notification settings - Fork 106
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
feat(Bonus Pagamenti Digitali): [#176575256,#176578559,#176578568] Co-badge card onboarding workflow #2752
Conversation
…650-action-store-reducers
…662-navigation-screen-stubs
Affected stories
Error TypeError
Dangerfile
|
Codecov Report
@@ Coverage Diff @@
## master #2752 +/- ##
==========================================
+ Coverage 53.84% 53.91% +0.06%
==========================================
Files 782 792 +10
Lines 21591 21873 +282
Branches 4092 3778 -314
==========================================
+ Hits 11625 11792 +167
- Misses 9910 10025 +115
Partials 56 56
Continue to review full report at Codecov.
|
move cobadge models to cobadge/configuration
…662-navigation-screen-stubs
…256-onboarding-cobadge
…76559662-navigation-screen-stubs
ts/features/wallet/onboarding/cobadge/saga/orchestration/addCoBadgeToWallet.ts
Outdated
Show resolved
Hide resolved
ts/features/wallet/onboarding/cobadge/saga/orchestration/addCoBadgeToWallet.ts
Outdated
Show resolved
Hide resolved
ts/features/wallet/onboarding/cobadge/saga/orchestration/addCoBadgeToWallet.ts
Outdated
Show resolved
Hide resolved
ts/features/wallet/onboarding/cobadge/saga/orchestration/addCoBadgeToWallet.ts
Outdated
Show resolved
Hide resolved
…g-cobadge' into 176575256-onboarding-cobadge
if (bancomat.abiInfo?.abi) { | ||
props.addCoBadge(bancomat.abiInfo.abi); | ||
} else { | ||
showToast(I18n.t("global.genericError"), "danger"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we return a more specific message in this case?
@@ -16,9 +16,10 @@ const abiSelectedReducer = ( | |||
switch (action.type) { | |||
case getType(searchUserCoBadge.request): | |||
return action.payload ?? null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return action.payload ?? null; | |
case getType(walletAddCoBadgeFromBancomatStart): | |
return action.payload ?? null; |
This pr depends on #2750
Short description
This pr implements the "add co-badge to wallet" workflow, starting from a BANCOMAT.
Registrazione.schermo.2021-01-28.alle.21.59.51.mov
List of changes proposed in this pull request
BancomatDetailScreen
in order to handle the new workflow (instead of the static handling inside theBancomatInformation
component)ts/features/wallet/onboarding/bancomat/store/reducers/addingPans.ts
with the actionwalletAddBancomatStart
ts/features/wallet/onboarding/bancomatPay/store/reducers/addingBPay.ts
with the actionwalletAddBPayStart
CoBadgeStartScreen
ts/features/wallet/onboarding/cobadge/saga/orchestration/addCoBadgeToWallet.ts
to orchestrate the workflowts/features/wallet/onboarding/cobadge/screens/search/SearchAvailableCoBadgeScreen.tsx
in order to handling the results of the search available co-badge cardsts/features/wallet/onboarding/cobadge/screens/start/CoBadgeStartScreen.tsx
in order to handling the abi configuration loading.ts/features/wallet/onboarding/cobadge/store/reducers/abiConfiguration.ts
store & reducerHow to test
Manual test from entry point: