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: add highlight for selection and fix svg rendering #49

Merged
merged 3 commits into from
Jun 18, 2021

Conversation

ahoak
Copy link

@ahoak ahoak commented Jun 12, 2021

Addresses issue Allow selected row sync #44 that has selection props for Hierarchy Browser and a callback that will return entityIds of new selection state. The new props for Hierarchy Browser are:
selections: optional array of entityIds
onSelectionChange: function that returns the new selection state
This allows for multi-select and deselect.
I added these changes to the HierarchyBrowser Async story.

Sidenote: I noticed some issues in rendering the SVG bar for the "neighbors" column so I fixed this by having a default height per cell.

@ahoak ahoak requested review from darthtrevino and natoverse June 12, 2021 01:43
@ahoak
Copy link
Author

ahoak commented Jun 12, 2021

I am currently getting some strange errors when trying to run yarn version check --interactive which is blocking the CI build

@darthtrevino
Copy link
Member

🤷‍♂️ the version check tool looked fine to me

@ahoak ahoak merged commit 84ade73 into main Jun 18, 2021
@ahoak ahoak deleted the feature/row-selection branch June 18, 2021 17:18
darthtrevino added a commit that referenced this pull request Feb 7, 2022
* feat: add highlight for selection and fix svg rendering

* cut semver

* fix lint issues

Co-authored-by: Amber Hoak <amhoak@microsoft.com>
Co-authored-by: Chris Trevino <chtrevin@microsoft.com>
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.

2 participants