Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9425

Web terminal should not ask for panel close confirmation if the terminal is already disconnected

    XMLWordPrintable

Details

    • Low
    • Rejected
    • Unspecified
    • If docs needed, set a value

    Description

      Description of problem:
      When the user uses the Web terminal operator and something fails, the terminal panel shows an error. At the moment this happens also if the user tries to close the terminal with `exit`. This issue is tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=2110541

      But whenever the terminal shows an error, the user might want close this panel.

      The UI asks now the user "Close terminal?"

      This is confusing at this terminal is already broken.

      Version-Release number of selected component (if applicable):
      4.10+

      Tested this on the Developer Sandbox. Might exist also on older versions.

      How reproducible:
      Always

      Steps to Reproduce:
      1. Install Web Terminal operator or test it on the OpenShift Developer sandbox.
      2. Open the "Command line terminal" with the button in the main navigation
      3. Type `exit` (at least until https://bugzilla.redhat.com/show_bug.cgi?id=2110541 is fixed) , found another way do break the connection
      4. The terminal should show an error "The terminal connection has closed." and a reconnect button
      5. When the user now closes the panel with this error...

      Actual results:
      A modal asks the user if this is really intended.

      Expected results:
      The user should not be asked if it is really his intention if the panel shows already an error.

      Additional info:

      Attachments

        Activity

          People

            jakumar jaivardhan Kumar
            cjerolim Christoph Jerolimov
            Sanket Pathak Sanket Pathak
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: