nextcloud/apps/comments/lib
Anna Larch 07c068b042 fix(comments): dismiss mention notifications and clear unread badge when viewed in activity sidebar
Backport of #60617 for stable31.

When comments are loaded via the Activity sidebar integration, call
markCommentsAsRead() so the file-row unread comment bubble clears after
viewing. Also add a DELETE /notifications/{id} endpoint and call it for
each comment that mentions the current user so the notification bell
clears without navigating via the notification link.

Fixes: nextcloud/activity#2531

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
2026-05-25 15:41:37 +02:00
..
Activity fix(comments): Fix activity rich subject parameters 2025-03-17 09:35:14 +00:00
AppInfo chore: Remove deprecated legacy search backend 2024-08-01 12:33:18 +02:00
Collaboration fix(comments): Don't throw type error when no itemType or itemId is given 2025-10-10 06:38:00 +00:00
Controller fix(comments): dismiss mention notifications and clear unread badge when viewed in activity sidebar 2026-05-25 15:41:37 +02:00
Listener chore: Move comments event handler to use proper event dispatcher 2024-06-26 18:13:07 +02:00
Notification fix(comments): Add an action to comment notification that dismisses it 2026-05-19 09:36:10 +00:00
Search fix(comments): use showFile route to reference files with a matching comment 2025-09-03 11:58:35 +02:00
Capabilities.php chore: Add SPDX header 2024-05-27 20:11:22 +02:00
MaxAutoCompleteResultsInitialState.php chore: Add SPDX header 2024-05-27 20:11:22 +02:00