-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
[Design Proposal] New Chart Creation flow #6996
Comments
Hi, thanks for creating this design proposal. I recently worked on the datasource control, and have a few comments about that section of the designs. We recently brought back the ability to change datasources from the explore view (#6816), it's been an important feature for users and one we'd like to keep around. We also tried to move away from using icons to avoid having a number of icons when there are lot of actions (I don't have a super strong opinion about this but just thought I'd note it). @xtinec also had a PR to bring back the + metadata button next to the datasource control (not sure if this is something they still need to keep #6911). We also have some pretty long table names, so something short like |
Hi @michellethomas Thanks for bringing up these issues. I did these designs assuming that we did not have the ability to change datasources from the explore view, because at the time it hadn't been merged. I agree that it's important and I understand why you want to keep it around. What do you think about doing this instead of what's mocked up here?
|
I could shed a tear for how long I've wanted to see a new button / creation flow.
This is awesome work Anita! Thank you so much for pushing this forward! |
thanks @dorq for the designs! @kristw and I just looked it over more thoroughly and our biggest comment is the top-level |
@williaster @kristw Apologies for the delay in responding to your last comment:
Can you clarify this a bit for me? I don't understand what you're suggesting here. |
@dorq sure. Basically it does not make sense for this set of tabs ( |
This is a proposal for multiple changes to the current chart creation flow. Please share any concerns or comments directly in this issue.
How to access the new chart flow
We recently added a universal “New” button to the Superset navigation bar:
This “New” button is available from every page in Superset. Users enter the flow proposed here by selecting the “New… Chart” option.
Users can also access this chart creation flow via all existing modes:
When a user selects the “New… Chart” option above, we propose this new chart creation experience...
New Chart Creation Flow (proposed)
First, the user must choose a datasource:
Then, the user selects a chart type. This employs the same thumbnail grid we currently show for changing vis type.
We’re suggesting here that “Line Chart” be the default selection, rather than a null selection. This should be behind a feature flag or a config for orgs to control.
Superset will automatically configure the chart to show some valid data by default; in this example it has selected the first time series value available in the datasource (COUNT(experiment) by experiment_start) and updates the title accordingly (if not already named).
If we default to any particular type (as suggested to use “Line Chart” above), this second step be skipped/”completed” by default and the user will jump to step 3.
Notes on previous steps: Now that datasource has been selected, the icons for viewing datasource configuration (eyeball icon - suggestion is to update this icon) and accessing the datasource in SQL Lab (beaker icon - keep existing icon) are viewable in the datasource selection banner:
The CTA in the datasource section is “Configure” rather than “Edit” because the datasource cannot currently be changed (We’re actively discussing bringing back this functionality, but it is not decided yet).
Step 3 is to configure the chart using all the options we currently have in the Superset sidebar:
The previous screens detail the flow for when a user creates a new chart. When users edit an existing chart, these same changes apply there as well, but the user is brought directly into step 3 of the proposed wizard since steps 1 and 2 are already complete.
If the current configuration is sufficient to produce a working chart (that is, one that actually renders a chart rather than an error), this is the “Success” state:
If, however, the state contains an error, we surface it to the accordion header like this:
How to move forward
Lyft is proposing these changes as a result of research and many iterations with multiple teams. Airbnb (cc @elibrumbaugh) will further iterate if needed, but at the time of this proposal, the general consensus is that this is an improvement on the current UX for chart creation, so we would like to enable development of this ASAP.
The text was updated successfully, but these errors were encountered: