Repository navigation
fix: show created expense after FAB submission in Reports - #90046
Conversation
|
I changed from the |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 95cf2fe113
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
The lint failure is also not from this pr |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-05-14.at.8.55.48.PM.movAndroid: mWeb ChromeScreen.Recording.2026-05-14.at.8.51.59.PM.moviOS: HybridAppScreen.Recording.2026-05-14.at.8.58.32.PM.moviOS: mWeb SafariScreen.Recording.2026-05-14.at.8.50.28.PM.movMacOS: Chrome / SafariScreen.Recording.2026-05-14.at.8.48.21.PM.mov |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #87032 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
eslint is failing |
|
@blimpich the failing was not related to our PR, so pulled the main and all done now |
|
Congrats, that's your 5th PR merged! 🎉 Do you know about the ContributorPlus role? It's an opportunity to earn more in the Expensify Open Source community. Keep up the great work - thanks! |
|
@blimpich looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @blimpich 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/blimpich in version: 9.3.74-7 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is an internal bug fix that updates how search snapshots are populated optimistically — no user-facing features, settings, flows, or terminology were added or changed. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.74-7 🚀
|
Explanation of Change
This PR updates the Search page setup flow to wait for a pending deferred
SEARCHwrite to flush before firing the search request.A deferred
SEARCHwrite has not entered the sequential queue yet, sowaitForWritescannot wait for it. This change addswaitForDeferredFlush()and uses it inuseSearchPageSetupso the search request runs only after the deferred write is flushed, then usesskipWaitForWrites: false.This prevents Reports / Expenses from searching too early after creating an expense via FAB, which could show skeleton loading followed by the "You haven't created any expenses yet" empty state.
Fixed Issues
$ #87032
PROPOSAL: #87032 (comment)
Tests
+button.Offline tests
N/A
QA Steps
Same as Tests.
// TODO: These must be filled out, or the issue title must include "[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-native-reports-fix.mov
Android: mWeb Chrome
android-web-reports-fix.mov
iOS: Native
ios-native-reports-fix.mov
iOS: mWeb Safari
ios-web-reports-fix.mov
MacOS: Chrome / Safari
macos-reports-fix.mov