Skip to content

Post view count is not updating #28

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

Closed
sdgun opened this issue Jun 21, 2018 · 2 comments
Closed

Post view count is not updating #28

sdgun opened this issue Jun 21, 2018 · 2 comments

Comments

@sdgun
Copy link

sdgun commented Jun 21, 2018

Target URL

https://frontend.app.cloud.gov/dashboard/10

Steps to Reproduce

  1. Open the URL https://frontend.app.cloud.gov/
  2. Login as a valid User [Admin]
  3. Click Search button
  4. Enter 'Branch of service' as US NAVY
  5. Click 'Update Results' button
  6. Click on any record > https://frontend.app.cloud.gov/dashboard/10
  7. Click on 'Stories' section and click on 'Read more' from one of the stories
  8. Check the 'Reads' count > 1333
  9. Close the post and open it again
  10. Check the 'Reads' count > 1333

Actual Result(s)

  • Post view count is not updating

Expected Result(s)

  • Must increase the count of the post view count when user opens an article

Frequency

  • 5/5

Environment Details

  • Device(s): Laptop
  • Operating System: Windows 7 64bit
  • Browser(s): Chrome 67.0.3396.87 (Official Build) (64-bit)

Image(s)/Video(s)/Console Log/Crash Log

23

@ramillim
Copy link
Contributor

Reads, Salutes, and Shares are all hard coded to be the numbers displayed above.
Of the three, only Salutes are currently implemented.

There's a comment in the API code about how statistics are currently out of scope.
https://github.com/topcoderinc/va-online-memorial-rest-api/blob/master/modules/stories/services/StoryService.js#L266-L270

@ramillim
Copy link
Contributor

ramillim commented Jul 2, 2018

@dustinWeaver This one should have a phase2 label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants