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

Mentions drop-down doesn't autocomplete properly on slow connections

    XMLWordPrintable

Details

    Description

      The mentions drop-down ignores user input when it is waiting for a reply from the server. On servers like JAC that take literally 5 seconds to respond, this breaks the drop-down. Steps to reproduce:

      1. Open a new comment input and type "@rsmar". Note that the browser has made a request for https://jira.atlassian.com/rest/api/2/user/viewissue/search?issueKey=JRA-26287&projectKey=JRA&maxResults=10&username=r&_=1333404334727 (request to auto-complete "r", the first character typed)

      2. 5 seconds later when the response comes back, the list of suggested users has little relation to what I typed:

      3. At this point if I type the last remaining character I get a useful autocomplete:

      Attachments

        1. autocomplete rsmar.png
          autocomplete rsmar.png
          54 kB
        2. autocomplete rsmart.png
          autocomplete rsmart.png
          42 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lmiranda Luis Miranda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: