-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
5
-
None
-
None
-
OCP Console - Sprint 283
Refactor public/ Directory Components to useK8sWatchResource(s)
*Description: *Migrate all components within the /public directory from the legacy <Firehose> wrapper to the modern useK8sWatchResource and useK8sWatchResources hooks.
*Scope: *~19 files identified in the investigation.
AC:
- Functional Parity: All 19 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 (e.g., cron-job.tsx) successfully resolve data without regressions.
- Test Alignment: Unit and integration tests (including firehose.spec.tsx) are updated to reflect hook-based data fetching and are passing.