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

Console core package: Convert tile-view-page.jsx from class component to functional component

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None
    • HAC Infra OCP - Sprint 239

    Description

      Splitting off tile-view-page.jsx from CONSOLE-3687 into a separate story.

      One of the steps of the migration strategy is start using the v6 API for components that are passed to the `CompatRoute` component, based on the migration strategy guide. This route now has both v5 and v6 routing contexts, so we can start migrating component code to v6.

      If the component is a class component, you'll need to convert it to a function component first so that you can use hooks.

      frontend/public/components/utils/tile-view-page.jsx contains a component that needs to use the v6 useNavigate hook, requiring it to be converted from a class component to a functional component.

      AC: tile-view-page.jsx rewritten from class component to functional component. 

      Attachments

        Activity

          People

            rh-ee-gvudinh Giao Vu Dinh (Inactive)
            rh-ee-gvudinh Giao Vu Dinh (Inactive)
            Xiyun Zhao Xiyun Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: