Conversation
|
@rushatgabhane, is it possible to test with this one yet? |
|
@mollfpr looking forward to your review |
|
Review and test it now! |
mollfpr
left a comment
There was a problem hiding this comment.
Looks good!
Just an issue left. We can randomly change the taxID and submit the form but it return the not found page.
We can check the tax rate if it's available then return not found page in WorkspaceTaxCodePage. Similar to WorkspaceEditTaxPage.
Screen.Recording.2024-07-15.at.19.16.41.mp4
That seems unnecessary to me. It's not going to happen for any user, right? @Gonals should we fix this? |
dangrous
left a comment
There was a problem hiding this comment.
I didn't look fully through this yet but noticed this issue with the Onyx data and wanted to call that out first!
I think the current behavior is fine 🤷 |
Reviewer Checklist
Screenshots/VideosAndroid: Native43156.Android.mp443156.Android.-.Offline.mp4Android: mWeb Chrome43156.mWeb-Chrome.mp443156.mWeb-Chrome.-.Offline.mp4iOS: Native43156.iOS.mov43156.iOS.-.Offline.moviOS: mWeb Safari43156.mWeb-Safari.mov43156.mWeb-Safari.-.Offline.movMacOS: Chrome / Safari43156.Web.mp443156.Web.-.Offline.mp4MacOS: Desktop43156.Desktop.mp443156.Desktop.-.Offline.mp4 |
|
@mollfpr can we please prioritize this one? |
| pendingFields: {code: CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE}, | ||
| pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE, | ||
| errorFields: {code: null}, | ||
| previousTaxCode: oldTaxCode, |
There was a problem hiding this comment.
NAB - are we using this anywhere? not sure we need it
There was a problem hiding this comment.
yes, if the action fails then we need to reset the taxCode. The previousTaxCode will be used for it
| [oldTaxCode]: null, | ||
| [newTaxCode]: { | ||
| ...originalTaxRate, | ||
| code: newTaxCode, |
There was a problem hiding this comment.
Same here - do we need this?
There was a problem hiding this comment.
im using it for pending fields and showing errors. we need a key inside the object for which an error or pending action can be associated
|
✋ 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/dangrous in version: 9.0.9-1 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.9-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.9-5 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.10-7 🚀
|
| Navigation.dismissModal(); | ||
| Navigation.navigate(ROUTES.WORKSPACE_TAX_EDIT.getRoute(policyID, newTaxCode)); |
There was a problem hiding this comment.
Dismissing the modal has caused a blinking bug in #45684, we should have used Navigation.goBack to fix that bug.
Details
Fixed Issues
$ #44258
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Android: mWeb Chrome
iOS: Native
Screen.Recording.2024-07-13.at.01.11.42.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-07-10.at.00.00.23.mov
MacOS: Desktop
Screen.Recording.2024-07-13.at.01.33.27.mov