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

feat(grid3d): prop to show-hide grid lines added #1624

Merged
merged 2 commits into from
Aug 2, 2023

Conversation

LeonidPolukhin
Copy link
Collaborator

The prop "gridLines" added to Grid3d layer.

@LeonidPolukhin LeonidPolukhin added enhancement New feature or request AspenTech Task owned by AspenTech map-component Issues related to the map component. labels Aug 2, 2023
@LeonidPolukhin LeonidPolukhin linked an issue Aug 2, 2023 that may be closed by this pull request
/** Enable lines around cell faces.
* default: true.
*/
gridLines: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggest making gridLines optional with the ? operator

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The same prop isn't optional in triangle layer. For consistency, should all the props of the kind be optional?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think so, yes

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As it touches several layers suggest to make it in a separate task, if you don't mind.

@LeonidPolukhin LeonidPolukhin merged commit 0b22788 into equinor:master Aug 2, 2023
4 checks passed
@LeonidPolukhin LeonidPolukhin deleted the showHideGrid3dLines branch August 2, 2023 08:05
hkfb pushed a commit that referenced this pull request Sep 20, 2023
# 1.0.0 (2023-09-20)

### Bug Fixes

* Improve "isLoadedCallback" to not return true before first draw of layer not only just when data are loaded. ([#1656](#1656)) ([3875f8b](3875f8b))
* MapLayer - null meshData values are treated as 0 [#1642](#1642) ([#1648](#1648)) ([6198bc4](6198bc4))
* wrong export of default as type ([#1645](#1645)) ([77c171b](77c171b))

### Features

* **grid3d:** prop to show-hide grid lines added ([#1624](#1624)) ([0b22788](0b22788))
@hkfb
Copy link
Collaborator

hkfb commented Sep 20, 2023

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@hkfb hkfb added the released label Sep 20, 2023
hkfb pushed a commit that referenced this pull request Sep 21, 2023
# 1.0.0 (2023-09-21)

### Bug Fixes

* Improve "isLoadedCallback" to not return true before first draw of layer not only just when data are loaded. ([#1656](#1656)) ([3875f8b](3875f8b))
* MapLayer - null meshData values are treated as 0 [#1642](#1642) ([#1648](#1648)) ([6198bc4](6198bc4))
* wrong export of default as type ([#1645](#1645)) ([77c171b](77c171b))

### Features

* **grid3d:** prop to show-hide grid lines added ([#1624](#1624)) ([0b22788](0b22788))
@hkfb
Copy link
Collaborator

hkfb commented Sep 21, 2023

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

hkfb pushed a commit that referenced this pull request Sep 22, 2023
# 1.0.0 (2023-09-22)

### Bug Fixes

* Improve "isLoadedCallback" to not return true before first draw of layer not only just when data are loaded. ([#1656](#1656)) ([3875f8b](3875f8b))
* MapLayer - null meshData values are treated as 0 [#1642](#1642) ([#1648](#1648)) ([6198bc4](6198bc4))
* wrong export of default as type ([#1645](#1645)) ([77c171b](77c171b))

### Features

* **grid3d:** prop to show-hide grid lines added ([#1624](#1624)) ([0b22788](0b22788))
@hkfb
Copy link
Collaborator

hkfb commented Sep 22, 2023

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AspenTech Task owned by AspenTech enhancement New feature or request map-component Issues related to the map component. released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NGRM] - Provide a prop to show/hide grid lines in Grid3D Layer
2 participants