Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-2456

Modal confirmation dialogs should handle enter/return key similar to esc/escape

    XMLWordPrintable

Details

    • 0
    • 0% 0%

    Description

      Description of problem:

      When the user is deleting a resource (for example a Deployment) the web console opens a confirmation dialog which could be closed with the ESC key.

      It would be great if the user can confirm the request also with the ENTER key. This is a common pattern in native applications and in high quality web apps as well.

      When the user tries to delete a complete application its required that the user enters the application name. In the case that the confirmation dialog contains such a input field (1 input field) this field should be focused automatically.

      Prerequisites (if any, like setup, operators/versions):

      None

      Steps to Reproduce

      1. Open the Developer perspective
      2. Create a Deployment with Add > Import from container
      3. Try to delete the Deployment..
      4. Try to delete the Application...

      Actual results:

      1. When the Delete Deployment confirmation dialog opens ENTER does nothing.
      2. When the Delete Application confirmation dialog opens the focus was not set..

      Expected results:

      1. When the Delete Deployment confirmation dialog opens ENTER should confirm this.
      2. When the Delete Application confirmation dialog opens the input field should be focused.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      All versions of 4.5 and 4.6

      Additional info:

      none

      Attachments

        Activity

          People

            sdoyle@redhat.com Serena Nichols
            cjerolim Christoph Jerolimov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: