Commit f9f11a5
# Backport
This will backport the following commits from `main` to `9.0`:
- [[SB] Fix graph layout stories
(#217766)](#217766)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Brad
White","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-04-16T16:59:08Z","message":"[SB]
Fix graph layout stories (#217766)\n\n## Summary\n\nThis fixes the graph
layout stories not rendering properly after\n#214684. Open to a better
or preferred fix as I'm not familiar with\nthese components.\n\nThere
was a console warning:\n```js\n[React Flow]: The React Flow parent
container needs a width and a height to render the graph. Help:
https://reactflow.dev/error#004\n```\n\n[Storybook
preview\nlink](https://ci-artifacts.kibana.dev/storybooks/pr-217766/cloud_security_posture_graph/index.html?path=/story/components-graph-components-graph-layout--simple-api-mock)\n\n---------\n\nCo-authored-by:
Kfir Peled
<[email protected]>","sha":"a7796cd0d00453f67d0f5c4366352c53d6c63131","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:build-storybooks","backport:version","v9.1.0","v8.19.0"],"title":"[SB]
Fix graph layout
stories","number":217766,"url":"https://github.com/elastic/kibana/pull/217766","mergeCommit":{"message":"[SB]
Fix graph layout stories (#217766)\n\n## Summary\n\nThis fixes the graph
layout stories not rendering properly after\n#214684. Open to a better
or preferred fix as I'm not familiar with\nthese components.\n\nThere
was a console warning:\n```js\n[React Flow]: The React Flow parent
container needs a width and a height to render the graph. Help:
https://reactflow.dev/error#004\n```\n\n[Storybook
preview\nlink](https://ci-artifacts.kibana.dev/storybooks/pr-217766/cloud_security_posture_graph/index.html?path=/story/components-graph-components-graph-layout--simple-api-mock)\n\n---------\n\nCo-authored-by:
Kfir Peled
<[email protected]>","sha":"a7796cd0d00453f67d0f5c4366352c53d6c63131"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217766","number":217766,"mergeCommit":{"message":"[SB]
Fix graph layout stories (#217766)\n\n## Summary\n\nThis fixes the graph
layout stories not rendering properly after\n#214684. Open to a better
or preferred fix as I'm not familiar with\nthese components.\n\nThere
was a console warning:\n```js\n[React Flow]: The React Flow parent
container needs a width and a height to render the graph. Help:
https://reactflow.dev/error#004\n```\n\n[Storybook
preview\nlink](https://ci-artifacts.kibana.dev/storybooks/pr-217766/cloud_security_posture_graph/index.html?path=/story/components-graph-components-graph-layout--simple-api-mock)\n\n---------\n\nCo-authored-by:
Kfir Peled
<[email protected]>","sha":"a7796cd0d00453f67d0f5c4366352c53d6c63131"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Brad White <[email protected]>
1 parent 02dc9ab commit f9f11a5
File tree
1 file changed
+1
-1
lines changed- x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/.storybook/decorators
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments