[Payment due @truph01] Add Auto-categorize new expenses workspace setting to let strict admins disable auto-categorization - #98030
Conversation
…ns disable auto-categorization
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
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.
|
|
not overdue |
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx bun ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
|
@truph01 can you please prioritize this PR? Thanks 🙏 |
|
@dukenv0307 Sure |
|
Bug 1:
In step 4, I think it should:
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-08-26.at.12.22.00.movAndroid: mWeb ChromeScreen.Recording.2026-08-26.at.12.22.46.moviOS: HybridAppScreen.Recording.2026-08-26.at.12.15.23.moviOS: mWeb SafariScreen.Recording.2026-08-26.at.12.14.25.movMacOS: Chrome / SafariScreen.Recording.2026-08-26.at.12.09.02.movScreen.Recording.2026-08-26.at.12.23.22.mov |
|
Bug 2: The "Analyzing ..." is briefly shown in the category field after creating an expense where the workspace's Screen.Recording.2026-08-26.at.12.25.27.mov |
|
@truph01 I think you mean |
Good catch, I fixed |
heyjennahay
left a comment
There was a problem hiding this comment.
Product change LGTM 👍
|
🚧 jasperhuangg 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/jasperhuangg in version: 9.4.66-0 🚀
|
|
Yes, help site changes are required. Draft PR: #100099 Why: this PR adds the Auto-categorize new expenses workspace setting, but the help site described automatic categorization as something that always runs, with no way to turn it off. What the docs PR changes
UI verification: I drove the live app before writing. The path is Workspaces > [workspace name] > Categories > More > Settings, the page header is Settings, and the page shows Members must categorize all expenses and Auto-categorize new expenses, both on by default. That matches the copy added in Two pre-existing doc inaccuracies I found but did not fixNeither is caused by this PR, so I left both out of the docs PR and noted them in its body:
I couldn't run @dukenv0307, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
Deploy Blocker #100108 was identified to be related to this PR. |
|
Deploy Blocker #100110 was identified to be related to this PR. |
|
Deploy Blocker #100111 was identified to be related to this PR. |
|
Deploy Blocker #100117 was identified to be related to this PR. |
[CP Staging] Revert #98030 - Add Auto-categorize new expenses workspace setting to let strict admins disable auto-categorization
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.4.68-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.4.68-1 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Payment issue created: #100225 |
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.4.69-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.4.69-1 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Add Auto-categorize new expenses workspace setting to let strict admins disable auto-categorization
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/669240
PROPOSAL:
Tests
Auto-categorize new expensesis shown and enabled by defaultAuto-categorize new expensesis disabled and the category is added automatically whenAuto-categorize new expensesis enabledOffline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, 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.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
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-08-07.at.5.32.01.PM.mov