Repository navigation
Fix category tax defaults not showing in the Category RHP rules summary - #102647
Conversation
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
…ory RHP Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
Recording the platform videos now. They should be updated in a few minutes. |
|
@MelvinBot review |
Code reviewThe logic looks correct. I found no blocking bugs. The category RHP now reads the tax default from Please look at these before merging:
Checked and fine
I reviewed the code only. I didn't run the test steps in a browser. Reply with |
…he static category route Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
🚧 JmillsExpensify has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
JmillsExpensify
left a comment
There was a problem hiding this comment.
Tests well on the adhoc. Product approved.
|
@situchan canyou prioritize reviewing this PR as soon as you're able. This is a hole we'd like to plug quickly. |
JS00001
left a comment
There was a problem hiding this comment.
Code looks good, and the feature tested well, lets get situ to run a final review
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.mp4iOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
| const styles = useThemeStyles(); | ||
| const illustrations = useMemoizedLazyIllustrations(['CardReaderAlt', 'Flag', 'CheckboxText', 'ReportReceipt', 'AiBot']); | ||
| const isCategoryScopedCreate = route.name === SCREENS.WORKSPACE.DYNAMIC_CATEGORY_RULES_NEW || !!categoryName; | ||
| const isCategorySettingsFlow = route.name === SCREENS.WORKSPACE.DYNAMIC_CATEGORY_RULES_NEW; |
There was a problem hiding this comment.
Reuse this flag in these places:
|
Comment is a NAB & krishna is offline, lets ship it |
|
🚧 JS00001 has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.5.0-0 🚀
|
|
No help site update needed. The articles already describe this flow: Create-expense-categories.md:136-140 says to click Create new rule in the Category rules section and choose Apply expense defaults to "Set a default tax rate for this category." This PR makes the app match that sentence, so no article sentence is now incorrect. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.5.0-5 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Fixed Issues
$ #102645
PROPOSAL:
Tests
Prerequisite: a Control workspace with Categories, Rules and Taxes enabled, and at least two tax rates besides the workspace default (e.g. "VAT (20%)").
Update tax to "VAT (20%)"Update tax to "VAT (20%)"Update tax to "GST (10%)"Offline tests
QA Steps
Same as tests
Verify that no errors appear in the JS console
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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_hybrid.mp4
Android: mWeb Chrome
android_mWeb.mp4
iOS: Native
ios_hybrid.mp4
iOS: mWeb Safari
ios_mWeb.mp4
MacOS: Chrome / Safari
web_chrome.mp4