Skip to content

[9.0] [SB] Fix graph layout stories (#217766)#218476

Merged
kibanamachine merged 2 commits into
elastic:9.0from
kibanamachine:backport/9.0/pr-217766
Apr 18, 2025
Merged

[9.0] [SB] Fix graph layout stories (#217766)#218476
kibanamachine merged 2 commits into
elastic:9.0from
kibanamachine:backport/9.0/pr-217766

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 16, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) April 16, 2025 17:05
## Summary

This fixes the graph layout stories not rendering properly after
elastic#214684. Open to a better or preferred fix as I'm not familiar with
these components.

There was a console warning:
```js
[React Flow]: The React Flow parent container needs a width and a height to render the graph. Help: https://reactflow.dev/error#004
```

[Storybook preview
link](https://ci-artifacts.kibana.dev/storybooks/pr-217766/cloud_security_posture_graph/index.html?path=/story/components-graph-components-graph-layout--simple-api-mock)

---------

Co-authored-by: Kfir Peled <61654899+kfirpeled@users.noreply.github.com>
(cherry picked from commit a7796cd)
@kibanamachine kibanamachine force-pushed the backport/9.0/pr-217766 branch from 1c69efe to 6de077e Compare April 16, 2025 17:21
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @Ikuni17

@Ikuni17
Copy link
Copy Markdown
Contributor

Ikuni17 commented Apr 18, 2025

run docs-build

@kibanamachine kibanamachine merged commit f9f11a5 into elastic:9.0 Apr 18, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants