Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-41814

Make ESC key behavior consistent across description and comment edit operations

XMLWordPrintable

    • 5
    • 1
    • Hide
      Atlassian Update – 19 June 2018

      Hi everyone,

      We have made the ESC key behaviour consistent for issue description and comments and this will be available with Jira Server 7.11.

      Starting from Jira Server 7.11, during inline editing, both description and comments being edited will NOT react after the ESC key is pressed.

      In the Create/Edit Issue dialog, the prompt pop-up is displayed after pressing ESC.

      The behaviour is consistent for both Visual and Text modes of RTE and Plain text editor.

      Kind regards,
      Katarzyna Derenda
      Product manager, Jira Server

       

      Show
      Atlassian Update – 19 June 2018 Hi everyone, We have made the ESC key behaviour consistent for issue description and comments and this will be available with Jira Server 7.11. Starting from Jira Server 7.11, during inline editing, both description and comments being edited will NOT react after the ESC key is pressed. In the Create/Edit Issue dialog, the prompt pop-up is displayed after pressing ESC. The behaviour is consistent for both Visual and Text modes of RTE and Plain text editor. Kind regards, Katarzyna Derenda Product manager, Jira Server  
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Description:

      What happens currently when editing a description is that your edits are discarded if the Escape key is pressed.

      There are many reasons why the Escape key can be pressed by mistake in today's browser use and varied workflows, and so users end up losing their unsaved descriptions.

      Furthermore, Jira itself encourages the use of the Escape key to clear the focus of the current fields.

      If you click away from a description edit box to lose focus, your work is saved. However, if you use the Escape key to lose focus, your work is discarded. This is inconsistent behavior.

      The above behavior is in contrast to how editing comments behaves. When editing comments, navigating away whether by click, escape key, or page refresh, will popup an alert for the user to confirm their action (when there are changes to the comment).

      I'm not sure why editing comments is given so much more importance than editing issue descriptions, but both edit operations should behave consistent with eachother, as it is confusing for the user to have separate behaviors depending on what you edit.

      What should happen:

      1. Make editing issue descriptions behave the same way as when editing comments.

      • Alert box will show when there is risk of losing changes.

      2. As a way of allowing users to preserve current behavior with mininal disruption, provide users a way to configure the behavior of the ESC key in description boxes. Possible (but not exaustive) list of choices:

      • Escape to discard changes, no confirmation (Current behavior, should be default for existing accounts)
      • Escape to discard changes, require confirmation (Can be default for new accounts)
      • Escape to save changes, no confirmation (Alternatively, can be default for new accounts)
      • Escape only to lose focus but leaving text area in edit mode
      • Do nothing

      See: my previous comments for a longer rant on this topic.

            mdyro 🦊 Fox (Inactive)
            dfb61e047700 Cosmin Stroe
            Votes:
            46 Vote for this issue
            Watchers:
            38 Start watching this issue

              Created:
              Updated:
              Resolved: