Skip to content

Instantly share code, notes, and snippets.

@TimonVS
Last active March 17, 2016 07:15
Show Gist options
  • Select an option

  • Save TimonVS/11ddd20858d87ea9098f to your computer and use it in GitHub Desktop.

Select an option

Save TimonVS/11ddd20858d87ea9098f to your computer and use it in GitHub Desktop.

Mentions

Requirements phase 1

  • Items will get a new property mentions which is an array. The array will contain user objects of users that have been mentioned.
  • Notification settings for mentions (mobile/email)
  • Don't send duplicate notifications (e.g. if a user places a comment on your item while also mentioning you in that comment, don't send two notifications, instead only send the mention notification).
  • Don't send notifications to the same users after an update, but do send notifications to new users that have been mentioned.
  • /search endpoint needs to be able to search in a context. Just like /search/items.

Requirements phase 2

  • Ability to mention all staff members (@staff) and everyone (@everyone) in a course/project/etc.
@flipvh
Copy link
Copy Markdown

flipvh commented Mar 17, 2016

@TimonVS, perhaps it makes sense to discuss doing the search using node? Your idea yesterday about redoing /users endpoints on node might be a good idea and a nice challenge for you, coached by madhu? https://github.com/shareworks/insights-api/issues/7

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