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

Challenge 6 #90

Merged
merged 6 commits into from
Jul 27, 2018
Merged

Challenge 6 #90

merged 6 commits into from
Jul 27, 2018

Conversation

ramillim
Copy link
Contributor

@ramillim ramillim commented Jul 25, 2018

Fixes #28 #29
This does not address #30, which is a a backend issue and I don't believe I will be able to complete that by the deadline today.

Dependencies:

Replaces the placeholder numbers in each of the posts with the counter values from the model.
Salutes and Shares are incremented when the button is clicked after a successful API call to the respective endpoints.

Views are incremented whenever the post is made into the active post by making an additional get request to the resource (one of the parent components makes a GET request for all of the collections and this action doe snot increment page views, so we needed an action that would allow the page view to be recorded. I opted to make it the GET request since it would also return the latest counter value).

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