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#28308roryabraham merged 15 commits intoExpensify:mainfrom
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] |
tgolen
left a comment
There was a problem hiding this comment.
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 |
|
✋ 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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.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