Undefined Value for expandAllPipelines
Flag after Removal from config.js
#1883
Labels
expandAllPipelines
Flag after Removal from config.js
#1883
Description
See slack thread: https://kedro-org.slack.com/archives/C04EHA3K7C2/p1714426656093459
Following, #1858, the
expandAllPipelines
flag fromconfig.js
was removed which is causing an undefined value, as it is no longer has a default value. This flag was previously used to control the state of expanding all modular pipelines on the initial load of the application in thesettings-modal.js
.The code within settings-modal.js uses the
getFlagsState
function to pull flag data, which includedexpandAllPipelines
. The assumption was that removing it fromconfig.js
would suffice for this UI adjustment. However, this led to the flag being undefined elsewhere in the application.We need to think about how the
expandAllPipelines
flag should be removed from just from the settings modal.Suggestions:
expandAllPipelines
flag intoconfig.js
and change settings-modal to not include.Steps to Reproduce
Load the application and see that the flag's value is undefined.
Expected Result
expandAllPipelines
should have a default value.Actual Result
expandAllPipelines
is undefined.The text was updated successfully, but these errors were encountered: