Skip to content

Instantly share code, notes, and snippets.

@TrigonaMinima
Last active August 29, 2015 14:08
Show Gist options
  • Save TrigonaMinima/9fbb652f3f66dea7f236 to your computer and use it in GitHub Desktop.
Save TrigonaMinima/9fbb652f3f66dea7f236 to your computer and use it in GitHub Desktop.

NOTIFICATIONS

New_Idea (idea in a tag, new idea by a user)

  • source: tag, user
  • action: new_idea
  • sub: tag, user
  • string = "%s was added under %s.", idea, source

Update_Idea (idea in a tag, new idea by a user)

  • source: tag, user
  • action: update_idea
  • sub: idea
  • string = "%s was modified under %s.", idea, source

New_comment (idea being commented upon)

  • source: user
  • action: new_comment
  • sub: idea
  • string = " %d comment(s) on idea %s." comment

User_Commented

  • source: user, idea
  • action: new_comment
  • sub: user
  • string = "%s commented on %s.", user, idea

User_Voted

  • source: user, idea
  • action: voted
  • sub: user
  • string = "%s voted upon %s", user, idea

User_subscribe

  • source: user, tag, idea
  • action: subscribe
  • sub: user
  • string = "%s subscribed on %s", user, source

Update_User

  • source: user
  • action: update-user
  • sub: user
  • string: "%s updated his/her profile.", user

Update_Tag

  • source: tag
  • action: update_tag
  • sub: tag
  • string = " The tag %s was recently updated.", tag

No need for this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment