wordpress-mobile / wordpress-mobile/WordPress-Android
Editor: Post contains local changes even when the user doesn't modify the post
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When I open a post in the gutenberg editor and I close it I expect the post won't contain any local changes.
Actual behavior
When I open a post in the gutenebrg editor and I close it the post contains local changes.
Steps to reproduce the behavior
- My Site
- Blog Posts
- Open a published post (eg. this long post) - it happens on some posts only after you click into the content. However, it happens on this post even when I just open it and close it)
- Press back
- Notice the post contains "Local changes" label
Tested on [device], Android [version], WPAndroid [version]
Emulator API 29
cc @mchowning you recently played with saving/exiting editor
cc @planarvoid you also have context. Would you have time to look into it during groundskeeping?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Android Gutenberg editor using the listed steps, including the linked long post, and observe when the "Local changes" label appears. Start by tracing the editor's save and exit behavior; done means opening and closing an unchanged published post no longer creates local changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100