Repository navigation
3.24.0: a text field of your own is written once; Save element asks when two copies differ - #47
Merged
Merged
Conversation
…fer refuse the note A pull keeps the heading a note already holds for a key. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…LF, ids, Migrate Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ne text Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
An older plugin wrote a text field of a person's own twice, and its save left the property as it was. Such a note is now saved when the property still equals the world's value at the note's change number: the section is the edit, and the property goes. Every other difference is still refused, since a property that differs is also what each saved section edit left behind. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…it and its property dropped Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…uses A note an older plugin wrote may hold a text field of a person's own twice, with different text. Nothing is guessed. Auto-sync refuses the note and names the command; Save element shows both texts and the person picks. The repair happens only if the repaired note reads back with the picked text and every other field as before, the note has not changed meanwhile, and a whole copy is in Kept edits/. The save then runs as on any other note. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ter picks nothing Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ks when two copies differ Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A text field a person added (
x_looks) was written twice into a note, as a property and as a### Lookssection, and only the section was read: an edit to the property was lost. It is now written once, as the section, and a pull keeps a heading's case. An older note whose two copies differ is not sent; auto-sync says so, and Save element shows both texts and asks which to keep, after copying the whole note toKept edits/.The history holds one approach that was built and reverted (Save inferring the edited copy from the server's value): it could send an emptied section and drop the property.
1168 tests pass. In a real vault on Windows: the which-copy dialog (Cancel, both choices, Enter), pull and save of these fields, upload, property removal, own properties, auto-sync, folder import and the earlier data-safety walks. Not tried: mobile, macOS, Linux.
🤖 Generated with Claude Code