fix: [Track tax] Disabled tax rate can be selected.#44046
fix: [Track tax] Disabled tax rate can be selected.#44046MonilBhavsar merged 1 commit intoExpensify:mainfrom
Conversation
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
|
@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 |
MonilBhavsar
left a comment
There was a problem hiding this comment.
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.
Does header needs to be wrapped in the function?
There was a problem hiding this comment.
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
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 🚀
|
| }; | ||
|
|
||
| const dismiss = () => { | ||
| Navigation.goBack(ROUTES.WORKSPACE_TAXES_SETTINGS.getRoute(policyID)); |
There was a problem hiding this comment.
This caused a regression #57233, we should navigate to WORKSPACE_DISTANCE_RATE_DETAILS page not WORKSPACE_TAXES_SETTINGS
Details
Fixed Issues
$ #43613
PROPOSAL: #43613 (comment)
Tests
Precondition:
Offline tests
Precondition:
QA Steps
Precondition:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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
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