Skip to content

Instantly share code, notes, and snippets.

@jotes
Created January 26, 2016 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jotes/972a430d62cccab93be9 to your computer and use it in GitHub Desktop.
Save jotes/972a430d62cccab93be9 to your computer and use it in GitHub Desktop.
#pontoon bug 1216546 - progressive load of entities
Backend:
* pagination has to be done on real queryset instead of a serialized array
* all filters should be reflected on the backend side.
* has_suggestions and whole serialization of entitieos should be done as the last step of the entities view.
Frontend:
* We should take an mixed approach - load only entities when it's needed
* We should keep an state of currently loaded page
* Load entities only if there are entities to load1
* Search/filtering should reset a page counter.
Current todo:
* gather-up some plan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment