Cartodb: Entering to the Intersects analysis makes the list for the target layer to load even if the analysis has been run before

Created on 22 Aug 2016  路  7Comments  路  Source: CartoDB/cartodb

The layer would appear already selected with no loading

Frontend bug

All 7 comments

Hi @ramiroaznar.

Could you add more information about this issue, please?

intersect

This will speed things up a lot, especially for users with lots of datasets.

I'm not able to reproduce the issue. What Target Layer are you using?. Could you attach the carto file?

Thanks @ramiroaznar

I think you were not able to replicate it because you need an account with lots of tables.

.carto: Untitled Map 7 (on 2018-07-04 at 10.50.17).carto.zip

But as I said, try to upload several files to your account.

So, after some research, trying different things this is what I found out:

Our first approach was to load just 20 datasets and then use the search bar to make a request to load more, first I tried to use the LazySelect component, but we can't use it because it relays on the method fetch of a collection, and we don't have a collection here, then I tried to replicate the LazySelect behavior in the NodeDataset component, but we can't do that either because of the same reason.

The second approach was to show the loading spinner with the currently selected option, that way the users will know which dataset is selected while they wait, but we can't do that because at that point we just have the value, which works for tables, because it's just a name, but it doesn't work for nodes, since we just have a0, a1, etc, and the input shows more information, like if it's a source node or the table name.

To be honest I've run out of ideas. In my opinion, we should keep it as it is, and if it really becomes a huge problem we should invest more time in thinking how to retrieve that data in a better way and implement it differently.

Thanks for the effort. Let's close it then. We can reopen it if someone comes with another approach in the future.

Was this page helpful?
0 / 5 - 0 ratings