-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of propertyDefinitionModel
and eventDefinitionModel
#8257
Comments
I don't think that #8255 is the same issue Although I don't want that to take away from my agreement that the "maybe you can query for this thing" behaviour is confusing :) |
Here are the various ways
Depending on the usage, we need to either move to a universal paginated list, change to an autocomplete filter, or making bespoke queries to fetch just one property (e.g. loading a page with a filter --> find out what type it is). |
The
|
excellent analysis 🙌
That component is going to make me go bald even faster! e.g. #7970 |
I hope you've done a victory lap around the house @mariusandra |
Bug description
There are many parts of the app that still rely on all
propertyDefinition
s to be loaded intopropertyDefinitionModel
before they start to work properly.Unfortunately the property flattener plugin makes it possible to easily have 100k+ properties, rendering parts of the app flakey for the first 10sec or even (much, much) longer, while all the properties load:
Some recent issues where this has come up:
We have a few heavy users who could even load hundreds of megabytes of properties into memory.
Expected behavior
Various filters and other widgets still rely on
propertyDefinitionsModel
andeventDefinitionsModel
to be populated with data that's always there.We need to remove these models, and introduce paginated data loading where needed.
The text was updated successfully, but these errors were encountered: