Repository navigation
fix deleted expense still visible offline #49878
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
Merged
jasperhuangg
merged 6 commits into
Expensify:main
from
huult:49329-deleted-expense-still-visible-offline
Sep 30, 2024
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f2c1714
fix deleted expense still visible offline
huult b9e4554
chore run prettier
huult 43a4e7c
Merge remote-tracking branch 'upstream/main' into 49329-deleted-expen…
huult 5fef1cb
revert help file and move the DELETE_MONEY_REQUEST command under CLOS…
huult d0fc60b
revert file index.md
huult 2c98356
delete file index.markdown
huult File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
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
DeleteMoneyRequestwhich 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
lastUpdateIDFromClientandpreviousUpdateIDare not the root problem. Instead we probably need to fix the onyx updates themselves or maybe the way we're rendering them in React.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 friendly bump for reverting this. It's critical that we clean this up.