render the tables list even as the table sizes are loading #9741
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reopening from #9198 because I couldn't figure out the mess I made between rebase and merging.
This is a
ui
feature
This will fix something that's annoyed me greatly about the tables page. We fetch the table list, then the table data, then the schema data. But we don't render the tables until we have all that data. Since this can take minutes (specifically getting the size of big tables), it leaves the page on a spinner when usually we just want the table list immediately.
TableData
model to track if the data is still loadingTables.tsx
to render a loading indicatorTablesListingPage.tsx
to separately load schema and table dataTables.tsx
to track initial data separately from the data that is finally rendered so we can update the table data while still maintaining sorts and filters.async_table.mov