Synchronisation needs to be triggered manually
| Q | A |
|---|---|
| Device? | iPhone |
| Device Os version | 13.2.3 |
| App Version | 5.0.0 Build 230 |
| Wallabag server version | 2.3.8 |
Steps to reproduce/test case
Add articles to Wallabag. Synchronise it with the app. Open an article an mark it as read. Kill the app. When launching the app again, the article is not marked as read.
Improvement
Trigger the synchronisation as soon as the "read" button is pressed.
Problem still occurs with build 232. The full synchronisation should be triggered when:
- the instance and account configuration is finished
- the app starts
Maybe a full synchronisation should not be triggered in following cases, as wallabag API supports single entry for these cases:
- an article is marked as read
- an article is marked as unread
- an article is favourited
- an article is unfavourited
- a tag is added
- a tag is removed
- an article is added by manually entering the address
- an article is added from clipboard
- an article is added from "Share to Wallabag"
- an article is deleted (by clicking on the trash icon when reading an article)
Linked to issue #185
Edited second post to add
an article is added from "Share to Wallabag"
This is linked to #231
I think this bug should be chased and smashed before releasing the 5.0.0 version to the App Store :)
After proofreading this proposal the background is very good.
In the state it does not work less well than before. But no longer trigger automatic refresh at launch. (A good point in relation to # 185)
The manual synchronization action is not practical I recognize it.
Regarding each task such as favorites, reading ... they do not trigger full synchronization, but only pushes action on the server
The solid bases of the migration to CoreData will make it possible to launch more events depending on the operations and reduce full synchronization. There is still a lot of work on this point.
I think that will not be able to launch the application with this synchronization system, but it should be the focus of a next release.