toto04 / webeep-sync

Keep all your WeBeep files synced on your computer!
GNU General Public License v3.0
55 stars 6 forks source link

Handle files that were locally modified #89

Open PiervitoCreanza opened 1 year ago

PiervitoCreanza commented 1 year ago

Hi, I'm here bothering you again to suggest a new feature 😄

Sometimes it happens that I edit a file, but as soon as a sync event occurs it is overwritten and all the changes are lost. It would be very useful to handle this situation properly.

A not perfect, but very quick solution would be to check if the local file is newer than the file located on webeep and if so just skip it. We may also add a specific setting to enable or disable this behavior.

Another option, but way more complicated would be to ask the user what to do, providing some options:

In addition, I think that a "remember my choice" checkbox should be added.

Since this second solution would require a ton of work, I think we could implement the former and maybe work on the latter in the future