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

Refactor withDashboardResources in with-dashboard-resources.tsx into a hook

XMLWordPrintable

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

      This story covers the migration of 10 components that depend on withDashboardResources. We will replace the withDashboardResources HOC with targeted hooks, including useK8sWatchResource, useDashboardResources, and the new useDynamicDashboardResources.

      AC:

      • Create an imperative-to-declarative bridge hook to handle runtime-driven plugin resources.
      • nMigrate all components that depend on withDashboardResources to the new hook-based pattern.
      • Ensure that the build and all tests pass successfully.

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

                Created:
                Updated: