Tomáš Gajdoš
08/23/2023, 7:34 AMGDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.RESOLVED
event to get the url and as you can see in the attached screenshot, it comes in more than a second later than GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.REQUESTED
event. We have set up the custom url to something like `https://example.com/{attribute_title(Entity.Entity)}.
When I look at the networks tab, I see one request that is probably being awaited before the custom url is resolved, which is a request to api/v1/entities/workspaces/{workspace}/attributes
. The interesting thing is, that it returns around 200 rows of data, which is absolutely not needed to resolve the url (right?). It seems to me, that no additional request should be necessary in order to resolve the URL.
Are we doing something wrong? Thank you!Joseph Heun
08/23/2023, 8:28 AMTomáš Gajdoš
08/23/2023, 9:01 AMJoseph Heun
08/23/2023, 12:03 PMTomáš Gajdoš
08/23/2023, 12:10 PMGDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.RESOLVED
event. the issue is the time between GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.REQUESTED
and GDC.DASH/EVT.DRILL.DRILL_TO_CUSTOM_URL.RESOLVED
events.Tomáš Gajdoš
08/24/2023, 2:52 PMJoseph Heun
08/24/2023, 2:58 PMTomáš Gajdoš
08/24/2023, 2:59 PMRadek Novacek
08/24/2023, 3:45 PMTomáš Gajdoš
08/24/2023, 6:35 PMREQUESTED
event, but I’d like to avoid that, as no additional data are needed to resolve that URL in this case. Even if additional data was needed, we shouldn’t have to download the whole table again. And actually, from what I can see the exact same attributes request is made when the dashboard is loaded.Václav Slováček
08/25/2023, 9:46 AMRadek Novacek
08/28/2023, 7:49 AMUnfortunately, the resolving is async function because when you click on a chart we need to resolve alternative label for the attribute item you clicked on and it could take some time.
Tomáš Gajdoš
08/31/2023, 7:20 AMwe need to resolve alternative labelWhat do you mean by resolving alternative label? At least in our basic use case, there should be no need to fetch any extra data. And even if we needed data from a column that is not displayed in the table, there is no need to fetch data for all hundreds of rows in the table.