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

feature(like/dislike articles): Like and dislike articles by users #22

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

kevpy
Copy link
Contributor

@kevpy kevpy commented Mar 18, 2019

Description


An authenticated user can like and dislike an article. They can also undo a like or dislike. On successful like/dislike or undoing of a like/dislike the article is returned.

Type of Change


  • New Feature

How has this been tested


  • Unit tests
  • End to end testing

Checklist


  • Tests are included to show/proof the feature works.

Pivotal Tracker


164047068

@kevpy kevpy force-pushed the ft-like-dislike-articles-164047068 branch from 89068fc to 8609783 Compare March 18, 2019 08:35
@Kibetchirchir Kibetchirchir temporarily deployed to aholympian-pr-22 March 18, 2019 08:36 Inactive
Copy link
Contributor

@JoanNgatia JoanNgatia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the minor typo fix and we can merge it in then.

authors/apps/article/models.py Outdated Show resolved Hide resolved
- user can like article
- user can dislike article
- return liked/disliked article after like/dislike
- user can undo a like /dislike
- test the feature works

[Finishes #164047068]

fix typo and formatting
@JoanNgatia JoanNgatia merged commit 2a55769 into develop Mar 18, 2019
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.

None yet

3 participants