Skip to content
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

Only display schema in search results if there is more than one schema #15230

Merged
merged 4 commits into from Mar 22, 2021

Conversation

kdoh
Copy link
Member

@kdoh kdoh commented Mar 18, 2021

Fixes #15216

Uses Schema.ListLoader to look at the number of schemas for a database and only shows the schema for a table if there are multiple that we need to display. This keeps things consistent with how we show schemas elsewhere in the app.

One unfortunate side effect of this is that there can be a brief "loading" spinner on individual items. I'm going to investigate setting loadingAndErrorWrapper to false on the loader to prevent the UI flash.

Todo

  • Try removing loadingAndErrorWrapper from Schema.ListLoader to prevent UI flash

@kdoh kdoh requested a review from daltojohnso March 19, 2021 12:48
@kdoh kdoh marked this pull request as ready for review March 19, 2021 16:07
@kdoh kdoh merged commit ba495bd into master Mar 22, 2021
@kdoh kdoh deleted the fix/15216 branch March 22, 2021 13:02
@kdoh kdoh added this to the 0.39 milestone Mar 22, 2021
@rlotun rlotun removed this from the 0.39 milestone Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search: some results are as being in a folder which doesn't exist in the data reference
3 participants