Repository navigation
Conversation
|
@hoangzinh 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] |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@mallenexpensify is @hoangzinh gonna be the new C+ for #66391? Or is it currently randomly assigned? |
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.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 533b108e53
ℹ️ 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".
|
PR doesn’t need product input as a refactor PR. Unassigning and unsubscribing myself. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-11-30.at.21.31.28.movAndroid: mWeb ChromeScreen.Recording.2026-11-30.at.21.29.21.moviOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-11-30.at.21.20.04.mov |
hoangzinh
left a comment
There was a problem hiding this comment.
PR is clean. Just 1 question:
| } | ||
| // Submit & Close policies have no approval chain, so the next approver is never looked up by login and personalDetailsByLogins isn't needed. | ||
| return getNextApproverAccountID(report, rules, false, undefined, undefined) === report?.ownerAccountID; | ||
| return getNextApproverAccountID(report, rules, undefined) === report?.ownerAccountID; |
There was a problem hiding this comment.
❓ q: passing undefined here still triggers the deprecated global lookup inside getAccountIDsByLogins. Do you think pass {} or a constant like NO_PERSONAL_DETAILS_BY_LOGIN = {} is a more honest value?
There was a problem hiding this comment.
I'm fine passing it as undefined since that's also the pattern around other cases. In the end, getAccountIDsByLogins will remove the global lookup after everything is migrated.
There was a problem hiding this comment.
I'm worried it only cause an issue when we remove the global lookup in the final PR. Anyway, as long as you can manage it. I'm okay.
|
@bernhardoj can you try to resolve conflict + Typescript? I will try to complete checklist after that. |
|
@hoangzinh done |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 mountiny 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/mountiny in version: 9.5.56-0 🚀
|
|
No help site update needed — this PR refactors approver-data handling and fixes the report’s next-step display after splitting expenses offline, restoring expected behavior without changing documented workflows. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.5.56-2 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Fixed Issues
$ #66391
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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
split.mp4