Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4769

NOS: Quick Switcher



    • Type: Epic
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 73.22
    • Component/s: Ergonomy / UX / UI



      Jump between any Studio feature or menu option in a snap by typing its name. This action can be triggered by clicking the button, or using shortcut CTRL + K (Windows/Linux) / CMD + K (Mac)

      Display Mechanism

      Quick Switcher provides suggestions for all the features and layouts in Studio, including feature types (Modeler), feature configurations (Modeler), layouts (Designer). Suggestions are fetched each time Quick Switcher is opened, they are fetched via REST API. Then, the results are stored as in-memory data on the client side as JavaScript objects. There's no persistence or caching mechanism in client's browser—each time the dialog is opened, new XHR will be created. Elastic Search or any other server side indexation technologies are not used.

      Quick Switcher display two types of items:

      1. Latest 5 history items (before search)
      2. Suggestions matched user's search query (during search)

      For the history part, data are persisted in user's browser as LocalStorage. We maintain one item per project in local storage. Each item has at most 5 entries containing the search query and the timestamp. We also guarantee that the search queries are unique. If keyword "foo" has been searched twice, only the most recent one will be persisted. The key of the local storage matches the following naming convention:


      History is persisted only when user is about to visit a selected item. Canceling Quick Switcher (quit normally) won't change search history.


      Both keyboard and mouse are used for suggestions navigation.

      1. Key UP will navigate to the previous item
      2. Key DOWN will navigate to the next item
      3. Key ENTER will let browser visit the current selected item
      4. Mouse click will let browser visit the hand-over item

      Contextual Help

      There're two types of contextual help in Quick Switcher: keyboard tips and general tips.

      1. Keyboard tips are ONLY displayed when Quick Switcher is opened via button
      2. General tips are always displayed


      1. Native Polymer elements
      2. https://github.com/jeancroy/fuzz-aldrin-plus for search


          Issue Links



              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created:

                  Time Tracking

                  Original Estimate - Not Specified
                  Not Specified
                  Remaining Estimate - 0 minutes
                  Time Spent - 1 minute