nextcloud/apps/comments/src
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
..
actions test: Migrated all Jest tests to vitest 2024-08-26 17:27:22 +02:00
components fix(comments): expand long comment on click 2025-09-21 21:34:39 -07:00
mixins fix(comments): Use the correct object when autocompleting mentions for other apps 2025-10-10 06:37:58 +00:00
services chore(deps): Update @nextcloud/auth to v2.4.0 and use getCSPNonce where possible 2024-08-13 17:54:47 +02:00
store fix(comments): explicitly return limbo status of comment 2025-10-14 07:38:39 -07:00
utils chore: Enable ESLint for apps and fix all errors 2024-07-09 17:13:30 +02:00
views fix(comments): Support user IDs that are numbers, e.g. "42" 2025-10-10 06:37:59 +00:00
comments-activity-tab.ts fix(comments): dismiss mention notifications and clear unread badge when viewed in activity sidebar 2026-05-25 15:41:37 +02:00
comments-app.js chore: Add SPDX header 2024-05-27 20:11:22 +02:00
comments-tab.js chore(deps): Update @nextcloud/auth to v2.4.0 and use getCSPNonce where possible 2024-08-13 17:54:47 +02:00
init.ts chore: Add SPDX header 2024-05-27 20:11:22 +02:00
logger.js chore: Add SPDX header 2024-05-27 20:11:22 +02:00