Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Changes get lost on leaving post #21

Open
realthargor opened this issue Mar 15, 2018 · 1 comment
Open

Changes get lost on leaving post #21

realthargor opened this issue Mar 15, 2018 · 1 comment

Comments

@realthargor
Copy link
Contributor

Sometimes a change in an post is not shown in the preview of the post. Leaving the post can result in loosing the change.

Possible reason: when opening the post the phone had an internet connection. During editing the connection is lost.

@vickychijwani
Copy link
Member

vickychijwani commented Jul 23, 2018

The app does not use the network at all when opening/editing posts. The server is only contacted when:

  • a sync is being performed (on the home screen) - this could be triggered by a change in the status or content of a post, or the addition/deletion of a draft
  • before saving a post, the latest copy of the post is downloaded to check if there are potential conflicts that need resolving (in case the post has been modified by someone else too)
  • uploading an image

A reproducible scenario or a different explanation would help. Alternatively, I could try to replicate this via some automated tests: repeatedly editing a post and checking to see if the preview is updated correspondingly. Since this bug is probably not caused by the Markdown renderer, it shouldn't matter what the content of the post is, so generating random strings may be enough.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants