Skip to content
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

Introducing Webviz Layout Framework (WLF) #599

Merged
merged 73 commits into from
Jun 21, 2022

Conversation

rubenthoms
Copy link
Collaborator

@rubenthoms rubenthoms commented Jun 16, 2022

Based on #578, this PR introduces all Python classes and changes to the application template required by the new Webviz Layout Framework (WLF). That is (not exclusively):

  • Fundamental new functionality in _plugin_abc.py while not introducing breaking changes
  • New plugin subclasses:
    • _layout_base_abc.py: A base class for all new WLF classes
    • _layout_unique_id.py: A class for handling unique IDs for all new WLF instances
    • _settings_group_abc.py: A base class for implementing settings groups
    • _views.py: Base classes for view elements, layout elements and views
  • Changes to webviz_template.py.jinja2: Implementing new structure with React components from Introducing Webviz Layout Framework (WLF) webviz-core-components#219
  • Added example plugins with WLF in example_content_wrapper_plugin.py

ℹ️ This PR depends on equinor/webviz-core-components#219

rubenthoms and others added 30 commits March 15, 2022 17:27
Co-authored-by: Jørgen Herje <jorgen.herje@ceetronsolutions.com>
- Plugin download has issues for views not active - ids are not existing!

Consider adjusting download per View instead of entire Plugin?
Copy link
Collaborator

@HansKallekleiv HansKallekleiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice work! Looks great!

Couple of things that we should add as issues to solve later:

  • References to uuid should be removed as plugin ids are not generated based on this anymore.
  • Option to keep multiple settings groups open at the same time as discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants