Repository navigation
Remove mostRecentReportActionLastModified from ReconnectApp calls - #57780
Merged
Merged
Conversation
puneetlath
approved these changes
Mar 4, 2025
MarioExpensify
marked this pull request as ready for review
March 4, 2025 23:49
melvin-bot
Bot
requested review from
sobitneupane
and removed request for
a team
March 4, 2025 23:49
|
@sobitneupane @ One of you needs to 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] |
MarioExpensify
requested review from
rushatgabhane
and removed request for
sobitneupane
March 5, 2025 00:00
Member
Reviewer Checklist
Screenshots/VideosAndroid: NativeWhatsApp.Video.2025-03-05.at.02.57.29.mp4Android: mWeb ChromeiOS: NativeScreen.Recording.2025-03-05.at.02.48.15.moviOS: mWeb SafariScreen.Recording.2025-03-05.at.02.42.12.movMacOS: Chrome / Safaric3.mp4Screen.Recording.2025-03-05.at.02.38.35.movMacOS: Desktop |
|
@cristipaval 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] |
cristipaval
approved these changes
Mar 5, 2025
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Closed
1 of 8 tasks
93 tasks done
Contributor
|
🚀 Deployed to staging by https://github.com/cristipaval in version: 9.1.10-0 🚀
|
Contributor
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.10-6 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CC: @puneetlath @iwiznia
Explanation of Change
Context: https://expensify.slack.com/archives/C05LX9D6E07/p1739993730112349
In the most recent versions of the app, during a full reconnect when
ReconnectAppcommand is called, all Report Action onyx updates are sent with aSetCollectionmethod. ThemostRecentReportActionLastModifiedwas used to filter out the output ofReconnectAppto retrieve only the latest updates. If for any reason the app is performing a full reconnect and themostRecentReportActionLastModifiedis sent, the BE will return only a partial list of report actions, replacing the local onyx state with only the latest reports.As we already have the
updateIDFromparameter for partial sync, we are removing themostRecentReportActionLastModifiedparameter to avoid having the App clear its internal state during fullReconnectAppcalls.Fixed Issues
$ #57784
$ #57354
PROPOSAL:
Tests
Steps for manual testing:
(browser only):
Log into test account
Refresh the tab
On every refresh, make sure the App state is correctly kept (no disappearing reports or actions)
Verify that no errors appear in the JS console
Offline tests
QA Steps
// 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))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
MacOS: Desktop