SchweizerischeBundesbahnen / scion-workbench

SCION Workbench enables the creation of Angular web applications that require a flexible layout to arrange content side-by-side or stacked, all personalizable by the user via drag & drop.
Eclipse Public License 2.0
77 stars 10 forks source link

Move workbench microfrontend support to a separate plugin #312

Open danielwiehl opened 2 years ago

danielwiehl commented 2 years ago

Is your feature request related to a problem? Please describe.

The SCION Workbench comes with built-in microfrontend support implemented directly in the package @scion/workbench.

This is not optimal for the following reasons:

Describe the solution you'd like

A pluggable microfrontend support would be preferable. This means that the @scion/workbench no longer has a built-in microfrontend implementation and no longer has a dependency on the @scion/microfrontend-platform and @scion/workbench-client. Instead, the workbench should provide API to extend the workbench with microfrontend support using a pluggable architecture. In consequence, the current workbench microfrontend integration would be moved to a plugin released as a separate NPM package.

Related Issues: #291, #272

Marcarrian commented 1 year ago

Proposal to configure the SCION Workbench with microfrontend support (inspired by Angular):

provideWorkbench(
   withWorkbenchConfig(workbenchConfig),
   withWorkbenchMicrofrontendIntegration(workbenchMicrofrontendConfig)
);