Remove deprecatedCurrentUserAccountID in src/libs/TransactionUtils/index.ts#76171
Remove deprecatedCurrentUserAccountID in src/libs/TransactionUtils/index.ts#76171mountiny merged 20 commits intoExpensify:mainfrom
deprecatedCurrentUserAccountID in src/libs/TransactionUtils/index.ts#76171Conversation
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.
|
src/libs/TransactionUtils/index.ts
src/libs/TransactionUtils/index.tsdeprecatedCurrentUserAccountID in src/libs/TransactionUtils/index.ts
|
@youssef-lr 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] |
|
@DylanDylann @Krishna2323 @shubham1206agra Could one of you please complete the checklist? |
src/components/SelectionListWithSections/Search/TransactionListItem.tsx
Outdated
Show resolved
Hide resolved
|
@rayane-d I will review and complete the checklist tomorrow. If it's urgent then anyone else can work on this. |
|
Updated |
|
Can you merge main |
|
Can you please complete the review now @Krishna2323 thanks |
Reviewer Checklist
Monosnap.screencast.2025-12-01.19-35-23.mp4Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
@rayane-d could you please add the onyx state in the QA test section? Thanks! |
Done! |
|
🎯 @Krishna2323, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #76401. |
| (hasViolations(potentialReport.reportID, transactionViolations, true, transactions, currentUserEmail, potentialReport, policy) || | ||
| hasWarningTypeViolations(potentialReport.reportID, transactionViolations, true, transactions, currentUserEmail, potentialReport, policy) || | ||
| hasNoticeTypeViolations(potentialReport.reportID, transactionViolations, true, transactions, currentUserEmail, potentialReport, policy)) | ||
| ViolationsUtils.hasVisibleViolationsForUser( |
There was a problem hiding this comment.
It would be more readable to create variables before the return so its not all glued together in this long return
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.2.67-0 🚀
|
|
@rayane-d QA team failed this PR with an original issue 1764665920160.onyx.mp4 |
|
Hmm, that's strange. The PR was testing fine before we merged it - could this be due to another PR from the checklist? looking |
|
@IuliiaHerets - it looks like you need to make sure the Onyx state was fully imported. Before testing, confirm that the account ID is set to
If the Onyx state wasn't fully imported, you'll need to import it again. Screen.Recording.2025-12-02.at.5.10.33.PM.mov |
|
@kavimuru - did you try importing the Onyx state two times to ensure that it is fully imported? What's the |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.2.70-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.70-0 🚀
|

Explanation of Change
This is a follow-up to this PR: #74738
See this discussion: #74738 (comment)
Fixed Issues
$ #73098
Part of #73098 See this discussion in this PR: #74738 (comment)
Part of #66467
PROPOSAL:
Tests
Same as tests in this PR: #74738
https://github.com/user-attachments/files/23855166/onyx-state.11.txt
commentdata to the transaction and to correct the violation name:#96832091)#1814181775632892)Offline tests
N/A
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari