You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Well-log viewer renders a small black box with the currently hovered or pinned log depth. This element is currently not needed for our use webviz, so it would be nice if there was an option that allowed us to disable it (for now, we're applying CSS to remove it).
The text was updated successfully, but these errors were encountered:
But looking into the code in WellLogView, isn't the way we're building these overlay elements very non-react like? We have a series of addOverlay functions, that uses a ref to the container div, and manually injects the elements and styles with native html logic... wouldnt it be more correct to change the overlay elements to be made with proper React components, as opposed to the callbacks, as you propose?
In regards to your proposed strategies, I'd say that option 1 is the cleanest (but I'd wanna use React components instead of the existing callback approach). Defaults could be provided as exported "overlay widget" components, and the core WellLogViewer component could have all these widgets added by default (the same way it default's to the right-sided layout unless)
So on the top level, you'd configure it like this, I guess?
The Well-log viewer renders a small black box with the currently hovered or pinned log depth. This element is currently not needed for our use webviz, so it would be nice if there was an option that allowed us to disable it (for now, we're applying CSS to remove it).
The text was updated successfully, but these errors were encountered: