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

Route pagination/caching mechanism #214

Open
4 tasks
UO264345 opened this issue May 3, 2020 · 0 comments
Open
4 tasks

Route pagination/caching mechanism #214

UO264345 opened this issue May 3, 2020 · 0 comments
Labels
Back-end Something that has to do with Back-end development enhancement New feature or request

Comments

@UO264345
Copy link
Contributor

UO264345 commented May 3, 2020

Feature description 🗺️

Since when the number of routes saved by the user grows the time it takes to retrieve them from the POD grows exponentially, a new mechanism has to be implemented to palliate this. First of all, instead of sending the requests one by one, they should be sent all at the same time, making good use of Javascript asynchronous capabilities. Second, some kind of pagination has to be implemented, retrieving a low number of routes each time, and giving the user an option to get more routes.

Expected behaviour: The routes are retrieved in batches and the user can choose to get more.

Other development information, extensions and problems: none

Acceptance criteria

  • Change the listing of routes to send the requests and process them all at the same time.
  • Add a paging mechanism to the route cache and the route retrieving system.
  • Add an option in the list of routes view to get more routes.

Testing scenarios

  • When requesting more routes, if there's no more routes none are retrieved (no calls are made) and the interface shows it accordingly.

Linked pull requests

@UO264345 UO264345 added enhancement New feature or request Back-end Something that has to do with Back-end development labels May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back-end Something that has to do with Back-end development enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant