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

Remove 20 question maximum limit per category #154

Open
WesleyBranton opened this issue Jul 9, 2020 · 0 comments
Open

Remove 20 question maximum limit per category #154

WesleyBranton opened this issue Jul 9, 2020 · 0 comments
Assignees
Labels
Enhancement New feature or request

Comments

@WesleyBranton
Copy link
Collaborator

Summary

Due to the API limitations, the add-on will only list up to 20 questions from each category. If the category has more than 20 questions, the oldest questions will not appear on the list.

It's possible to list more than 20 questions per category by calling the API again to request the second page of the questions and additional pages if there are more than 40 total questions in the category.

Motivation

This would ensure that old questions do no go unanswered, as they currently do not appear on the user's question list. It would also be a valid alternative to issue #153.

Potential drawbacks

This could dramatically increase the traffic to the SUMO API. It would also increase the time it takes to load questions, since the add-on would need to make the first API call, wait for a response, check if the list matches the 20 question maximum, make a new API query and repeat.

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

1 participant