-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: 3D Resources layering react component #3495
Conversation
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.
Works really good but some additional work is required on styling front.
react-components/src/components/RevealToolbar/LayersContainer/CadModelLayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/PointCloudLayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/LayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/LayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/CadModelLayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/CadModelLayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/CadModelLayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/LayersContainer.tsx
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/elements.ts
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/elements.ts
Show resolved
Hide resolved
…elements.ts Co-authored-by: Savelii Novikov <45129444+Savokr@users.noreply.github.com>
…LayersContainer.tsx Co-authored-by: Savelii Novikov <45129444+Savokr@users.noreply.github.com>
…LayersContainer.tsx Co-authored-by: Savelii Novikov <45129444+Savokr@users.noreply.github.com>
react-components/src/components/RevealToolbar/LayersContainer/CadModelLayersContainer.tsx
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 and feels really good! Small comment about colors on the counter.
react-components/src/components/RevealToolbar/LayersContainer/elements.ts
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/CadModelLayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/Image360LayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/Image360LayersContainer.tsx
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/CadModelLayersContainer.tsx
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/CadModelLayersContainer.tsx
Outdated
Show resolved
Hide resolved
react-components/src/components/RevealToolbar/LayersContainer/LayersContainer.tsx
Outdated
Show resolved
Hide resolved
…CadModelLayersContainer.tsx Co-authored-by: Deep <70804363+deep-cognite@users.noreply.github.com>
…elements.ts Co-authored-by: Savelii Novikov <45129444+Savokr@users.noreply.github.com>
…CadModelLayersContainer.tsx Co-authored-by: Savelii Novikov <45129444+Savokr@users.noreply.github.com>
…Image360LayersContainer.tsx Co-authored-by: Deep <70804363+deep-cognite@users.noreply.github.com>
Co-authored-by: Deep <70804363+deep-cognite@users.noreply.github.com>
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.
gj! let's merge this and we can fine tune in the future :)
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.
LGTM 👍
759ee6f
Type of change
Jira ticket 📘
https://cognitedata.atlassian.net/browse/UX-958
Description 📝
Allows the user to toggle visibility of 3D resources of CAD, point cloud & 360 images
Note: Opacity option is not added as Cad, point-cloud interface from Reveal does not support opacity feature
How has this been tested? 🔍
In storybook
Test instructions ℹ️
cd react-compnents && yarn && yarn build && yarn storybook
Select
Toolbar/LayerContainer
and click onLayers Icon
Checklist ☑️