OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

UI: making calls to users, teams, tag on dataset details page

Open harshach opened this issue 5 years ago • 5 comments

We are making calls to users, teams, tags api on dataset load page where we don't need this info until user goes to Manage page. image

This might be ok with few 100s of users but it will cause issues at bigger scale. We need to make calls to backend when required not ahead of time as most of these calls will not be useful. There are few times users might go and assign a owner vs there are lot of times where users can come in and read the content.

Related issues

#2784

harshach avatar Nov 10 '21 17:11 harshach

For Users and Teams, we are not calling it everytime dataset page loads It is being called post login or if the user refreshes and is already logged-in There after it is used across the app

darth-coder00 avatar Nov 11 '21 05:11 darth-coder00

For tags thing, will need to take a look

darth-coder00 avatar Nov 11 '21 05:11 darth-coder00

@darth-coder00 what's the need for querying users API at all? especially with limit set so high

harshach avatar Nov 11 '21 05:11 harshach

Fixing users thingy and moving this ticket to next release

darth-coder00 avatar Nov 11 '21 10:11 darth-coder00

Blocked by #2704

darth-coder00 avatar Feb 10 '22 04:02 darth-coder00