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

Viewing a question should increment the counter once per session and/or per user. #246

Open
Zenigata opened this issue Nov 25, 2019 · 1 comment

Comments

@Zenigata
Copy link
Contributor

If I refresh the page of my own answer five times, the view counter gains five more views. I think it could be better to limit the view counter to different viewers or different sessions.

@Errorname
Copy link
Contributor

I am currently refactoring FAQ and I added a limitation based on sessionStorage to limit the views.
I also added a 5s threshold for a visit to a question to be considered as a view.

Keeping this issue until refactoring gets released.

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

No branches or pull requests

2 participants