-
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): [#176738620] Choose card type before starting the co-badge onboarding workflow #2766
Conversation
…rd-type' into 176738620-choose-card-type
Affected stories
|
Codecov Report
@@ Coverage Diff @@
## master #2766 +/- ##
==========================================
+ Coverage 53.99% 54.02% +0.03%
==========================================
Files 802 804 +2
Lines 22136 22192 +56
Branches 4169 4166 -3
==========================================
+ Hits 11952 11990 +38
- Misses 10128 10146 +18
Partials 56 56
Continue to review full report at Codecov.
|
@@ -30,10 +32,12 @@ const loadLocales = () => ({ | |||
*/ | |||
const CoBadgeKoServiceError: React.FunctionComponent<Props> = props => { | |||
const { headerTitle, title, body } = loadLocales(); | |||
|
|||
// disable hardware back | |||
useHardwareBackButton(() => true); |
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.
why this is needed? Can you leave also a comment about this?
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.
ts/features/wallet/onboarding/cobadge/screens/search/ko/CoBadgeKoTimeout.tsx
Show resolved
Hide resolved
ts/features/wallet/onboarding/cobadge/screens/search/ko/CoBadgeKoSingleBankNotFound.tsx
Show resolved
Hide resolved
@@ -29,10 +31,12 @@ const loadLocales = () => ({ | |||
*/ | |||
const CoBadgeKoNotFound = (props: Props): React.ReactElement => { | |||
const { headerTitle, title, body } = loadLocales(); | |||
|
|||
// disable hardware back |
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.
Same as CoBadgeKoServiceError.tsx
Short description
This pr allows the user to choose the type of card to add, before starting the co-badge card addition flow.
Registrazione.schermo.2021-02-02.alle.10.56.07.mov
List of changes proposed in this pull request
navigateToOnboardingCoBadgeChooseTypeStartScreen
in order to acceptsCoBadgeChooseTypeNavigationProps
as paramsCoBadgeChooseType
screen, that allows the user to choose the right workflowwalletAddCoBadgeFromBancomatStart
and changedwalletAddCoBadgeStart
in order to accept a single abi as param.