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

Refactor Remaining Firehose-Impacted Components

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • None
    • OCP Console - Sprint 284

      Refactor of the Remaining Firehose-Impacted Components

      Description: Execute the final phase of refactoring for all remaining components identified in the codebase that still utilize the <Firehose> component.

      Scope: ~9 files identified in the investigation.
      Packages / Files:
      1. OLM: 5
      2. CONSOLE-APP: 1
      4. CONTAINER-SECURITY : 1
      5. TOPOLOGY : 1
      6. SHIPWRIGHT-PLUGIN : 1

      A.C.

      • Functional Parity: All 10 identified components maintain existing behavior for resource fetching, loading states, and error handling.
      • Hook Migration: The legacy <Firehose> component and its associated Higher-Order Component (HOC) props are removed and replaced with useK8sWatchResource or useK8sWatchResources.
      • Dependency Handling: Components utilizing connectToFlags or multiple resource instances successfully resolve data without regressions.
      • Test Alignment: Unit and integration tests are updated to reflect hook-based data fetching and are passing.

              cajieh Cyril Ajieh
              cajieh Cyril Ajieh
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: