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

Remove monitoring-plugin Redux actions and reducers from console codebase

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • openshift-4.21
    • None
    • Admin-Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • Sprint 280

      Background

      OU-273 needs to be implemented first. Then the Observabiliity UI Redux actions and reducers in the console codebase (files frontend/public/actions/observe.ts and frontend/public/reducers/observe.ts) can be removed. These actions are available under the redux `observe` store currently. A monitoring-plugin exclusive `.plugins.mp` scope already exists (code link), but needs to be fully migrated to.

      Some of the reducers are used by other console components, such as the notification bell. We should determine which components can be removed, and act accordingly. In addition, we should determine if it we should rename the redux actions so that they don't conflict with the console actions.

      Outcomes

      Files frontend/public/actions/observe.ts and frontend/public/reducers/observe.ts are removed from the console codebase.

      All instances of `getLegacyObserveState` have been migrated to use `getObserveState`. In addition, the `getObserveState` should no longer depend on the perspective, but rather the plugin calling it (monitoring-plugin vs monitoring-console-plugin)

              Unassigned Unassigned
              anpicker@redhat.com Andrew Pickering
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: