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

#164489943 getting article reading time #34

Merged
merged 1 commit into from
Apr 16, 2019

Conversation

Paccy10
Copy link

@Paccy10 Paccy10 commented Apr 15, 2019

What does this PR do?

This PR shows the time it takes to read an article

Description of Task to be completed?

Showing the user the number of minutes it will take him to read a specific article

How should this be manually tested?

  • go to postman and type http://localhost:3000/api/users/:id with the id of the article and send a GET request
  • you will get the article with the number of minutes it takes to read it

What are the relevant pivotal tracker stories?

#164489943

Screenshots (if appropriate)

Response

Screen Shot 2019-04-15 at 18 31 33

@itsgratien itsgratien temporarily deployed to badass-ah-backend-stagin-pr-34 April 15, 2019 13:56 Inactive
@Paccy10 Paccy10 changed the title Feature(articles): getting article reading time #164489943 getting article reading time Apr 15, 2019
@itsgratien itsgratien temporarily deployed to badass-ah-backend-stagin-pr-34 April 15, 2019 14:00 Inactive
Copy link
Contributor

@nakiwuge nakiwuge left a comment

Choose a reason for hiding this comment

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

@Paccy10 good job on the implementation. Please consider adding the read time when the user retrieves all articles.
Also, when the article body is short the read time shows 0 mins consider refactoring the read time function to cater for seconds.

@itsgratien itsgratien temporarily deployed to badass-ah-backend-stagin-pr-34 April 15, 2019 16:36 Inactive
@itsgratien itsgratien temporarily deployed to badass-ah-backend-stagin-pr-34 April 15, 2019 16:59 Inactive
@itsgratien itsgratien temporarily deployed to badass-ah-backend-stagin-pr-34 April 16, 2019 07:46 Inactive
-showing time it takes to read an article

[Delivers #164489943]
@nakiwuge nakiwuge merged commit edd972c into develop Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants