nextcloud / nextcloud/server

Collect/Group/Debounce Notifications

Open
#40,930 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: activity and notification feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
I don't get notifications often but when I do I get so many at once, that they are unusable. A typical scenario is the "XXX file was downloaded via a public link" notification. Instead of getting it once, I might get it 20 times for the same file and then I'll get one for each file downloaded too.

Describe the solution you'd like
I think the server should group notifications for related actions that happen in quick succession. This requires a delay before sending notifications which may be configurable in the future. But even a short, hard-coded delay (like 30 seconds) would vastly improve the user experience.

So instead of getting a notification for each download of a single file, I want to get one notification that says "File XXX was downloaded n times". And instead of getting one notification per file, I'd like one the says "File XXX and n others were downloaded". Ideally, with a way to find out which files those "n others" are (e.g. via a hyperlink) but this is also not a hard requirement for a first draft.

Describe alternatives you've considered
Better notification management. Being able to filter and multi-select notifications will make dealing with overwhelming amounts of notifications easier too. This is also a good feature to have but beyond the scope of this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the server's notification handling and the download notification flow, then determine how related events could be delayed and grouped. Done should include grouped messages for repeated or multiple file downloads without losing access to the relevant files.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.