Feat: add a new category within the category list#86177
Feat: add a new category within the category list#86177amyevans merged 26 commits intoExpensify:mainfrom
Conversation
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.
|
|
@ahmedGaber93 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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: af61ad1801
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@ahmedGaber93 please complete review 🙇♂️ |
|
@daledah I think the UX flow might be missing something. After adding a new category, it should be applied directly to the expense instead of returning to the list and requiring the user to select it again. CC @dylanexpensify for confirmation. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppa.mp4Android: mWeb Chrome20260330212429779.mp4iOS: HybridAppScreen.Recording.2026-04-13.at.10.07.19.PM.moviOS: mWeb Safariiw.mp4MacOS: Chrome / Safari20260330180222407.mp4 |
|
@Expensify/design WDYT #86177 (comment)? |
Correct, that was what we had in mind! |
|
Let us know when that is fixed and we can run some test builds. |
|
@daledah could you please address this comment: #86177 (comment) and let me know when this is ready for review again? |
Screen.Recording.2026-03-30.at.16.08.25.mov@ahmedGaber93 i updated |
|
🚧 @shawnborton has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
I noticed that a sound plays when a category is created. What's the thinking there? Is that how category creation currently works? |
|
Otherwise this is testing well and looks good to me! |
|
@ahmedGaber93 i updated, please check again |
|
Looks like the failing test is not related to this PR |
|
this PR is ready to merge @amyevans |
|
Thanks! I started reviewing last week but will finish it up later today! |
|
🚧 @amyevans 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! 🧪🧪
|
|
Deploy Blocker #89635 was identified to be related to this PR. |
|
🚀 Deployed to staging by https://github.com/amyevans in version: 9.3.67-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site update needed — draft PR created. PR #86177 adds the ability for Workspace Admins to create a new category directly from the category picker during expense creation/editing. The existing help article (Create-expense-categories.md) did not document this flow. Changes made:
Draft PR: #89642 Please mark it as "Ready for review" when it is ready for review. |
|
Deploy Blocker #89646 was identified to be related to this PR. |
|
Deploy Blocker #89650 was identified to be related to this PR. |
|
Deploy Blocker #89663 was identified to be related to this PR. |
|
Third blocker so far, prepping a revert #89662 |
[CP Staging] Revert #86177 "Feat: add a new category within the category list"
Explanation of Change
Fixed Issues
$ #85681
PROPOSAL: #85681 (comment)
Tests
Offline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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.mov
Android: mWeb Chrome
a-mweb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov