-
Epic
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
OCP 4.21 - Remove all static extensions from console
-
To Do
-
Product / Portfolio Work
-
-
0% To Do, 0% In Progress, 100% Done
-
False
-
-
False
-
Not Selected
-
None
-
None
-
None
Epic Goal
- The idea of "static plugin entry points" providing "static" extensions is removed.
- All "static" extension-related types are removed from @console/plugin-sdk.
- Non-goal: Breaking changes within openshift-console/dynamic-plugin-sdk related to the removal of "static" extensions.
- Non-goal: Migration of any "static plugins" to "dynamic plugins". We can still have "static plugins" consume "dynamic extensions".
Why is this important?
- As prep work for https://issues.redhat.com/browse/CONSOLE-3769, removal of all static extensions makes the migration easier.
- All imports from each plugin.tsx/plugin.ts in each static plugin are imported by get-active-plugins virtual module. This causes 300+ import cycles which are suppressed in 4.20.
- Most static extensions already have a "dynamic" extension equivalent, which can be consumed by dynamic plugins. By using "dynamic" extensions ourselves, we will be able to consume the API which we provide.
- The ability to support both "static" and "dynamic" extensions results in duplication, hacks, and workarounds within console code.
- links to
(25 links to)