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

fix(ui): fix unresponsive ui on hidden tables #1963

Merged
merged 6 commits into from Mar 22, 2022

Conversation

insmac
Copy link
Contributor

@insmac insmac commented Mar 18, 2022

There was a bug in Web Console related to #1951 - an added ability to hide telemetry tables in Schema list - it made SQL editor inoperative in that scenario.

This PR fixes that by refactoring how Query store is initiated, so that an empty array is not set upfront, only when the tables() query responds with an actual array (empty or not).

@insmac insmac added Bug Incorrect or unexpected behavior UI Issues or changes relating to the Web Console labels Mar 18, 2022
@bluestreak01
Copy link
Member

@argshook do you mind reviewing ?

@argshook
Copy link
Contributor

Me and @insmac discussed this in private and are checking if we can avoid some logic entirely. Here's an example https://github.com/questdb/questdb/compare/ui/fix-editor-when-no-tables?expand=1

@bluestreak01 bluestreak01 merged commit 9b73bcc into master Mar 22, 2022
@bluestreak01 bluestreak01 deleted the fix-ui-on-telemetry-tables-hidden branch March 22, 2022 20:19
argshook pushed a commit to questdb/ui that referenced this pull request Jun 8, 2022
argshook pushed a commit to questdb/ui that referenced this pull request Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Incorrect or unexpected behavior UI Issues or changes relating to the Web Console
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants