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

FR: "currently viewing" #14

Open
adrienne opened this issue May 13, 2021 · 2 comments
Open

FR: "currently viewing" #14

adrienne opened this issue May 13, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@adrienne
Copy link

Is there some way to get a count of how many users are currently looking at an entry? The other main view count plugin does this but i don't want to use them because the code doesn't look nearly as solid or performant.

@lindseydiloreto
Copy link
Contributor

Hmm, that's a great question.

Broadly speaking, "views" aren't treated as ongoing events... it's just a single ping to the system to register that the view happened at all. To keep track of an active viewing session, it would require a bit more JavaScript on the front-end.

It's hard to say if this FR fits in with the long-term plans of View Count, but I can keep it open until we eventually figure it out!

@lindseydiloreto lindseydiloreto added the enhancement New feature or request label May 13, 2021
@adrienne
Copy link
Author

@lindseydiloreto - honestly we probably don't need anything that advanced for this particular client, so i can probably just do a custom query against the table for "all the views in the last 2 minutes" 😆 but yeah, i think it'd be a nice enhancement.

The Other View Count Plugin has some nice widgets that my client would love, but i can probably get pretty close with a custom widget: https://io.24hoursmedia.com/assets/content/_screenshot/views-work-widgets.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants