aws / graph-explorer

React-based web application that enables users to visualize both property graph and RDF data and explore connections between data without having to write graph queries.
https://github.com/aws/graph-explorer
Apache License 2.0
333 stars 48 forks source link

Fix auto open details #679

Closed kmcginnes closed 3 days ago

kmcginnes commented 5 days ago

Description

Fixes the auto open details feature by calling the open action during the selection callback.

I also made a combined event for when selection changes in the graph. So nodes & edges come together in a single event, simplifying the auto open logic and removing a useEffect.

Also, removed an unused prop from NodeDetails that was for the old search UI.

Validation

Related Issues

Check List

kmcginnes commented 5 days ago

Thanks, I totally missed that. Ready @michaelnchin