elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

Graph side bar redesign #45345

Closed flash1293 closed 5 months ago

flash1293 commented 5 years ago

The side bar in the Graph app is a complex UI element that contains lots of different functions used to manipulate the shown Graph visualization.

For a new user it is often difficult to find a specific function. As part of rewriting Graph in Typescript and React (https://github.com/elastic/kibana/issues/44225), the usability of the side bar should be improved.

Screenshot 2019-09-11 at 11 16 07

The side bar contains controls for the following functions - all of these should be available in some form:

cc @monfera @cchaos @shaunmcgough

elasticmachine commented 5 years ago

Pinging @elastic/kibana-app

shaunmcgough commented 5 years ago

One way to do this is like they do In Maps, the sidebars toggle very nicely on / off. If you click to edit, another flyout appears and moves the whole workspace over as well. In general I am a big fan of the first two Off / On which I've posted below. The toggle is black, as this was taken in dark mode.

Off

Screen Shot 2019-09-11 at 8 25 54 AM

On

Screen Shot 2019-09-11 at 8 32 53 AM

On w/ Edit

Screen Shot 2019-09-11 at 8 33 57 AM
flash1293 commented 4 years ago

Besides finding a nice way to represent all of the functions of the side bar (undo, redo, details viewer and so on), I would also like to change something about the flow the user adds vertices to the workspace. Currently the user is just clicking the plus button which calls the explore api underneath. The results are then merged into the graph. To give the user more control over what happens I would like to separate this into two steps. There is a side bar showing what would be added if the plus button would be clicked, and the user can either pick the vertices they are interested in or they "add all".

Screenshot 2019-09-30 at 15 55 50

(redpen with a few remarks: https://redpen.io/kyca0cb1c695bbcfec)

This layout is also helpful when there are more ways to create vertices (all terms from a field, saved queries and probably more like this) Later when we add the features, it could look like this:

Screenshot 2019-09-30 at 17 59 01
rayafratkina commented 4 years ago

+1 on the proposed flow change to add an explicit step including results of search in the graph

miukimiu commented 4 years ago

Hi all,

Here's a design prototype with some ideas for the sidebar. All suggestions and comments are welcome. You can add your comment right on Figma: https://www.figma.com/file/6ItUBrduSUo84oqZATwm4I/Graph-Sidebar?node-id=0%3A1

@shaunmcgough I used a similar widget/sidebar like the one you suggested.

Graph-sidebar

flash1293 commented 4 years ago

Hi @miukimiu ,

this looks great!

A few comments:

miukimiu commented 4 years ago

Hi @flash1293, I'm still working on a few ideas. If you see the Figma Prototype there's a popover for connections.

But I guess I can share the designs in progress in our weekly meeting. 😃

elasticmachine commented 3 years ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

elasticmachine commented 1 year ago

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

timductive commented 5 months ago

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.