-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix deleted expense still visible offline #49878
fix deleted expense still visible offline #49878
Conversation
Signed-off-by: Huu Le <20178761+huult@users.noreply.github.com>
@aimane-chnaif 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] |
Signed-off-by: Huu Le <20178761+huult@users.noreply.github.com>
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.mp4Android: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / Safariweb.movMacOS: Desktop |
Bug still reproducible on android: android.mp4Edit: I was testing on old codebase. Not reproducible anymore after pulling latest main android.mp4 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.0.43-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.0.43-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.43-6 🚀
|
@@ -9,6 +9,7 @@ const requestsToIgnoreLastUpdateID: string[] = [ | |||
WRITE_COMMANDS.OPEN_APP, | |||
SIDE_EFFECT_REQUEST_COMMANDS.RECONNECT_APP, | |||
WRITE_COMMANDS.CLOSE_ACCOUNT, | |||
WRITE_COMMANDS.DELETE_MONEY_REQUEST, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasperhuangg @aimane-chnaif @huult hey guys I noticed this change while working on another issue. Similar to another instance here, this is probably the wrong way to fix the bug we were addressing here. This disables reliable updates for DeleteMoneyRequest
which can cause reliability issues. Can we revert this and try fixing the root problem another way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arosiclair We need a backend update. If lastUpdateIDFromClient is less than the previousUpdateID received, the client needs updating.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what change is needed specifically, but lastUpdateIDFromClient
and previousUpdateID
are not the root problem. Instead we probably need to fix the onyx updates themselves or maybe the way we're rendering them in React.
Details
Fixed Issues
$ #49329
PROPOSAL: #49329 (comment)
Tests
Same QA step
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-09-28.at.13.55.39.mp4
Android: mWeb Chrome
Screen.Recording.2024-09-28.at.13.52.03.mp4
iOS: Native
Screen.Recording.2024-09-28.at.13.45.20.mp4
iOS: mWeb Safari
Screen.Recording.2024-09-28.at.13.47.58.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-09-28.at.13.38.39.mp4
MacOS: Desktop
Screen.Recording.2024-09-28.at.13.40.54.mp4