The Real Story Of Block.update On To_do Replaces All
When updating a to_do block with just checked status using block.update, the title often vanishes - silently lost without warning. This full-replace behavior erases text content entirely, leaving only checkbox state. The core issue? The tool treats properties as a hard replace, not a merge, so existing text vanishes. nnOne clear fix: always include title alongside checked in updates. But that undermines the quick checkbox toggle ideal. A safer alternative: use --replace to force full property replacement and prevent silent drops. nnPsychologically, this triggers frustration - users expect their task name to survive. Culturally, it reflects a broader trust gap: when tools act without notice, users lose confidence. The real secret? Most batch ops assume checked alone is enough, ignoring that titles anchor context. nnThe elephant in the room: users expect simple checkboxes to work like they do in to-do apps or form builders - no data erasure. Silently wiping titles violates that intuition. nnBottom line: Always send both title and checked in block.update updates. It’s the only way to keep your to-do list - and your trust - intact. Ask yourself: would you update a task without keeping its name? Do it right.”