Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8234

New autocomplete / suggestion behavior is weird

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.44.3
    • Affects Version/s: 1.43.6
    • Component/s: None
    • None
    • Environment:
      OS: macOS
    • Developer Tools
    • Not Needed

      Problem Statement/Rationale

      The new autocomplete / suggestion behavior (when editing query, project, sort, etc.) behaves differently that most other applications do. This is causing me to inadvertently run the wrong queries.

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      1. Run some queries to build up a history.
      2. Make a new query and start typing something in your history.
      3. The autocomplete / suggest feature kicks in and shows possible matches.
      4. Keep typing and finish your query (without picking from the suggestions).
      5. Hit enter to run the query.
      6. The top suggestion is selected, replaces the query you types and then runs.

      Expected Results

      In other applications, you have to either hit tab to accept the autocomplete, or click from the suggestion list.

      If I type my own query and hit enter, it should run the query I typed as it always has before.

      Actual Results

      The top suggestion is selected, replaces the query you types and then runs. This is very frustrating, requiring me to esc out of the suggestion drop down first, or position the cursor after the closing brace (or somewhere else so no more suggestions are offered), or click the Find button to run the query.

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            dbecker@employers.com David Becker
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: