feat: add new input fields for tax tracking#32550
feat: add new input fields for tax tracking#32550MonilBhavsar merged 90 commits intoExpensify:mainfrom teneeto:feat/31672/add-new-input-fields-for-tax-tracking
Conversation
…-input-fields-for-tax-tracking
…-input-fields-for-tax-tracking
…-input-fields-for-tax-tracking
|
@alitoshmatov @MonilBhavsar fixed bug relating to error message. Please let's check. |
|
Thank you! A typescript check is failing |
…-input-fields-for-tax-tracking
O yes, it's unrelated, a pull fixed it. |
|
Thanks! Merging main should fix the failing jest tests. |
…-input-fields-for-tax-tracking
|
Thanks, test fixed with a pull/merge. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativehttps://github.com/Expensify/App/assets/59907218/3e06eaa0-2f2a-4eb6-8724-2e27cc2f4be4Android: mWeb Chrometax2-mweb.moviOS: Nativetax2-ios.mp4iOS: mWeb Safaritax2-safari.mp4MacOS: Chrome / Safaritax2-web.movMacOS: Desktoptax2-desktop.mov |
|
Everything looks good, @teneeto Can you resolve conflicts and notify me. I will recheck everything quickly |
…-input-fields-for-tax-tracking
|
Hi @alitoshmatov, resolved conflict. can you check again? cc: @MonilBhavsar |
|
Everything looks great! |
|
Thank you! Taking a final look |
MonilBhavsar
left a comment
There was a problem hiding this comment.
Looks great! Let's ship it
| selector: DistanceRequestUtils.getDefaultMileageRate, | ||
| }, | ||
| draftTransaction: { | ||
| splitTransactionDraft: { |
There was a problem hiding this comment.
NAB, this seems unused and can be removed in a follow up PR as it is unrelated to this change
|
✋ 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/MonilBhavsar in version: 1.4.22-0 🚀
|
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.4.22-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.22-6 🚀
|
|
Coming from #44632: There's case when |
Details
create simple input fields that can allow inserting, editing and viewing tax details.
Fixed Issues
$: 31672
PROPOSAL: 31672
Tests
Note:
from step 8, Ensure;
9. Default tax rate and tax amount are selected
10. Tax details are not displayed if tax tracking is disabled
Also, try to edit the tax amount then make sure;
11. that there should be an error when you try to enter a tax amount that is greater than the maximum tax amount.
Offline tests
QA Steps
Note:
from step 8, Ensure;
9. Default tax rate and tax amount are selected
10. Tax details are not displayed if tax tracking is disabled
Also, try to edit the tax amount then make sure;
11. that there should be an error when you try to enter a tax amount that is greater than the maximum tax amount.
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 */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
Screen.Recording.2023-12-17.at.02.38.46.mov
Mobile Web - Chrome
Screen.Recording.2023-12-17.at.03.32.29.mov
Mobile Web - Safari
Screen.Recording.2023-12-17.at.02.45.42.mov
Desktop
Screen.Recording.2023-12-17.at.02.41.46.mov
iOS
Screen.Recording.2023-12-17.at.02.26.37.mov
Android
Screen.Recording.2023-12-17.at.03.28.54.mov