patternfly / react-topology

MIT License
10 stars 19 forks source link

Update Side Panel Behavior to Pan Graph on Node Selection #207

Closed jenny-s51 closed 4 months ago

jenny-s51 commented 4 months ago

Describe the problem

Currently if we select a node and the side panel opens, the node is obscured by the panel.

When a node is selected, we should translate the graph over to pan the node into view.

Current:

Screenshot 2024-05-31 at 2 05 00 PM

Proposed:

Screenshot 2024-05-31 at 2 06 17 PM

What is your product and what release date are you targeting? RHOAI 2.11

jeff-phillips-18 commented 4 months ago

The application needs to handle the selection event and use the Graph's panIntoView function. This used to be in the demo app but somehow it got lost. I will add it back as an example for applications to follow.

github-actions[bot] commented 4 months ago

:tada: This issue has been resolved in version 5.4.0-prerelease.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: