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

Release query history autocompletion

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.43.6
    • Affects Version/s: None
    • Component/s: Query Bar, Query History
    • None
    • Developer Tools
    • 2
    • Needed
    • Hide

      Will need changes probably to the "Managing Saved Queries and Aggregations" sections.
      https://www.mongodb.com/docs/compass/current/query/recent/

      When the query bar is empty and on focus, the autocomplete pops up displaying both recent (clock icon) and favorited queries (star icon) by lastExecuted time (most recent on the top). The currently selected completion (using up/down arrow keys) has the info panel pop up, which displays the query in full similar to how the current saved queries popup displays each query with the separate sections (filter, project, sort, etc.). The filter bar will display all recent/favorite queries (max 50 completions), while the other option editors only display the queries that include the specific property (i.e. in the project editor, only queries with the project property are displayed). 

      When the user starts typing, the saved queries are integrated with the original autocomplete that includes fields (rectangular box icon), bson/query, etc. (box icon) types. These always appear on top of the query history completions. 

      Show
      Will need changes probably to the "Managing Saved Queries and Aggregations" sections. https://www.mongodb.com/docs/compass/current/query/recent/ When the query bar is empty and on focus, the autocomplete pops up displaying both recent (clock icon) and favorited queries (star icon) by lastExecuted time (most recent on the top). The currently selected completion (using up/down arrow keys) has the info panel pop up, which displays the query in full similar to how the current saved queries popup displays each query with the separate sections (filter, project, sort, etc.). The filter bar will display all recent/favorite queries (max 50 completions), while the other option editors only display the queries that include the specific property (i.e. in the project editor, only queries with the project property are displayed).  When the user starts typing, the saved queries are integrated with the original autocomplete that includes fields (rectangular box icon), bson/query, etc. (box icon) types. These always appear on top of the query history completions. 

      Update the feature flag to `released` and ensure docs changes are planned if needed.

            Assignee:
            vivian.xiao@mongodb.com Vivian Xiao (Inactive)
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: