influxdata / influxdata/ui

Notebooks: As a builder, I want to easily switch to Flux script while building a query

Open
#3,082 1 comment 0 reactions 0 assignees View on GitHub
area/notebooks team/automation team/ui team/unity
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

We found in our user research that users who are familiar with Flux quickly switch to the script editor, often doing so in Data Explorer. Currently, we're hiding Convert to Flux within the panel dropdown menu, which could be a large deterrent for Flux script users looking for an easy way to switch to Flux.

To make this experience similar to what we currently have in Data Explorer, let's place Convert to Flux/Script Editor directly on the Query Builder panel.

Data Explorer Experience:
![Screen Shot 2021-10-29 at 1.23.00 PM.png](https://images.zenhubusercontent.com/6058abb75f3c06c1d25467ae/184bf67a-8f98-4ca8-b833-aecf5447a089)
![Screen Shot 2021-10-29 at 1.23.11 PM.png](https://images.zenhubusercontent.com/6058abb75f3c06c1d25467ae/74bc536a-86f2-4347-937a-437d0e500a88)

New Design:
![Query Builder.png](https://images.zenhubusercontent.com/6058abb75f3c06c1d25467ae/136a6871-a31b-4b23-83b0-ddec198770bb)

Questions:
- How often do users switch to Script Editor in Data Explorer? Do we have the stats to support this design change?
- Do we want to call this feature "Script Editor" or "Convert to |> Flux"?
- Similarly to what's included in Data Explorer, would we want to allow the user to go back to the Query Builder, but just include the message that they'll lose their work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.