Hide Forgot
Description of problem: The withDashboardResources HOC provides needed access to data inside the Console redux store for static plugins. That isn't an option when migrating to a dynamic plugin, but access to that data is still needed. The preferred option to fill this gap is a hook that provides the data once provided by withDashboardResources that hasn't already been replaced by existing hooks such as watchK8sResources.
Hi Phillip Trying to figure out how to verify the new changes fix PR has brought in but still no clue, to my understanding, this PR just adds a new useDashboardResources Hook, but I didn't see any references/usages about it, how can I make sure it is functionally working?
confirmed that the useDashboardResources hook is exported in our console-dynamic-plugin-sdk $ cat packages/console-dynamic-plugin-sdk/dist/internal/lib/api/internal-api.js ....... ....... export const useDashboardResources = require('@console/shared/src/hooks/useDashboardResources') .useDashboardResources; ....... .......
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069