Changeset e9c9ae1 in Klonkt for CHANGELOG.nl.md


Ignore:
Timestamp:
07/19/2026 10:48:15 PM (7 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
ff3b8ce
Parents:
5190152
git-author:
Robin <roboburr@…> (07/19/2026 10:47:10 PM)
git-committer:
Robin <roboburr@…> (07/19/2026 10:48:15 PM)
Message:

Feature: mentions bar with conversation partners (klonkt-demo-u02)

Implicit mentions leave the text and become an editable "To:" bar above the
reply editor: the parent author plus the thread's ancestor authors as chips.
Removing a chip stops addressing that partner (no mention anchor, no Mention
tag, no inbox ping); explicit @mentions typed in the text keep working via the
existing resolveMentionsInText path.

  • getInteractions: each thread node gets "participants" (author + ancestor chain via the byId map, own nodes skipped, deduped, capped at 8) and carries actor_uri now.
  • reply-editor partial: the bar renders server-side with a hidden "mentions" JSON field carrying the full list, so the no-JS path addresses everyone; the JS removes chips and mirrors the remaining list into the field.
  • deliverReply({mentions}): undefined = legacy parent-only behavior; an array (possibly empty) = the kept list drives the mention prefix, the Mention tags (mentionTags reads the content anchors) and the per-actor inbox pings. to_actor/to_handle follow the kept list (parent when kept, else the first chip, else null -> the note addresses Public only).
  • deliverOutboxUpdate: an edit reuses the OLD content's leading mention anchors instead of rebuilding just to_actor, so co-mentions survive edits (legacy rows fall back as before).
  • Interact page passes the target author as the single chip. Full-screen mobile keeps the top bar above the mentions bar (flex order).

4 new tests (participant chains, multi-chip tags + to_actor, empty bar goes
Public-only, co-mentions survive edits); 97 green. Browser-verified: bar shows
@bob + @alice on a nested reply, removing @alice updates the hidden field, the
sent reply mentions and addresses only @bob; no console errors.

Co-Authored-By: Claude Opus 4.8 <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.nl.md

    r5190152 re9c9ae1  
    77
    88### Toegevoegd
     9- **De reactie-editor toont wie je adresseert (rijke reacties, fase 3).** Een
     10  "Aan:"-balk boven de editor toont de gesprekspartners (de auteur waarop je
     11  reageert plus de eerdere auteurs in de thread) als verwijderbare chips, in
     12  plaats van @mentions die je tekst vervuilen. Verwijder een chip en die persoon
     13  wordt niet meer genoemd, getagd of gepingd; mentions die je zelf typt blijven
     14  gewoon in de tekst staan. Een verzonden reactie bewerken houdt elke co-mention
     15  intact.
    916- **Een verzonden reactie bewerken gebruikt nu ook de rijke editor.** De
    1017  bewerk-formulieren op Berichten en de interactiepagina openen dezelfde editor
Note: See TracChangeset for help on using the changeset viewer.