-
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
[Simplified Collect][Taxes] Create WorkspaceTaxesPage #37870
[Simplified Collect][Taxes] Create WorkspaceTaxesPage #37870
Conversation
@DylanDylann 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] |
@DylanDylann kind bump |
Reviewing today. I am reading the document about this feature |
Awesome, thanks! |
@DylanDylann just FYI I think you have to wait until tomorrow. I need to work on enabling Taxes feature (while enabling for the first time default taxes are not creating) |
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.
Looking good, just a comment about reusing isDisabled
and a few NAB
@DylanDylann it this the first time of enabling Taxes? Because there is an issue for BE to create two default tax rates (previously it was done by FE but it is against 1:1:1 rule) |
@filip-solecki Yes, it only happens in the first time |
@filip-solecki You mean that this bug is from BE side, right? |
I think so - previously while enabling Taxes (in the Old Dot) we called two api (1 for enabling taxes and second one for creating default tax rates) currently we call only the first one as we follow 1:1:1 rule so there is no other way to create default tax rates than enabling Taxes feature on the Old Dot. |
@luacmartins Everything looks good to me. There is a problem on the native App but @filip-solecki's explanation make sense. Then we can move forward this PR and create another issue to fix it |
@filip-solecki looks like we have conflicts now |
I've resolved conflicts as Filip is AFK. |
@luacmartins looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
All tests were passing when I merged this PR. |
✋ 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/luacmartins in version: 1.4.52-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.52-6 🚀
|
onPress={() => {}} | ||
icon={Expensicons.Plus} | ||
text={translate('workspace.taxes.addRate')} | ||
style={[styles.mr3, isSmallScreenWidth && styles.w50]} |
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.
In other places, we’re using mr2 or gap2 between buttons on headers, which is causing this issue.
Details
Fixed Issues
$ #37787
PROPOSAL:
Tests
Offline tests
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
androd.mov
Android: mWeb Chrome
android_chrome.mov
iOS: Native
UPDATE: Added header buttonsios.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
UPDATE: Added header buttonsNagranie.z.ekranu.2024-03-7.o.14.00.40.mov
MacOS: Desktop
desktop.mov