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

Migrate the logging view plugin to use patternfly 6

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • COO 1.5.0
    • None
    • None
    • None
    • None
    • None
    • Sprint 286

      BEFORE WE BEGIN WORK - DETERMINE HOW THIS SHOULD INTEGRATE WITH OU-730

      Open Questions 

      • "Before we begin work – Determine how this should integrate with OU-730".
        • What is the context of the integration with OU-730? Is this still applicable because the Perses plugins LogsTable and HistogramChart already exists.
      • "Please complete the plan for this task. This will also require to create a new plugin stream version (6.2) for COO." Verify workflow below:

      Steps 

      1. In github.com/openshift/logging-view-plugin follow migration steps from Patternfly v5 to v6 https://www.patternfly.org/get-started/upgrade/
        1.  [done] Update your dependencies to use PatternFly 6 instead of PatternFly 5.
        2.  [3pts] Run our codemods suite.
          1. npx @patternfly/pf-codemods@latest <path to your source code> --v6 --fix
          2. ✖ 129 problems (107 errors, 22 warnings) remaining to be manually fixed 
          3. Feature branch  https://github.com/zhuje/logging-view-plugin/tree/ou656-migration-pf6
        3.  [<1pt]Remove all CSS overrides.
        4.  [<1pt] Review and update variable and class names.
        5.  [<1pt] Update any pixel-based logic for your breakpoints.
        6.  [<1pt] Build new image and push to quay.io/observability-ui/logging-view-plugin:6.2.0
      2. In github.com/rhobs/observability-operator
        1. [<1pt] Update main.go with a new image containing quay.io/observability-ui/logging-view-plugin:6.2.0
        2. [1pt] Update compatibility_matrix.go & compatibility_matrix_test.go such that OpenShift v4.22 + will use quay.io/observability-ui/logging-view-plugin:6.2.0
      3.  [1-2pt]Smoke Testing logging-view-plugin and observability-operator 

       

      Resource 

      UI Plugin Lifecycle 

      https://docs.google.com/spreadsheets/d/1iJP8hjod1J_Wqv_sfGglwVYquhsHLRlqjoyvrMBv0FY/edit?gid=0#gid=0

      Background

      OCP 4.19 will include PF6, this changes the UI dramatically and we need to adjust the logging plugin

      Outcomes

      The plugin works without errors in a console running patternfly v6.

              jezhu@redhat.com Jenny Zhu
              gbernal@redhat.com Gabriel Bernal
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: