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

Feature Idea: Add list for most commented assets, sorted by publication_date in API #2214

Open
aholajuhani opened this Issue Mar 5, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@aholajuhani
Copy link

aholajuhani commented Mar 5, 2019

Would it be a viable feature to implement possibility to request such list from the api?

This wouldn't probably be necessary to be implemented anywhere in Talks front-end but for the purpose of the using site, so we could show the list of most commented assets within a time period by using Talks own api instead of making our own.

Sorting the assets by created_at key won't work in this case, as assets may appear in the older articles much later which makes created_at timestamp to be recent.

@wyattjoh

This comment has been minimized.

Copy link
Member

wyattjoh commented Mar 5, 2019

Unfortunately, this feature is not very easy to accomplish in version 4 of Talk, as we don't store the number of comments on each of the Assets, it would involve some pretty expensive aggregation operations.

We do however have this possible in version 5, and will keep it in mind during the development.

@mkonikov

This comment has been minimized.

Copy link
Contributor

mkonikov commented Mar 6, 2019

Cool. What is the rough timeline for v5?

@wyattjoh

This comment has been minimized.

Copy link
Member

wyattjoh commented Mar 6, 2019

We're aiming to have a beta available by the end of March @mkonikov.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.