-
Notifications
You must be signed in to change notification settings - Fork 105
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
chore: [IOBP-316] Add return to origin page after payment flow completion #5399
Merged
Merged
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
180dfb2
Merge remote-tracking branch 'origin/master' into IOBP-316-resume-sta…
Hantex9 083a3e8
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 3cc0b68
feat: Add return to origin page after payment flow completion
Hantex9 4f90967
chore: added popToTop before to navigate
Hantex9 f9f8912
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 2102d66
chore: added sub-route handling navigation
Hantex9 3bfd87d
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 832a611
chore: changed orchestration to get current route when starting payme…
Hantex9 7a0f24a
typo: route name
Hantex9 29e02b6
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 34fbc2b
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 0c4e545
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 8890b61
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 46229af
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 1c7a0e3
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 1e9b038
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 9db9856
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
mastro993 5ca24f7
chore: addressed review feedback
Hantex9 e963a35
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 eea52e1
Merge branch 'master' into IOBP-316-resume-start-point-after-payment
Hantex9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
What if I need to navigate to a sub-route?
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.
You're right, in this way, we cannot handle a sub-route. I changed the implementation and now the action
walletPaymentInitState
accepts an object with theroot
navigator andscreen
param. In this way, it's possible to navigate anywhere after the payment flow closes.What do you think? 2102d66
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.
I think the best way is to save all the current route info, like we are currently doing in the payment sagas:
In this way we will be able to save the information on the route directly within the saga and not from the component that starts the payment flow.
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.
I like it, this is way better! Addressed into 832a611