Repository navigation
BT - Migrate Workspace Categories - Edit, Settings, GL Code and Payroll Code - #88825
mjasikowski merged 12 commits into
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.
|
|
My android build is taking too much time to run. @huult Can you start with the review and I'll upload is soon. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 46a179cae4
ℹ️ 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".
WORKSPACE_CATEGORY_EDIT and WORKSPACE_CATEGORY_SETTINGS|
No product review needed |
|
@mananjadhav please resolve the conflict |
Screen.Recording.2026-05-02.at.21.47.06.movWhen I try to open the approver page, I see a ‘Page not found’ error. |
Screen.Recording.2026-05-02.at.21.51.57.movWhen I try to open the default tax rate page, I see a ‘Page not found’ error. |
Screen.Recording.2026-05-02.at.21.52.54.movWhen I try to open the description hint page, I see a ‘Page not found’ error. |
Screen.Recording.2026-05-02.at.21.53.41.movWhen I try to open the flag amout over page, I see a ‘Page not found’ error. |
Screen.Recording.2026-05-02.at.21.54.42.movI’m seeing a ‘Not Found’ error when I open the Category Rules settings. |
|
Thanks for highlighting. There was a bad commit. Fixed it. @huult This is ready for your retest/review. web-bt-categories.mov |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-05-07.at.10.09.44.mp4Android: mWeb ChromeScreen.Recording.2026-05-07.at.10.12.45.mp4iOS: HybridAppScreen.Recording.2026-05-07.at.10.15.22.mp4iOS: mWeb SafariScreen.Recording.2026-05-07.at.10.16.30.mp4MacOS: Chrome / SafariScreen.Recording.2026-05-07.at.10.05.50.mp4 |
|
@mjasikowski looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
🚧 @mjasikowski 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! 🧪🧪
|
| path: 'category-edit', | ||
| entryScreens: [SCREENS.SETTINGS_CATEGORIES.SETTINGS_CATEGORY_SETTINGS], | ||
| }, | ||
| WORKSPACE_CATEGORY_SETTINGS: { |
There was a problem hiding this comment.
@mananjadhav Could you reopen this PR and check the Settings Categories flow? Also, for any paths that have already been migrated, please remove the old routes.
|
🚀 Deployed to staging by https://github.com/mjasikowski in version: 9.3.69-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This PR is a purely technical routing/navigation refactor — it migrates workspace category screens (Settings, Edit, GL Code, Payroll Code) from flat route definitions to nested dynamic routes. The changes affect internal URL patterns and screen name constants only. No user-facing feature names, UI labels, button text, or workflow steps were modified. The existing help site article (Create expense categories) accurately describes the current user-facing steps and is not impacted by this change. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.69-18 🚀
|
Explanation of Change
Fixed Issues
$ #83832
PROPOSAL:
Tests
Workspace category settings (
workspaces/:policyID/categories/category/:categoryName)/category/<categoryName>after the workspace categories segment (e.g.workspaces/<policyID>/categories/category/<categoryName>)./category/<categoryName>)./category/<categoryName>.Workspace category edit (
workspaces/:policyID/categories/category/:categoryName/edit)/edit(e.g.workspaces/<policyID>/categories/category/<categoryName>/edit)./category/<categoryName>and not keep/edit)./edit.Workspace category GL code (
workspaces/:policyID/categories/category/:categoryName/gl-code)/gl-code(e.g.workspaces/<policyID>/categories/category/<categoryName>/gl-code)./category/<categoryName>and not keep/gl-code)./gl-code.Workspace category payroll code (
workspaces/:policyID/categories/category/:categoryName/payroll-code)/payroll-code(e.g.workspaces/<policyID>/categories/category/<categoryName>/payroll-code)./category/<categoryName>and not keep/payroll-code)./payroll-code.Offline tests
Same as test steps.
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as test steps.
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-bt-category.mov
Android: mWeb Chrome
mweb-chrome-bt-category.mov
mweb-chrome-bt-payroll-gl-code.mov
iOS: Native
ios-bt-category.mov
ios-bt-payroll-gl-code.mov
iOS: mWeb Safari
mweb-safari-bt-category.mov
mweb-safari-bt-payroll-gl-code.mov
MacOS: Chrome / Safari
web-bt-category.mov
web-bt-payroll-gl-code.mov