Skip to content

3.24.0: a text field of your own is written once; Save element asks when two copies differ - #47

Merged
tmoosting merged 10 commits into
mainfrom
fix/2362-x-text-once
Nov 28, 2026
Merged

tmoosting merged 10 commits into
mainfrom
fix/2362-x-text-once

Conversation

@tmoosting

Copy link
Copy Markdown
Member

A text field a person added (x_looks) was written twice into a note, as a property and as a ### Looks section, 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 to Kept 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

tmoosting and others added 10 commits November 28, 2026 00:32
…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>
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>
@tmoosting
tmoosting merged commit dcb9965 into main Nov 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant