Skip to content

Issue #1469 - User mentions in the posts #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 11, 2018

Conversation

passimm
Copy link
Contributor

@passimm passimm commented Jan 10, 2018

  • detail: extract @userid from post and send notification to each @userid

@gondzo
Copy link
Collaborator

gondzo commented Jan 10, 2018

looks good. one minor item: we should use a new notification type for this one: notifications.connect.project.post.mention so it doesn't clash with the existing post.created notification. can you just add notification.type='notifications.connect.project.post.mention' at connectNotificationServer.js#72 and update src/app.js#55 to type: notification.type || topicName, and then update notification type in connect app as well

detail:
1. add new event type notifications.connect.project.post.mention
2. extract mentions(like @userid) notifications.connect.project.post.create's content, and send mention notification to users
@passimm passimm force-pushed the handle_notification branch from 6c03788 to 10b0c98 Compare January 11, 2018 12:59
@passimm passimm force-pushed the handle_notification branch from b85db42 to b9dea0d Compare January 11, 2018 13:08
@passimm
Copy link
Contributor Author

passimm commented Jan 11, 2018

@gondzo updated per your comment

@gondzo gondzo merged commit 6ac02e9 into topcoder-platform:dev Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants