Files
zodia/app
Bendik Aagaard LynghaugandClaude Sonnet 5 c2fe51938f fix: DocAffirmed always reported targets_me=false — real bug in the live model
The legacy InterpOp::Affirm path always correctly computed whether an
affirmation targeted the local user's own content, but StateEvent::
DocAffirmed — the path every current edit actually goes through, since
0.9+ writes exclusively use the collaborative doc model — hardcoded
targets_me = false unconditionally. The bell badge and feed targeting
have never actually detected a heart on your own writing for the
model real users hit today.

The collaborative model has no single "author" the old check relied
on, so added ZodiaStore::doc_has_contributor (does this peer have any
block still in interp_key's author ring) as the closest equivalent —
test-driven, including a case proving the ring holds multiple
contributors rather than getting treated as single-author.

Also surfaces a real-time "X affirmed your reading" toast reusing the
ToastOverlay infrastructure from the circle-invite feature. Per
explicit feedback: purely-informational events like this are a better
fit for a desktop notification (notify::send) than an in-app Toast —
shipping as a Toast for this release since the app is early-stage, and
flagged as something to reconsider if it feels tiresome moving
forward, not changed now.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-04 13:16:12 +02:00
..
2026-05-07 17:20:29 +02:00
2026-08-03 17:16:02 +02:00
2026-03-23 12:04:20 +01:00