Description
The users list (shown below) has two problems that we want to tackle: first, it does filtering on the client side, resulting in poor performance on mobile devices for large lists. Secondly, it is not consistent with the rest of the app, where the filtering happens on the backend.
Also, we would like to get rid of Angular to cut off some complexity that we think is not needed. It can greatly simplify the app and make it easier for others to contribute to the project.
Requirements
- Paginate the response in the backend, so that not all records are returned in one go. This is already done in offers. See image below:
-
Change the search field to query Elasticsearch, rather than filtering on the client side. Again this is already done in
offers/dashboard
. -
Remove all the now unused Angular machinery. We might not be able to completely remove Angular as it might be used in some other corner of the app.
This clearly fits in two isolated PRs that would go together in the next release.