-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix duplicate endpoints #32999
fix duplicate endpoints #32999
Conversation
@rushatgabhane |
@rushatgabhane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Regarding the edge case where the user comes via deep link to the participants page with invalid waypoints, I notice that this PR which deals with refactoring the money request flow has not included this functionality in |
This comment was marked as outdated.
This comment was marked as outdated.
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeMacOS: Chrome / SafariScreen.Recording.2023-12-25.at.11.04.19.mov |
@danieldoglas |
Sorry for the delay, I was OOO |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.4.23-0 🚀
|
@danieldoglas, We have a TC where we explicitly allow duplicate stops. Can you pls confirm this no longer relevant TC? |
I think we do support duplicate stops, but not consecutive duplicate stops. So you should be able to add the same address several times, as long as they have another address between them |
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.23-4 🚀
|
@rushatgabhane @danieldoglas
Details
Currently, duplicate endpoints are prevented in scenarios where user enter 2 waypoints. However, when duplicate endpoints are present in scenarios where user has entered more than 2 waypoints, the App does not prevent going to the next step. This PR implements additional error handling and prevent the users to go to the next step.
Fixed Issues
$ #29895
PROPOSAL: #29895 (comment)
Tests
Steps:
1 Click
Request Money
via Global FAB(+)2 Select Start Address (A)
3 Select Finish Address (B)
4 Click
Add stop
and add Address (B)Expected Result: Verify error message
Please remove duplicate endpoints
just above theNext
button. Also, click onNext
button should not proceed to next step.5 Remove the stop waypoint (B).
Expected Result: Verify that no error message is displayed. Also, click on
Next
button should proceed to next step.Offline tests
Same as the Steps for Tests Section.
QA Steps
Same as the Steps for Tests Section.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web-Safari
29895-web-safari.mp4
Desktop
29895-desktop.mp4
Mobile Web - Chrome
29895-mweb-chrome.mp4
Mobile Web - Safari
29895-mweb-safari.mp4
iOS
29895-ios-native.mp4
Android
29895-android-native.mp4
Offline-Desktop
29895-offline.mp4