Multiple notifications are triggered with activity app
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
If the activity app is enabled, each modifiaction is registered as an individual activity. This causes the notification app to going havoc if you change a shared note in regular but short intervals.
Concrete example: A shared shopping list with checkboxes can be checked in the app or the web frontend while shopping. This causes me to see like 20 to 50 notifications I have to drop in order to see the important ones.
Steps to reproduce
- Have a NC instance with activity and notification app enabled
- Have file notifications enabled in feed (and optionally as mail)
- Share the notes folder of user A with user B
- As user B set storage backend to the shared folder
- As user B open a note (or create one) and modify it
- Wait a bit or close the note
- Continue writing
Expected behaviour
The user A is informed that the file has changed.
Actual behaviour
Each change is represented as a file written thus adding multiple notifications to the list.
Screenshots
If applicable, add screenshots to help explain your problem.
Server
Please complete the following information.
- Notes app version: master (4b3d4d)
- Nextcloud version: master (dfa994e)
- OS: Archlinux/Docker
- Web server: Apache
- PHP version: 8.1.29
- Database: MariaDB
Nextcloud configuration:
Client
Please complete the following information.
- Browser (incl. version): Firefox 130.0
- OS: Archlinux
Log files
Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the activity app and notification app behavior triggered by modifications to shared notes, following the reproduction steps with activity and file notifications enabled. Confirm that repeated edits produce multiple notifications, then verify that a note changed in short intervals results in the expected consolidated notification behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100