houston icon indicating copy to clipboard operation
houston copied to clipboard

Large collections

Open elie222 opened this issue 11 years ago • 4 comments

I have a collection with 600 items and something like 30-50 fields. When I click on it in the admin panel, the screen freezes and I can't close the window, refresh or navigate away either. (Using Chrome on a Mac).

elie222 avatar Dec 06 '13 14:12 elie222

Just checking - does your application still use the autopublish package? In general, we paginate precisely to avoid issues like this.

AlexeyMK avatar Dec 06 '13 22:12 AlexeyMK

It does not use autopublish. But I was subscribing to the entire collection, so that would have the same effect having autopublish right? I removed the subscribe call, and after a little while the first 20 or so items in the collection showed up, and now it looks like about 100 out of 600 have showed up, the rest of the collection doesn't seem to be loading though.

elie222 avatar Dec 07 '13 16:12 elie222

The rest of the collection won't load unless you scroll down(infinite scroll). in my mind, most of the use cases with lots of records would be resolved by using a filter for what you were looking for.

Do filters not solve this issue for you? Could you please describe your use case in a bit more depth? On Dec 7, 2013 8:39 AM, "Eliezer" [email protected] wrote:

It does not use autopublish. But I was subscribing to the entire collection, so that would have the same effect having autopublish right? I removed the subscribe call, and after a little while the first 20 or so items in the collection showed up, and now it looks like about 100 out of 600 have showed up, the rest of the collection doesn't seem to be loading though.

— Reply to this email directly or view it on GitHubhttps://github.com/gterrono/houston/issues/116#issuecomment-30058720 .

AlexeyMK avatar Dec 07 '13 22:12 AlexeyMK

It's not that important for me to view this collection through Houston, so I suppose there isn't a real use case. Just when I click this collection, it causes me problems. When I scroll down the page, it doesn't seem to be loading anymore records. I loaded about 100 or so records and then no more were loaded up.

elie222 avatar Dec 08 '13 23:12 elie222