ManageIQ / manageiq-ui-classic

Classic UI of ManageIQ
Apache License 2.0
50 stars 358 forks source link

Move components from *ui-components #6716

Open himdel opened 4 years ago

himdel commented 4 years ago

Current state:

ManageIQ/ui-components:

ManageIQ/react-ui-components:


New state:

Any ui-components component used exclusively by SUI will be moved to SUI:

Any ui-components component used exclusively by ui-classic will be moved to ui-classic:

Any react-ui-components used exclusively by ui-classic will be moved to ui-classic:

Unfinished react-ui-components work that should be finished at some point:

The rest of ui-components:


Documentation:

We should merge the demo & storybook into one place documenting all our components, and add entires for the existing ui-classic ones.

(Currently not sure whether to go with storybook, we don't use the knobs that much, and it comes at the cost of a third separate webpack configuration (in addition to jest).)

himdel commented 4 years ago

Cc @chessbyte , re gitter :point_up: February 26, 2020 2:06 PM :)

himdel commented 4 years ago

(This is also relevant if we want ivanchuk to support node 12 - https://github.com/ManageIQ/manageiq-ui-classic/pull/6008 needs https://github.com/ManageIQ/react-ui-components/pull/141.)

himdel commented 4 years ago

Packages which depend on @manageiq/react-ui-components and are not ui-classic:

All the providers currently depend on an ancient version (0.9.5 vs 0.11.57), and all are ui-classic UI plugins.

The UI already has the ManageIQ.component.addReact mechanism for exposing components to plugins, with the = react 'ComponentName', {props} rails helper, so it will consume those components using this mechanism, instead of directly importing older versions.

himdel commented 4 years ago

Cc @romanblanco

himdel commented 4 years ago

TODO(after): check whether patternfly-react 2.39.15 works now (in production) - see https://github.com/ManageIQ/manageiq-ui-classic/pull/6745

ZitaNemeckova commented 4 years ago

Taking fonticon-picker :)

Edit: leaving i to @skateman :)

skateman commented 4 years ago

Gonna replace the angular version of the iconpicker with the react one in UIC if that's okay. It's assigned to me anyway.

skateman commented 4 years ago

Taking vm-snapshot-form because it uses finalForm explicitly and it blocks me from upgrading to DDF2.

Fryguy commented 3 years ago

cc @kavyanekkalapu