marinasundstrom / YourBrand

Prototype enterprise system for e-commerce and consulting services
77 stars 13 forks source link

Abstraction for OrganizationSelector and UserSelector #18

Open marinasundstrom opened 5 months ago

marinasundstrom commented 5 months ago

Today, each UI for every service had its own OrganizationSelector and UserSelector.

This is due to each service exposing these entities through its own API.

But these are system-wide concepts.

There should just be one Selector component for each entity.

We should create an abstraction with providers and service specific implementations for the various backends.

marinasundstrom commented 5 months ago

The UserSelector and OrganizationSelector components receive a parameter ServiceKey which is the key of the keyed provider instance.

Due to there being multiple instances of the provider in various contexts in the UI.

marinasundstrom commented 5 months ago

Add a checkable list of projects where this has been implemented so far.