Skip to content
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

#160617679 implement notifications functionality #45

Merged
merged 1 commit into from
Oct 22, 2018

Conversation

zaabu
Copy link

@zaabu zaabu commented Oct 19, 2018

What does this PR do?

This PR implements notifications functionality into the application. This enables users to be able to receive notifications when users they follow publish new articles. This functionality also enables users to be able to receive notifications when articles they favorited have new interactions (like new comments).

Description of Task to be completed?

Notifications give users to opportunity to know what they may have missed which may be important to them.
Users should receive notifications when users they follow publish new articles.
Users should receive notifications when articles they favorited have new interactions (like new comments).
Users should be able to opt in and out of these notifications.

Endpoints

GET /api/notifications/all -- Get all notifications
image

GET /api/notifications/comments - Get all comment notifications
GET /api/notifications/articles - Get all articles notifications
GET /api/notifications/comments/<str:pk> - Get specific comment notification
image

GET /api/notifications/articles/<str:pk> - Get specific article notification
image

How should this be manually tested?

-Follow a user, whenever they publish an article, you should be notified.
-Favorite an article, whenever a comment is made on it, you should be notified.

What are the relevant pivotal tracker stories?

[Delivers #160617679]

@nakiwuge nakiwuge temporarily deployed to ah-backend-lannister-sta-pr-45 October 19, 2018 09:24 Inactive
@zaabu zaabu changed the title feat(create notifications): create notifications app #160617679 implement notifications functionality Oct 19, 2018
@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 19, 2018 09:31 Inactive
@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 19, 2018 09:46 Inactive
@nakiwuge nakiwuge temporarily deployed to ah-backend-lannister-sta-pr-45 October 19, 2018 09:48 Inactive
@coveralls
Copy link

coveralls commented Oct 19, 2018

Coverage Status

Coverage decreased (-0.3%) to 94.915% when pulling 56a95d2 on ft-notifications-160617679 into 3204619 on develop.

@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 19, 2018 09:57 Inactive
@zaabu zaabu requested a review from kimbugp October 19, 2018 14:20
@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 19, 2018 15:15 Inactive
@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 19, 2018 16:53 Inactive
@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 21, 2018 07:11 Inactive
@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 21, 2018 09:11 Inactive
@nakiwuge nakiwuge temporarily deployed to ah-backend-lannister-sta-pr-45 October 21, 2018 09:19 Inactive
@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 21, 2018 09:27 Inactive
@zaabu zaabu temporarily deployed to ah-backend-lannister-sta-pr-45 October 21, 2018 15:49 Inactive
@zaabu zaabu requested a deployment to ah-backend-lannister-sta-pr-45 October 22, 2018 04:14 Abandoned
@zaabu zaabu requested a deployment to ah-backend-lannister-sta-pr-45 October 22, 2018 07:16 Abandoned
- create notitifcations app
- setup folder structure
- setup models

[Delivers ##160617679]

feat(create notifications): write tests for endpoints

- write tests for retrieving all notififcations
- write tests for opting in or out of notifications

[Delivers ##160617679]

feat(create notifications): setup comment notification functionality

- setup comment notification model
- setup comment notification serializer
- setup comment notification views
- implement tests for the views

[Delivers ##160617679]
@zaabu zaabu added the ready PR is ready for merging label Oct 22, 2018
@PatrickCmd PatrickCmd self-requested a review October 22, 2018 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready PR is ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants