In application notifications for code changes
Problem to solve
It is often the case in a big team that you work on some part of the project and you want to be notified when some file/directory is changed. It can be just a button on top of the files tree. One more table (project_id, watch_path, user_id), one more notification type.
It is possible to subscribe to file changes already via atom feed, but it would be nicer to have notifications directly in the application.
Further details
This would be useful in many situations:
- Subscribe to changes to a particular page in the handbook
- Subscribe to changes to certain code when you know that downstream code will break unless it's also updated
- Subscribe to changes to OKRs too keep up with company direction
Proposal
Add a Watch button to the repository interface to subscribe to changes to a file on the default branch
Whenever changes are pushed to the default branch, if the push contains changes to the watched path, the user will receive:
- todo
- email notification (same as https://docs.gitlab.com/ee/user/project/integrations/emails_on_push.html)
Email Notification | TODO |
---|---|
A new section will be available in the user Notification Settings (https://gitlab.com/profile/notifications) to see a list of all the notifications and manage their subscription
Edge cases:
- file renames: if a file is renamed the subscription will not be updated automatically
Customers
https://gitlab.lightning.force.com/lightning/r/Account/00161000004yxj9AAA/view (low)