-
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/27165: don't allow go to next step if empty waypoint #28308
Fix/27165: don't allow go to next step if empty waypoint #28308
Conversation
@allroundexperts 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] |
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.
Thank you for using withOnyx to load the transaction!
src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js
Outdated
Show resolved
Hide resolved
Hi @DylanDylann! |
@allroundexperts @tgolen Currently, We have a general bug that relates to shouldReset logic as mentioned in #26946 (comment) and #28566 Context:
After step 3, id field in iou will be Line 2252 in c415f7b
It makes shouldReset is true and iou field is reset, all data is lost |
IMO, we should hold this PR until #26538 is resolved |
Yeah, either we should hold this PR until my refactorings are done, or merge this PR with the known |
@tgolen I think we should hold this PR to avoid unexpected behavior for users. If it is ok, please help to hold this PR. Thanks |
Just an FYI that my PR went into review yesterday. |
@allroundexperts It seems there are no blocker now, could you help to check? thanks |
Bump @allroundexperts Could you help to take a look at this issue? |
@DylanDylann I think we need to remove the |
@allroundexperts It seems some other change makes this PR no longer hold. I can remove the hold label now |
src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js
Show resolved
Hide resolved
dfec7b7
to
808f9da
Compare
@allroundexperts Bump please help to take a look at this PR. Thanks |
@allroundexperts Bump could you help to check this PR? |
I'm not sure why this was taken off HOLD. The PR that it was held on has not been merged.
Did you decide to move ahead with merging this with the known |
@tgolen We decided to hold this PR because of this reason. But in some days ago, I re-tested this PR and saw that It works well. It seems some recent changes make this PR isn't blocked anymore. |
OK, as long as the |
@allroundexperts Bump, please help to check this PR? Thanks |
On it today! |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-11-02.at.8.57.57.PM.movMobile Web - ChromeScreen.Recording.2023-11-02.at.9.14.07.PM.movMobile Web - SafariScreen.Recording.2023-11-02.at.9.14.57.PM.movDesktopScreen.Recording.2023-11-02.at.9.22.50.PM.moviOSScreen.Recording.2023-11-02.at.9.16.18.PM.movAndroidScreen.Recording.2023-11-02.at.9.18.16.PM.mov |
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.
Tests well!
✋ 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/roryabraham in version: 1.3.96-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.96-15 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.97-7 🚀
|
Details
In distance request, prevent request money if empty waypoint
Fixed Issues
$ #27383
PROPOSAL: #27383 (comment)
Tests
Offline tests
Same above
QA Steps
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
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)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
web-resize.mp4
Mobile Web - Chrome
chrome-resize.mp4
Mobile Web - Safari
safari-resize.mp4
Desktop
Screen.Recording.2023-09-20.at.11.08.00.mp4
iOS
ios-resize.mp4
Android
android-resize.mp4