Until recent changes were made to cozy-stack, changes made to the
Markdown export of Cozy Notes could not be re-imported as actual Cozy
Note changes and would break the note, rendering it unusable as such.
Therefore, we would prevent such local changes by considering them as
conflicts.
Now that local content changes made to the export can be re-imported,
we can remove these protections.
We updated the tests to make sure the changes are actually taken into
account and don't create conflicts. They should probably be removed
after a while since this is the expected behavior of local file
changes.
Please make sure the following boxes are checked:
[x] PR is not too big
[x] it improves UX & DX in some way
[x] it includes unit tests matching the implementation changes
[x] it includes scenarios matching a new behaviour or has been manually tested
Until recent changes were made to
cozy-stack
, changes made to the Markdown export of Cozy Notes could not be re-imported as actual Cozy Note changes and would break the note, rendering it unusable as such. Therefore, we would prevent such local changes by considering them as conflicts.Now that local content changes made to the export can be re-imported, we can remove these protections. We updated the tests to make sure the changes are actually taken into account and don't create conflicts. They should probably be removed after a while since this is the expected behavior of local file changes.
Please make sure the following boxes are checked: