This PR adds a context for the SDL builder to share some state that is currently passed through the component tree.
ATM it only exposes values for controlling components visibility to add SSH exposure functionality. However much more can be refactored this way (e.g. some form methods).
The main purpose for now was for us to be able to do stuff like in apps/deploy-web/src/pages/deploy-linux/index.tsx or apps/deploy-web/src/pages/new-deployment/index.tsx and deeper in the components have access to context to control visibility of certain components.
With the described above SSH is added to main SDL builder.
This PR adds a context for the SDL builder to share some state that is currently passed through the component tree. ATM it only exposes values for controlling components visibility to add SSH exposure functionality. However much more can be refactored this way (e.g. some form methods).
The main purpose for now was for us to be able to do stuff like in
apps/deploy-web/src/pages/deploy-linux/index.tsx
orapps/deploy-web/src/pages/new-deployment/index.tsx
and deeper in the components have access to context to control visibility of certain components.With the described above SSH is added to main SDL builder.