Repository navigation
🍒 Cherry pick PR #98346 to staging 🍒 - #98377
Conversation
(cherry picked from commit aae1f85) (cherry-picked to staging by roryabraham)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 53766385b6
ℹ️ 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".
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.4.52-7 🚀
|
|
🤖 No help site changes required. This PR is a cherry-pick to Why no docs update is needed
Since no changes are required, I did not open a draft help site PR. |
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.4.52-10 🚀
|
Help site review — no docs changes required ✅This PR is a cherry-pick to I reviewed What I checkedThe only help article that comes close is
Neither describes Note: I couldn't verify against the live UI this run (the test session was signed out), so this conclusion is based on the diff and the help-site content. The reverted feature was never documented either way. @roryabraham — since no help site changes are required, I did not create a docs PR. Please confirm you agree the reverted feature isn't covered by any help article; if you'd like a doc added or updated regardless, let me know and I'll open one. |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.4.52-11 🚀
Bundle Size Analysis (Sentry): |
🍒 Cherry pick [cp staging] Revert #97005 to staging 🍒
Explanation of Change
Manual cherry-pick of [cp staging] Revert #97005 to
staging.The automated CP failed because
stagingdoesn't have the follow-up work that landed onmainon top of #97005, so the revert diff didn't apply cleanly. Three files needed manual conflict resolution:src/components/MoneyRequestReportView/MoneyRequestReportTransactionsNavigation.tsx— took the reverted (pre-#97005) version, then dropped thepersonalDetailsargument threaded intogetReportIDToOpenForExpenseandcreateTransactionThreadReport. That parameter only exists onmain; the signatures onstagingdon't accept it.src/languages/el.ts— removedcurrentOfTotalalong with the@contextcomment thatstagingcarries for it. The revert removes the key fromen.tsand nothing references it anymore.tests/unit/components/MoneyRequestReportTransactionsNavigation.test.tsx— deleted, as the revert does. The only changestaginghad in this file was removing ausePersonalDetailsmock.One further deviation from the revert, in a file git merged cleanly but which then failed to compile:
tests/unit/ExportActionsTest.ts— left atstaging's version, so this file is untouched by the CP. The revert drops anas MockFetchcast that is only safe againstmain's newerTestHelper, wheregetGlobalFetchMock()returnsMockFetch; onstagingit still returnstypeof fetch, so removing the cast is a type error. Everything else the revert changed in this file is formatting.Fixed Issues
$ #98200
$ #98196
$ #98193
$ #98192
Tests
N/A — this is a revert. Verified on this branch after resolving the conflicts:
npm run typecheck-tsgo— cleannpm run lint-changed— cleannpx oxfmt --checkon all changed files — cleannpm run react-compiler-compliance-check check-changed— passed (50 changed React files, both Babel and OXC)Jest across the affected areas — 189 tests passed:
MoneyReportHeaderMoreContentTest,ExportActionsTest,TransactionThreadNavigationUtilsTest,MoneyRequestReportTransactionListActiveTransactionIDsTest,useSearchShouldCalculateTotals,searchTotalsLoadingDataTest,MoneyRequestReportNavigation,ExportOnyxStateTest,PopoverMenu,PopoverMenuV2Test,ExpenseFlatSearchViewTestNo remaining references to any symbol the revert deletes (
useMoneyReportHeaderMoreContentVisibility,TRANSACTION_THREAD_NAVIGATION_SNAPSHOT_HASH,anchorTransactionID)Verify that no errors appear in the JS console
Offline tests
N/A — this is a revert.
QA Steps
N/A — this is a revert.
Important
This PR should ideally be merged by a member of the mobile-deployers team. If it is merged by someone who is not a deployer, the staging deploy triggered by the merge will fail and will need to be manually re-triggered (not just retried) via the deploy workflow.
PR Author Checklist
Completed on the same basis as the original revert, [cp staging] Revert #97005: this restores behavior already shipped to production, so there is no new behavior to test on each platform. The verification actually run on this branch is listed under
Testsabove.### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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
N/A — this is a revert of #97005, which restores the behavior currently in production. See the screenshots on the original revert, [cp staging] Revert #97005.