-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat: add new input fields for tax tracking #32550
feat: add new input fields for tax tracking #32550
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 |
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.
Looks great! Let's ship it
@@ -777,12 +825,15 @@ export default compose( | |||
key: ({policyID}) => `${ONYXKEYS.COLLECTION.POLICY}${policyID}`, | |||
selector: DistanceRequestUtils.getDefaultMileageRate, | |||
}, | |||
draftTransaction: { | |||
splitTransactionDraft: { |
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.
NAB, this seems unused and can be removed in a follow up PR as it is unrelated to this change
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.
O will see to it.
✋ 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 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
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