Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4932

OCP 4.21 - Static extension removal

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Dynamic Plugins
    • OCP 4.21 - Remove all static extensions from console
    • To Do
    • Product / Portfolio Work
    • OCPSTRAT-2696Tech Debt for Console Team - 4.21
    • 0% To Do, 0% In Progress, 100% Done
    • False
    • Hide

      None

      Show
      None
    • 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. 

       

              rh-ee-jaclee Jackson Lee
              rh-ee-jaclee Jackson Lee
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: