-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Dashboard] Prompt Visualize users to start with Dashboard #79925
Comments
Pinging @elastic/kibana-canvas (Team:Canvas) |
Toast looks great @ryankeairns When users start in Visualize and click |
Here are a couple of options which could be done separately or together. Adding a popover to 'Create visualization'Pros
Cons
Adding a select input to the Save modalPros
My recommendation would be to start with the latter and see how effective it is. The popover menu might detract from the current UX although, on the other hand, this heavier-handed approach might ultimately get more people on the new flow. Clickable Figma prototype |
I prefer the "Adding a select input to the Save modal" option. When nudging users towards Dashboard first, Maps should also provide similar UIs as visualize. Adding a select modal is less intrusive and would be a great addition for Maps. |
I think looking at the mocks I agree with Nathan. It might come off a bit aggressive making the users choose their path before they start. maybe when finishing the visualizations we should give them the 3 option:
on the other hand. If we go with this approach I'm not sure how much it changes the users' behavior in the long run. They can just continue with their usual path starting from visualize |
Let's do this...
This feels like a low risk approach that may get us all that we need. Let's also keep in mind that we've since changed the home page, added a Kibana overview page (which does not display Visualize), and (soon) the main menu link text to Visualize Library. Other changes we have up our sleeve are the product tour and changes to the 'Add panel' UX within Dashboard. If we nail that latter UX, then users should want to stay in that Dashboard loop. We may find that this set of changes does the job. If it does not, then we'll re-evaluate our options and points of contact... of which there are many. |
As I re-read @AlonaNadler 's comment, I might have misunderstood the suggestion. If I'm following now, I believe the suggestion was a popover menu on the Save button (similar to what I had proposed on the 'Create visualization' button). With that feedback, plus my response in mind, I've come up with the following alternative which I hope melds our thoughts. By adding a bit more UI, and thus visual weight (i.e. radio buttons and a scoped down search/select input), we can imply to the user that they should strongly consider adding this new viz to a dashboard. This approach results in a single, re-used, 'Save' modal whereas a popover menu (on the Save button) would result in varying conditional elements within the form. It's nuanced, but I'm hopeful this is a good balance of visual emphasis along with a relatively less-complex technical approach. |
I would keep text as generic as possible so the same modal can be used in Maps. So "No dashboard (add to visualization library only)" should be "No dashboard", or better yet, maybe these should be check boxes and there is no option for "No dashboard". For "No dashboard", users just will not select an option under "Add to dashboard". |
@ryankeairns would it be possible to add another icon (a little plus sign) under the actions column of the Visualization Library screen with the action of opening the same drop-down as the 'Create Visualization' drop-down (expect no 'No Dashboard' option), or is there another way you are thinking of doing this / exists in another issue? |
I like the save modal dashboard select design, but I can think of a few small issues:
I think we could use this design with the radio buttons as a standard 'dashboard select' component, but display it as the second step in a 2 step process. Step 1: Step 2: |
Great feedback y'all, I'll keep iterating and report back. |
Ok, I'm back with some new designs. Taking into account the feedback above, I think these address the concerns related to:
First, I want to call out the 'widget' (i.e. shared component) itself. Imagine this being used in any Kibana save modal, where applicable. If we really want to streamline things, we can consider having it start in the 'on' state with the 'New' dashboard selected (as shown above). This means you could, in theory, supply a title, click Save, and boom you end up on a dashboard. The pros are that it reduces clicking and lifts you onto the dashboard flow. The question I have is - does it do this too well? Will users be surprised and will we proliferate the number of dashboards in a bad way? Perhaps not, but curious your input. Aside from the default switch state, I've made an attempt to generalize the copy, and reduce the number of options to two (new or existing). Note: These mockups are macbook/laptop size; somewhat small, but realistic Mockups with new widgetSingle-wideI share @ThomThomson 's concern, this thing is getting long and feels untenable Double-wideThis feels attainable in the short to medium term. Reduces the potential for scrolling, but doesn't leave much room for future growth. Full houseAs part of the tagging design, Michael proposed moving the save modal to a flyout to gain more real estate. It's an interesting thought that potentially requires a significant-ish amount of addtional effort and, as you can see, its not without the potential for scrolling. It does provide potential for growth in terms of steps, etc. RecommendationOf this set - and given the timeline - I'm thinking the 'Double-wide' approach gets us where we need to be and seemingly addresses the requirements. It seems like a great candidate to be a shared component across Kibana apps, and we can also circle back to the flyout later (and still re-use this component). |
I like the direction I offer a slight change The default should be Ryan please also add an |
Folks how do you suggest going forward here? This is the option I think we should go forward with cc: @clintandrewhall |
@poffdeluxe has started work on the 'Add to dashboard' piece of this modal. Last week was crazy :) , but I did finally start working on your latest feedback this morning @AlonaNadler . The side-by-side approach was the most accommodating for the smaller (laptop) screen sizes. Poff and Devon also suggested not having the checkbox since it presented additional complexity that could be avoided (i.e. we'd have to handle creating a dashboard and not redirecting to it). I've also worked in the suggested tooltip and am now showing the Tags input in a disabled state when we're adding to a dashboard (i.e. not adding to the library). We could alternatively hide it, visually, but I wanted to avoid having the modal size jump around as the switch is toggled. |
Perfect @ryankeairns thanks !
I think we should hide the tags when it is not relevant. It is sort of tempting to try to understand what's the library? why don't I have tags? and in general a disruption. On the radio button, can you please change the order: first radio is the default ( |
One other case we'll want to think about (that I don't think is covered above.. lemme know if I missed it): if a visualization is in the visualize library already, what options for adding to a dashboard to we give the user in the save dialog? Perhaps if they're wanting to save an existing visualization to a dashboard in this modal, the "Save as new visualization" would automatically get enabled (and couldn't be disabled) since we'd basically be taking the saved visualization and copying it to the dashboard as a by-value embeddable. This is something we can mess with though to get right. I'm working on getting a PoC together so we can see how we feel about this flow |
Thanks @poffdeluxe , happy to talk through that UX once you're ready. |
Updates:
cc:/ @gchaps - need some help finalizing the radio button labels. Let me know if you'd like further explanation of the overall situation. Thanks! |
@AlonaNadler @ryankeairns As a part of this issue, are we adding this flow to maps as well? The |
I believe the Maps team would handle that addition once they're ready. cc:/ @nreese |
That is the way I understood that as well |
Can you clarify? What do you mean by "handle that addition"? |
@nreese we're referring to enabling the 'Add to dashboard' feature within the save modal. From what I understand, these apps share the same modal, but I think we were unclear if Maps currently supports the functionality proposed by this issue. Specifically, does Maps yet support the by-value/Library workflow? Once it does, then the 'Add to dashboard' feature could be displayed in the modal which allows those who to start from Maps to be, essentially, redirected to a dashboard with a by-value map. |
Yes, maps supports by-value library flow. That was merged with #82486 I will have to look into the 'Add to dashboard' feature for maps save modal. |
Closed by #83140 |
As part of the Time to Dashboard project, we would like to reinforce the new, preferred workflow that starts from Dashboard.
Many existing users are accustom to first navigating to Visualize and creating visualizations. Next, they create a new Dashboard whereupon they add those previously created items. In order to help users re-learn this flow, we are proposing the addition of a callout or toast message within Visualize.
~While we have not settled on a final solution, recent user testing leads me to believe that the toast message would be more effective. That said, it would potentially necessitate a bit more work to manage its state (i.e. when to show it; use of
localStorage
).The added benefit of the toast is that it could persist on both the Visualize home and editing screens without affecting the page layout. Technically speaking, the callout could also be made dimissible and have its state stored in
localStorage
, but it would push things down making for a less desirable layout, even if momentary. ~Update: Current consideration (October 30)
The thread below has moved in the direction of updating the Save modal. These additional redirection points could be considered separate/future updated after an initial evaluation period for the modal changes. As an aside, the proposed usage of a toast doesn't seem to follow best practices on usage and the callout is likely to be more in line with precedent.
Save modal updates
Clickable Figma prototype
https://www.figma.com/proto/YA02RZlZQ6IQWlyzyiFzZx/Dashboard?node-id=1544%3A64&viewport=1079%2C1471%2C1.1890755891799927&scaling=min-zoom
Prior considerations
As an aside, the proposed usage of a toast doesn't seem to follow best practices on usage and the callout is likely to be more in line with precedent.
Sample toast
Sample callout
The text was updated successfully, but these errors were encountered: