Updated FluxC hash to avoid overwriting locally changed Posts #8940
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.
Fixes #8932 by bringing back the functionality first introduced in #3001
The changes are in the corresponding FluxC PR wordpress-mobile/WordPress-FluxC-Android#1064
This PR makes sure to not overwrite posts that are marked as locally changed. Whenever the post list refreshes, local changes are retained.
This PR only brings back what was working before. Now we have revisions and are in a better position (in regards to the information we've got available) to implement something better. I've left further changes for other PRs to get a better UX (for example by expressly telling the user about the changes and such), waiting for design flow input in #5984 (comment) - it may be good to go along the lines of what @oguzkocer suggested in #5984 (comment)
Also citing an obvious implication of this PR here (but important to note nevertheless), taken from #3001 description:
To test:
Update release notes:
RELEASE-NOTES.txt.