In application notifications for code changes
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
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)
Links / references
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.