-
Notifications
You must be signed in to change notification settings - Fork 39
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
Visual Query Editor #91
Comments
Love this. It's really hard to structure a query editor that captures all the use cases a language (especially like kusto) provides, but I suspect the important thing would be to cover 80% of the common cases, and leave the remaining ones back to monaco. In angular we had a "switch between" view. Is that no longer going to be a thing? As I see a more hybrid approach here. |
@srclosson I think we will keep the switch to raw mode. The latest design looks like it will be simpler than these initial designs. |
Please do not remove the raw mode.. we use the ADX plugin quite a bit with complex queries (and sometimes functions as well) A visual editor would likely not be handle that level of query complexity. |
I agree with erikbos, Please do not remove the raw mode. we anyway work with Kusto Explorer and copy paste the queries since the ADX plugin + Chart updating is painfully slow to the point where it's unusable to edit queries in most scenarios. I'd be happy if the Raw mode could be set as the default editor (maybe by customization), since the experience is already very "mouse clicky" as is. For us the visual query editor is anyway not a main usage scenario. |
Hello! My feedback from UX testing the status quo of v3:
Buttons: There is a color bug for me currently where the “Run query” button switches between primary and secondary, first a few seconds after loading and then after interacting with the buttons it randomly switches back and forth. There should only be one primary action button, not two. It shouldn’t be Query editor but Run query, not only because of the user feedback but also because you will only switch the edit modes once but run queries all the time. having the "wrong" non-running button be blue is super distracting. I also think that the Run Query functionality should be on the left = closer to the query editor for a shorter distance you have to travel with your cursor. I do think that "Run query" is important enough and far away enough from the top save button to make it primary without the top right corner distracting from it. |
I will close this issue since we have shipped a version with this. |
Creating a visual query editors for other data sources like MySQL or InfluxDB would help new users get started with ADX without having to know KQL well. Even for experienced users, having a wizard/visual query editor would aid in writing queries that return data in the correct format for graphing.
Here are some early designs but need to research the following topics more:
Figma sketch: https://www.figma.com/file/J7JWlBHNLOZwqnNUAfIJob/ADX-query-builder?node-id=3%3A198
The text was updated successfully, but these errors were encountered: