equinor / webviz-core-components

Discipline agnostic Webviz and Dash components.
https://github.com/orgs/equinor/projects/24
MIT License
15 stars 16 forks source link

Layout of Webviz #144

Open HansKallekleiv opened 3 years ago

HansKallekleiv commented 3 years ago

Currently Webviz plugins, e.g. https://github.com/equinor/webviz-subsurface are designed individually with no clear guidelines with regards to layout and styling. By providing a library of layout components we can greatly reduce the amount of code needed and easier ensure consistent look and behaviour across different plugins.

We should discuss which components to be added.

Additionally the main webviz layout should be made more flexible.

List of potential layout components

App component

Component that contains the full webviz app, replacing the current sidebar + main view layout in webviz-config.

Page component

A component that contains the plugin content.

Selector component

Component that wraps a selector, such as a dropdown or Select

Various examples from webviz-subsurface used to make selections: image

Plotly figure wrapper

Contains the plotly figure

rubenthoms commented 2 years ago

@HansKallekleiv can you evaluate if the issues/improvements you mentioned are fixed/covered by WLF (#219)?