Skip to content

Allow subscribing to labels

username-removed-128633 requested to merge 12743-subscribe-to-label into master

This implement #12743 and supersedes !2799 (closed) (thanks @timothyandrew!).

  • Subscribe (and unsubscribe) for labels
  • When an issue/merge request is created, notify all subscribers of all its labels
  • When an issue/merge request is edited, notify all subscribers of all its newly-added labels

Done

  • Verify that a user is signed in to subscribe/unsubscribe from a label.
  • Merge conflicts
  • Integration tests
  • issuable.subscribed? should check subscribers and participants
  • When an issuable is relabeled, notify subscribers of the newly added labels only
  • Screenshots:

Labels page

Screen_Shot_2016-03-07_at_19.05.44

HTML email

Screen_Shot_2016-03-07_at_19.07.36

Plain text email

Screen_Shot_2016-03-07_at_19.07.50

PS: I've set the milestone to 8.6 since it's getting late for 8.5...

Merge request reports