This PR addresses a requirement for cases where users of Kedro-Viz as a React component in embedded mode want to see only the flowchart view, hiding all other components such as the global toolbar, sidebar, primary toolbar, and other action buttons.
Development notes
<KedroViz data={data} preview />
Removed redundant display.sidebar props as visible.sidebar is doing the same things
New internal props/state display.primaryToolbar added
when preview is true internally all the props from display & visible set to false
QA notes
As redundant display.sidebar props is removed, need to test
Resolves https://github.com/kedro-org/kedro-viz/issues/1745
This PR addresses a requirement for cases where users of Kedro-Viz as a React component in embedded mode want to see only the flowchart view, hiding all other components such as the global toolbar, sidebar, primary toolbar, and other action buttons.
Development notes
display.sidebar
props asvisible.sidebar
is doing the same thingsdisplay.primaryToolbar
addedpreview
is true internally all the props fromdisplay
&visible
set tofalse
QA notes
display.sidebar
props is removed, need to testChecklist
RELEASE.md
file