Added standalone ClusterPicker and DatabasePicker which is consumed both by data pusher, store form modal and add data source step in wizard
Added useContextAdapter to fetch adapter from context and fallback to mock if not provided. Since I couldn't find a way to get all the context providers that a component is wrapped with in DOM tree, we need to pass it as arg explicitly.
Added some context in stories and added source type field which does nothing for now
Testing ๐งช
Check out ClusterPicker and DatabasePicker stories and consumption of them in WizardShell/DataSourceStep/DataPusher/StoreFormModal stories
NEXT: Need to reflect the type changes that Mitch pushed recently in WizardShell state and context and cook step. I am also planning to add mock cook data of P&ID
Summary of changes ๐
ClusterPicker
andDatabasePicker
which is consumed both by data pusher, store form modal and add data source step in wizarduseContextAdapter
to fetchadapter
from context and fallback to mock if not provided. Since I couldn't find a way to get all the context providers that a component is wrapped with in DOM tree, we need to pass it as arg explicitly.Testing ๐งช
Check out ClusterPicker and DatabasePicker stories and consumption of them in WizardShell/DataSourceStep/DataPusher/StoreFormModal stories
NEXT: Need to reflect the type changes that Mitch pushed recently in WizardShell state and context and cook step. I am also planning to add mock cook data of P&ID
Checklist โ๏ธ