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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request][V2] List popular tags #709

Open
1 of 3 tasks
geromegrignon opened this issue Aug 20, 2021 · 2 comments
Open
1 of 3 tasks

[Feature Request][V2] List popular tags #709

geromegrignon opened this issue Aug 20, 2021 · 2 comments

Comments

@geromegrignon
Copy link
Contributor

馃殌 feature request

Relevant scope

What is the scope of this request?

  • Frontend specs
  • Backend specs
  • Other... Please describe:

Description

The current API specs are just about listing the full list of existing tags.
But the current deployed backend implementation on https://conduit.productionready.io/api only retrieves the most popular ones (explaining why we currently have mature content displayed after a massive attack).

It means that people trying out the deployed frontend implementations will only the most popular tags as it uses the official API. But people trying out backend implementations would have different behavior.

We can see the full list in action on the LayrJS fullstack implementation: https://react-layr-realworld-example-app.layrjs.com/all

Describe the solution you'd like

Even with lower traffic than the official web app, the LayrJS implementation already displays a long list of tags.
We need to consider moving to a filtered and ordered list of tags (to get the most popular ones) for the v2.

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?
@mvila
Copy link
Member

mvila commented Aug 20, 2021

I totally agree that the tags should be sorted by popularity (in descending order) and limited to a certain number. It should be included in the API specs.

@cirosantilli
Copy link
Contributor

cirosantilli commented Dec 29, 2021

Another reasonable option would be to sort by last create or better, last applied to an article (current ordering appears undefined: #839 ) as that would lead to good experience for interactive exploration (you create article with tag, then go to index, and easily find your tag to click it and see your article sorted by it).

Sorting by most popular would however be ideal for autocomplete: #784 so maybe the best is to have a ?sort= URL parameter.

Though I guess when we implement: #649 users can just test their tags by clicking their posts on the latest post list. So maybe just keep most popular tags then.

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