akash-network / console

Deploy docker containers on the Akash Network
https://console.akash.network
Apache License 2.0
43 stars 34 forks source link

Feature/sdl #255

Closed ygrishajev closed 2 weeks ago

ygrishajev commented 2 weeks ago

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.