Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: paginate the Contacts page and improve database performance #2135
This commit uses Vue Good Table, already used for the conversations logs, to display the contacts in a datatable that is paginated on the server side. This was suggested in #1992.
This way, instead of having 470+ queries on the contacts page for 152 tags and 134 contacts, only 16 queries are necessary now.
Thanks for your help @AdrienPoupa this is pretty impressive.
Tests fail because you forgot to run
We are going to review this PR over the next days. I think I'll also have to tweak the design a little bit. We'll keep in touch!