-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up all CRUD list views (#2747)
Load times on list view pages like Slices, Dashboards, Tables and Database have grown to be terrible over time. After a bit of digging, I found that the not specifying `search_columns` in ModelViews actually means "all columns" and that for each filter, FAB goes and fetches a list of all values to prepopulate the filter dropdowns. That means that the list of tables would fetch all slices and all users upfront which is horrible. Worse, database list view would fetch all queries with is insane. This picks a subset of columns for search/filters and changes the default to show only 100 elements per page instead of 500
- Loading branch information
1 parent
d5e9d5d
commit e558444
Showing
5 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters