[Simplified Collect][Taxes] Create WorkspaceTaxesPage#37870
[Simplified Collect][Taxes] Create WorkspaceTaxesPage#37870luacmartins merged 25 commits intoExpensify:mainfrom
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) |
luacmartins
left a comment
There was a problem hiding this comment.
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.
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 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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
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