fix - Expense - Uncategorized category disappears after selection but treats it as existing category#91469
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid: mWeb Chromeandroid.moviOS: HybridAppios.moviOS: mWeb Safariim.movMacOS: Chrome / SafariScreen.Recording.2026-05-25.at.10.10.28.mov |
|
@Julesssss 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. |
|
🚧 @Julesssss has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 9.3.83-0 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR and the help site files under No help site changes are required. This PR adds a validation check to prevent creating a category named "Uncategorized" (a reserved system value). The relevant help article (Create-expense-categories.md) documents the workflow for creating categories but does not enumerate specific reserved/invalid category names — and it shouldn't. The user will see an inline error message if they attempt to use "Uncategorized" as a category name, which is the appropriate UX for this kind of validation. @FitseTLT, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
Explanation of Change
Fixed Issues
$ #90704
PROPOSAL: #90704 (comment)
Tests
UncategorizedOffline tests
same as tests
QA Steps
same as tests
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: mWeb Chrome
2026-05-23.00-03-17.mp4
iOS: Native
2026-05-23.01-56-02.mp4
iOS: mWeb Safari
2026-05-23.00-00-48.mp4
MacOS: Chrome / Safari
2026-05-22.23-59-46.mp4