-
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
fix: [Track tax] Disabled tax rate can be selected. #44046
fix: [Track tax] Disabled tax rate can be selected. #44046
Conversation
Signed-off-by: Krishna Gupta <[email protected]>
@hungvu193 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] |
Is this ready? Can you please complete the checklist before marking it as ready 🤔 |
Recordings are left, I'm on it. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb Chromeinternet issue. iOS: NativeIOS.moviOS: mWeb SafarimSafari.movMacOS: Chrome / SafariChrome.movMacOS: DesktopDesktop.mov |
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
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.
Hmm, we agreed to update the TaxPicker component. Then why this changes?
<HeaderWithBackButton | ||
title={translate('workspace.taxes.taxRate')} | ||
shouldShowBackButton |
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.
Does header needs to be wrapped in the function?
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.
Since we used the insets
, I believe we should do that.
We also did that in other places where we wanted to use insets
ie BaseSidebarScreen
or WorkspaceNewRoomPage
App/src/pages/home/sidebar/SidebarScreen/BaseSidebarScreen.tsx
Lines 40 to 46 in 633e708
{({insets}) => ( | |
<> | |
<TopBar | |
breadcrumbLabel={translate('common.inbox')} | |
activeWorkspaceID={activeWorkspaceID} | |
/> | |
<View style={[styles.flex1]}> |
WDYM? We agreed to use TaxPicker instead of SelectionList. |
Friendly bump @MonilBhavsar for your final review 😄 |
Okay, i got it wrong. I was thinking that there's something wrong in TaxPicker and we'll be fixing it too 😄 |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
Fixed Issues
$ #43613
PROPOSAL: #43613 (comment)
Tests
Precondition:
Offline tests
Precondition:
QA Steps
Precondition:
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_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native_2.mp4
iOS: mWeb Safari
ios_native.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4