wordpress-mobile / wordpress-mobile/WordPress-Android

Run remote-auto-save periodically in Editor

Open
#10,398 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Offline Support Posting/Editing
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.