Subscribed issues notifications page
Problem to solve
When enabling notifications on an issue (by liking, commenting or clicking the notifications switch of an issue), we're getting emails from Gitlab when something happen to that issue. I'm not checking my emails often so I'm missing a lot of notifications on my and others issues.
The "Issues" top menu bar icon shows me the assigned issues (which is great), but I have no way, from the GitLab UI, to see al the issues where I've subscribed for notifications, with a thing to tell me that's there are updates that I need to check, like on Github with the bell icon and blue dot.
Anyone that create, like, comment or subscribed to issues.
It would be also interesting to be able to disable email notifications which would reduces the load on the Gitlab servers, and avoids "spamming" our mailboxes.
First option is to reuse the "Issues" page and add a new "Subscribed" tab as proposed by #14972, and update the "Issues" top menu bar button so that its badge shows the amount of issues where there is an update.
The second option is to add a new page showing the issues ordered by notification date (most recent on the top of the page), with a pagination and the usual Gitlab issues filter, and to add a new top menu bar button for issues notifications.
From the issues list where "fresh" issues are shown. Two options here:
- The list always show all the issues and the fresh issues are highlighted with the green background like the one used for newly created issues from a project's issues page
- The list only shows the fresh issues which means it could be an empty list (The Github way)
When the user opens a fresh issue, and comes back to the notifications page, the issues list from the notifications page is updated (depending on previous selected option always showing all the issues or only showing fresh issues).
Permissions and Security
Here is the main scenario to be tested:
Given an issue where the current user has subscribed And another user posted a comment in the above issue Then the current user's notification's page should show the above issue as fresh When the current user opens the above issue Then the notification issue list has been updated
What does success look like, and how can we measure that?
Whenever someone commented an issue where I have enabled notifications, I visually see it very quickly from the top menu bar, and I can easy and quickly (in 2 clicks) access the issue.