diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-02-12 20:28:39 +0530 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-03-10 18:04:36 +0100 |
commit | a9f5aa6490979dfadf28ff593774e89c2bec8f0b (patch) | |
tree | 347b07b8b57c1ca24b189562111b24f3333380b6 /app/assets/javascripts/shortcuts_find_file.js.coffee | |
parent | e0800285704800e33ead4a6317b2019873dac66b (diff) | |
download | gitlab-ce-a9f5aa6490979dfadf28ff593774e89c2bec8f0b.tar.gz |
Original implementation to allow users to subscribe to labels
1. Allow subscribing (the current user) to a label
- Refactor the `Subscription` coffeescript class
- The main change is that it accepts a container, and conducts all
DOM queries within its scope. We need this because the labels
page has multiple instances of `Subscription` on the same page.
2. Creating an issue or MR with labels notifies users subscribed to those labels
- Label `has_many` subscribers through subscriptions.
3. Adding a label to an issue or MR notifies users subscribed to those labels
- This only applies to subscribers of the label that has just been
added, not all labels for the issue.
Diffstat (limited to 'app/assets/javascripts/shortcuts_find_file.js.coffee')
0 files changed, 0 insertions, 0 deletions