Uploaded image for project: 'Observability UI'
  1. Observability UI
  2. OU-534

Replace deprecated web components in monitoring-plugin

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Dev-Console
    • None
    • 5
    • False
    • NEW
    • OCPSTRAT-1682 - OCP Admin Console - Upgrade to PatternFly 6 (PF6)
    • NEW

      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) 

      `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:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: