-
Notifications
You must be signed in to change notification settings - Fork 10
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
2D Viewer module #811
2D Viewer module #811
Conversation
Co-authored-by: Hans Kallekleiv <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice job! A lot of great stuff.
Have reviewed everything except 2DViewer/layers/
folder. Will take than after the weekend, so this is a first step of my review 👍
Only minor comments from my side.
frontend/src/modules/2DViewer/settings/components/layerManagerComponent.tsx
Outdated
Show resolved
Hide resolved
frontend/src/modules/2DViewer/view/components/ReadoutWrapper.tsx
Outdated
Show resolved
Hide resolved
frontend/src/modules/2DViewer/view/customDeckGlLayers/WellborePicksLayer.ts
Outdated
Show resolved
Hide resolved
frontend/src/modules/2DViewer/view/customDeckGlLayers/WellborePicksLayer.ts
Outdated
Show resolved
Hide resolved
frontend/src/modules/2DViewer/view/customDeckGlLayers/WellborePicksLayer.ts
Outdated
Show resolved
Hide resolved
frontend/src/modules/2DViewer/view/customDeckGlLayers/WellborePicksLayer.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice and impressive work!👍
I've reviewed the general structure and general functionality, without diving too much into details. Just minor comments (sorry for a lot of repeating comments) with respect to naming and documentation for clarity.
In general, I prefer naming classes which implements an interface a name ending with the interface name. E.g. class RealizationItem implements Item {}
vs class Realization implements Item {}
- when we have an interface named Item
. This can make it easier for the user when where RealizationItem
component/class is used. As for the classes in the implementations/
-folder.
frontend/src/modules/2DViewer/layers/implementations/layers/RealizationPolygonsLayer/types.ts
Outdated
Show resolved
Hide resolved
.../2DViewer/layers/implementations/layers/RealizationSurfaceLayer/RealizationSurfaceContext.ts
Outdated
Show resolved
Hide resolved
frontend/src/modules/2DViewer/layers/implementations/layers/RealizationSurfaceLayer/types.ts
Outdated
Show resolved
Hide resolved
.../2DViewer/layers/implementations/layers/StatisticalSurfaceLayer/StatisticalSurfaceContext.ts
Outdated
Show resolved
Hide resolved
frontend/src/modules/2DViewer/layers/implementations/layers/StatisticalSurfaceLayer/types.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Great work! 👍
Closes #803.
Depends on: