Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-7655

Replace Deprecated components in ‎frontend/public/components/‎

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • None
    • 5
    • False
    • OCPSTRAT-1682 - OCP Admin Console - Upgrade to PatternFly 6 (PF6)
    • 0
    • Not Supported
    • ODC Sprint 3262, ODC Sprint 3263, ODC Sprint 3264

      monitoring/dashboards/index.tsx  (checkbox select, hasInlineFilter which is not supported in V6 Select, convert to Typeahead)

      timespan-dropdown.ts (Currently using DropdownDeprecated, should be using a Select) 

      poll-interval-dropdown.tsx (Currently using DropdownDeprecated, should be using a Select) 

      SelectInputField.tsx  (uses most Select props)

       

      `FilterSelect`, `VariableDropdown`, `TimespanDropdown`, and `IntervalDropdown`are the components that need to be updated; frontend/packages/dev-console/src/components/monitoring/MonitoringPage.tsx is the only valid instance usage of `MonitoringDashboardsPage` as web/src/components/alerting.tsx is orphaned.

       

      Note

      SelectDeprecated are replaced with latest Select component

      https://www.patternfly.org/components/menus/menu

      https://www.patternfly.org/components/menus/select

       

      AC: Go though the mentioned files and swap the usage of Deprecated components with PF components, based on their semantics (either Dropdown or Select components).

       

            rh-ee-jaclee Jackson Lee
            sgoodwin_redhat Steve goodwin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: