bit icon indicating copy to clipboard operation
bit copied to clipboard

Unified Host Context

Open luvkapur opened this issue 3 years ago • 0 comments

Description

Currently when running bit on a workspace or a scope, the UI receives the list of components either from the Scope Context or the Workspace Context, depending on the host.

The current implementation forces the consumer to know the host and explicitly query the component data from the relevant context

Describe the solution you'd like

Proposing a single unified host context that is hydrated with the components from the relevant host on app start

{
  components: ComponentDescriptor[],
  displayName: string
}

luvkapur avatar Mar 21 '22 17:03 luvkapur