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

Aggregated view counts #25

Open
robinbisping opened this issue Jan 22, 2023 · 2 comments
Open

Aggregated view counts #25

robinbisping opened this issue Jan 22, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@robinbisping
Copy link

In order to display trending entries, it would be great to have several count aggregations, e.g. counts within the last month.

Currently, the plugin only stores a total view count. To compute such an aggregation, one could already calculate it from the views log. However, this is an expensive operation and requires storing all count events in the first place.

What do you think of this idea?

@lindseydiloreto
Copy link
Contributor

lindseydiloreto commented Jan 24, 2023

To be honest, I love this line of thought. Being able to compute more complex data would have many advantages, allowing people to aggregate the counts however they choose.

The good news is, this is perfectly aligned with my long-terms plans for the View Count plugin. It is destined for a significant overhaul which will bring with it some (maybe all) of the capabilities you described.

I'm not sure exactly when this overhaul will take place, hopefully by the end of 2023. I'll keep this thread open until we eventually get there.

Thanks for the feedback! 👍

@lindseydiloreto lindseydiloreto added the enhancement New feature or request label Jan 24, 2023
@robinbisping
Copy link
Author

Sounds great! I am looking forward to it.

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