@irgendwie Many thanks Alexander for this great update! That’s a wonderful load of improvements.
I’ve installed 2.0.1. on all 5 instances which I manage, works fine. I myself hardly use the Nextcloud GUI at all, it’s all DAV for me (Thunderbird-Lightning, Thunderbird-Cardbook, Nextcloud Client). Which all works fine.
But one of my clients initially loaded an address book with THOUSANDS of contacts, and we have never been able to use it since in the GUI. When I now read “Introducing lazy loading, faster initial loading #88”, I hoped that his problem would be solved. But not so. There is still a very basic problem in the software architecture - i.e. trying to load all the contacts at once and handle them in JavaScript. That idea just HAS to break on larger amounts of data. Firefox keeps complaining that a script is running for too long, after several times of “keep on running it” every user will give up. I did note that the contacts app now seems to have a display limit of 999 set in it, but this does not solve the basic problem.
I do remember starting or adding to a different thread on this topic a year ago or so, in which I detailed some ideas to have real lazy loading. The main problem is that you want to select / sort by categories in the GUI, which means that the GUI needs ALL the contacts. IMHO this should be done by server requests - which indeed may be a bit slower on small amounts of contacts - but will work for LARGE amounts of contacts.
My own personal contacts - grouped in three different books - total to 969 contacts, and are sluggish in loading, but it works. What I really miss is the option to select WHICH of those three books are to be displayed in the GUI: I would only really need one in everyday use, the other two are my archive and my girlfriends book, both of which I only seldom need. When I click on “Einstellungen” a list of address books slides up, at the end of each address book line are three dots for a context menu. That menu offers: Copy link / Download / Rename / Delete. It would be GREAT if it could also offer a checkbox to include/exclude the book from being loaded.
Those two features I have noted above would make the contacts app - finally - into something which I could wholly recommend for professional use - it’s the only reason I don’t (yet). Obviously I would love to!
The bees knees would be an option to use either client-side or server-side category selection
Finally: Let’s not loose perspective! You guys have done a really great job this far - THANKS!
Tim