vrtmrz / obsidian-livesync

MIT License
3.93k stars 132 forks source link

Use an old adapter for compatibility - This option is not compatible with a database made by older version. #378

Open hilsonp opened 4 months ago

hilsonp commented 4 months ago

Abstract

Ambigous message in the settings in the Hatch / Compatibility panel.

Expected behaviour

Crystal clear setting options ;-)

Actually happened

The options show :

Screenshots

image

Other information, insights and intuition.

If I turn this option on, this mean that I "use an old adapter for compatibility". I understand that I should use it when my plugin connects to an old database. This setting is turned on on my system. I believe it was turned on automatically.

But when I read the description, it says "This option is not compatible with a database made by older version" !!!

This is just saying the reverse : I should not set theis option on if my database was made by an older version of the plugin.

Also, I think that you should say:

A link to the documentation from the plugin setting page would be sufficient.

vrtmrz commented 4 months ago

Thank you for pointing this out! As you mentioned, this behaviour would seem very weird. And, you are right, this toggle has been enabled automatically for some people (it means you are very proficient). This toggle is originally Use new adapter at v0.17.x, and now both the name and effect are flipped. I rewrote the description and wrote the lost history to the FAQ. Would you mind if I ask you to check the v0.22.5 and the FAQ?