Neuer Notification-Typ mentioned; abgeleitete Tabelle page_mentions (Migration), vom Collab-Persist transaktional neu geschrieben — der Diff gegen den Vorzustand wird als pg_notify (page_mentions_changed) emittiert, nur NEU Erwähnte lösen aus (kein Spam bei Folge-Saves). Der api-Listener (erweitert um den zweiten Kanal) ruft NotificationsService.fanoutMentions: Zustellung nur nach canAccessPage-Recheck, die Autoren (pending contributors) benachrich- tigen sich nie selbst; Payload wie gehabt mit Actor-Namen. API-seitig erzeugte Seiten seeden page_mentions aus deriveContent. Glocken-Text de+en; DB-Test (Leser ja / Outsider nein / Autor nein); kompletter Loop live verifiziert (Tippen → Persist → NOTIFY → Notification). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0155v2aT8AG1kZDQEZiCLBWC
18 lines
498 B
JSON
18 lines
498 B
JSON
{
|
|
"title": "Notifications",
|
|
"markAllRead": "Mark all read",
|
|
"empty": "No notifications yet.",
|
|
"someone": "Someone",
|
|
"types": {
|
|
"page_changed": "{{actor}} changed “{{page}}” in {{pond}}",
|
|
"comment_added": "{{actor}} commented on “{{page}}” in {{pond}}",
|
|
"mentioned": "{{actor}} mentioned you on “{{page}}” in {{pond}}"
|
|
},
|
|
"digest": {
|
|
"label": "E-mail digest",
|
|
"hourly": "Hourly summary",
|
|
"daily": "Daily summary",
|
|
"off": "No digest mails"
|
|
}
|
|
}
|