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

Add View Logs button to Export Application modal

    XMLWordPrintable

Details

    • ODC Sprint 211

    Description

      Description

      As a user, I want a way to easier understand the progress of an application export from the topology screen.

      Acceptance Criteria

      1. Show another label (just "Export Application..."?) on the "Export Application" button when an export is running (which opens already the modal export modal in that moments)
      2. Extend the time for the "Export is started" toast (see epic)
      3. Add new button "View logs" to the "Export is started" toast (see epic for a screenshot). Notice that the pod is not started when the toast opens, see watch info below.
      4. Also add a new button "View logs" to the export modal which opens the Pod logs tab
      5. To get the right pod, use the export Job and watch for Pods with the controller-uid and job-name labels:
        kind: Pod
        apiVersion: v1
        metadata:
          name: primer-export-primer-<RANDOM>
          labels:
            controller-uid: 50ccf125-cf46-429e-8d98-a1e20e059bdc
            job-name: primer-export-primer
        
      1. If the pod is not found show a disabled button with a tooltip which explains that the Pod is missing, maybe not started yet.

      Additional Details:

      Requires the gitops-primer operator.

      Attachments

        Activity

          People

            abhindas Abhinandan Das
            cjerolim Christoph Jerolimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: