Conversation
… drop useMemo Convert isUnassigningRef to a boolean useState so the early-return guard no longer reads a ref during render, drop the lone useMemo for lastScrape, and regroup the body into the canonical section order. Made-with: Cursor
Made-with: Cursor
|
npm has a |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
failing iOS remote build is unrelated, fixed in #88492 |
|
@trjExpensify no product review needed |
|
Going to source a C+ volunteer: https://expensify.slack.com/archives/C02NK2DQWUX/p1776817996221759 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.mp4Android: mWeb Chromeandroid-mweb.moviOS: HybridAppios.moviOS: mWeb Safariios-mweb.movMacOS: Chrome / Safariweb-resize.mp4 |
|
🎯 @daledah, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
|
🚧 @Valforte 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/Valforte in version: 9.3.62-0 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
WorkspaceCompanyCardDetailsPage.tsxwas failing React Compiler with 14 "Cannot access refs during render" errors. This PR fixes that, removes manual memoization, and cleans up the component a bit (grouping like items together).Fixed Issues
(partial) #68765
PROPOSAL: N/A
Tests
Settings > Workspaces > [workspace] > Company cards > [card]).Unassign card→ confirm the modal → verify the confirm flow dispatches and the app navigates back without flashing<NotFoundPage />.<NotFoundPage />is shown.Offline tests
Update cardbutton is disabled (disabled={isOffline || card?.isLoadingLastUpdated}).QA Steps
[No QA]
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari