-
Notifications
You must be signed in to change notification settings - Fork 3k
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 WorkspaceTaxesSettingsPage and subpages #38373
[Simplified Collect][Taxes] Create WorkspaceTaxesSettingsPage and subpages #38373
Conversation
src/pages/workspace/taxes/WorkspaceTaxesSettingsForeignCurrency.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/taxes/WorkspaceTaxesSettingsWorkspaceCurrency.tsx
Outdated
Show resolved
Hide resolved
@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] |
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.
Some things left for follow-up, but LGTM
we handle 4 issues in this PR 😄 |
The issues are closely related, we can call it one issue: add tax settings :D |
@kosmydel nvm ::>> A busy weekend 😄 |
I will complete my review before Monday |
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.
Thanks, looking good except the optimistic actions
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.
Just the comments about offline pattern B. Otherwise code looks good and tests well. We can also do those as a follow up if you'd prefer that.
src/pages/workspace/taxes/WorkspaceTaxesSettingsCustomTaxName.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/taxes/WorkspaceTaxesSettingsCustomTaxName.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/taxes/WorkspaceTaxesSettingsCustomTaxName.tsx
Outdated
Show resolved
Hide resolved
BUG: The search feature in Tax picker doesn't work Screen.Recording.2024-03-18.at.01.13.08.mov |
@filip-solecki I have reviewed the PR. Please help to resolve comments and merge the latest main. Then I can complete the PR checklist and make a final test on the platforms Note that: I am available from 8 am to 11:59 pm (GMT +7). Let's collab to merge this PR asap |
@DylanDylann all comments addressed and bug fixed! |
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.
LGTM and tests well
Should they be loaded when the taxes page is open then? |
@filip-solecki please fix conflict |
Yea, that issue that I linked is working on optimistically creating the taxes and we'll also load it in OpenPolicyTaxesPage |
Perfect, thanks for confirming! |
adc0afd
working on TS |
@luacmartins looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
✋ 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.54-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.54-4 🚀
|
Details
This PR covers changes from 4 attached issues and moreover changes in
TaxPicker
component. While applying this changes I also replace deprecated OptionsSelector usage in this component with SelectionList.Fixed Issues
$ #37788
$ #37789
$ #37790
$ #37791
PROPOSAL:
Tests
More Features
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 methodSTYLE.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 and/or tagged@Expensify/design
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
android.mov
Android: mWeb Chrome
android_chrome.mov
iOS: Native
ios.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov