Is your feature request related to a problem? Please describe.
I edited the same text block on Android and Desktop with different texts while the Android app was offline. When going online the changes I made in the Android app where gone and overridden with the text from the Desktop.
(No harm done, I was just testing and playing around )
Describe the solution youâd like
A conflict warning with both texts still there would be nice.
Describe alternatives youâve considered
Not editing the same text on two devices when you know one it offline.
Additional context
Nothing to add other than, I really enjoy working with Anytype (testing it for just one day).
There could also be a setting somewhere that lets you prioritize devices when handling merge conflicts, probably in an ordered list (e.g. updates from phone get first priority, then from tablet, then from desktop). That way, if you have a workflow that involves a device that you frequently use to edit documents while offline, you donât have to go in and handle every merge conflict individually.
@âdiv3xiâ, I just tested it again and the behavior still seems to be the same. The changes made on the mobile while offline are overridden with the ones from the desktop.
I just updates the desktop (Windows) app.
I did another test with the same steps and this time the changes from the mobile have been taken and the ones from the desktop were gone.
Here are the steps again:
Steps:
Open a page on desktop and mobile.
Disconnect the mobile from the Internet.
Add some text to the page on the desktop.
Add some text to the page on the desktop.
Connect the mobile to the Internet again and wait for sync.
Result:
After sync only one text is available on the page on mobile and desktop. This can either be the one from the mobile or from the desktop.
Not sure that the expected behavior should be. Google docs for example tries to mix the texts and take both changes.
If you see that data was gone, you can simply find it in history and revert the latest version or copy concrete lines
When you changing the document being offline from different places you can be sure that newly created blocks would be merged without any problems. But if you want to change one block from different places⌠in the decentralised world you never know what device were first. We were thinking about manual conflict resolution for such cases, but itâs algorithmically complex task.