Fix - App crashes when importing CSV of employees#87520
Conversation
|
@Krishna2323 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] |
|
@francoisl 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] |
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: 249a6674da
ℹ️ 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".
|
@FitseTLT let's add a small summary of the PR in the |
Done |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Makes sense 👍
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid_hybrid.mp4Android: mWeb Chromeandroid_mWeb.mp4iOS: HybridAppios_hybrid.mp4iOS: mWeb Safariios_mWeb.mp4MacOS: Chrome / Safariweb_chrome.mp4 |
|
Will approve once this is resolved: #87520 (comment) |
|
🚧 @francoisl 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/francoisl in version: 9.3.59-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. The changes are internal bug fixes and refactoring:
None of these changes affect user-facing feature names, workflows, settings labels, or documentation-relevant behavior. The "Import Spreadsheet" feature already exists and functions the same way — this PR just fixes a crash that occurred during its use. |
|
Hi @FitseTLT. QA team failed this PR on iOS with an original issue 1776130602931.O.mp4 |
|
I can’t repro this on the simulator. @FitseTLT, do you have a physical iOS device to test? Monosnap.screencast.2026-04-14.17-47-51.mp4 |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.3.59-4 🚀
|
|
From the issue... |
Explanation of Change
This pr removes unnecessary callback dependencies from ImportSpreadsheetConfirmModal effect (to avoid crash bug) and also refactors ModalContext to accept id as a param to re-render the same modal with different props instead of creating another modal in the stack.
Fixed Issues
$ #86704
PROPOSAL: #86704 (comment)
Tests
Offline tests
same as tests
QA Steps
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
2026-04-09.21-34-43.mp4
Android: mWeb Chrome
2026-04-09.19-24-59.mp4
iOS: Native
2026-04-09.22-46-55.mp4
iOS: mWeb Safari
2026-04-09.19-28-18.mp4
MacOS: Chrome / Safari
2026-04-09.19-20-07.mp4