Skip to content
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

Async Posting: When offline, queue posts to upload later #9319

Closed
frosty opened this issue May 9, 2018 · 3 comments
Closed

Async Posting: When offline, queue posts to upload later #9319

frosty opened this issue May 9, 2018 · 3 comments

Comments

@frosty
Copy link
Contributor

frosty commented May 9, 2018

When publishing posts while offline, we currently attempt to upload them but they instantly fail and become 'upload failed' drafts:

As a future enhancement, we could make the following changes to this behaviour:

  • Don't attempt an upload if we know we have no connectivity
  • Queue uploads for later when we have no connections
  • Only attempt the upload when a connection returns
@rajatjindal
Copy link

Hi @frosty

I am running into similar issue

When i wrote some drafts when i was flying , i thought they will sync up automatically once i am online

But they are now stuck forever as failed upload, even if i have connectivity it does not work

Is there a compatibility matrix with wordpress version this app support? I think i am running the latest version

@SiobhyB
Copy link
Contributor

SiobhyB commented Sep 24, 2018

We also received a request for improved offline editing in 1436691-z:

Your app is nice and could be "nearly" perfect. But it is not. The problem with your app is that you can't save a post locally and upload it when one has a stable (WiFi) connection. The result: I stopped posting.

@kean
Copy link
Contributor

kean commented May 1, 2024

The sync implementation was reworked in the scope of pcdRpT-6vS-p2:

  • Drafts sync automatically
  • If offline, the list displays an "offline changes" indicator and retries instantly when the connection is established
  • If there is a data conflict, it kicks off a new conflict resolution dialog

@kean kean closed this as completed May 1, 2024
@kean kean modified the milestones: Someday, 24.9 May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants