wordpress-mobile / wordpress-mobile/WordPress-Android
Run remote-auto-save periodically in Editor
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
We periodically auto-save a post which is being edited into the local storage. However, several users experienced a very unpleasant bug in the app which resulted in content loss.
I think we might want to consider running remote-auto-save periodically when the user is in the editor. We can't run it every 10 seconds as we'd be wasting a lot of users' data. But saving the content every 2-5 minutes might be reasonable. We could take it one step further and perform the remote-auto-save only when the post's content was significantly changed.
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
Start by locating the editor's periodic local-storage auto-save and the remote-auto-save entry point. Determine how a 2–5 minute schedule and significant content changes would interact with data usage. Done means edited post content is periodically saved remotely without saving unnecessarily, with tests covering the scheduling or change-detection behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100