algolia / instantsearch

āš”ļø Libraries for building performant and instant search experiences with Algolia. Compatible with JavaScript, TypeScript, React and Vue.

Home Page:https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The way to select attributes for faceting or attributes to display is not clear

rogerximenez opened this issue Ā· comments

šŸ› Current behavior

I recently noticed that --attributes-for-faceting requires the customer to select an item by tapping the space barā€¦ but if I navigated to an attribute and clicked Enter, itā€™ll create the app without adding the facet to the InstantSearch app.

šŸ” Steps to reproduce

  1. Open your terminal
  2. Run create-instantsearch-app
  3. Navigate towards --attributes-for-faceting or --attributes-to-display
  4. Notice that if the customer hovers over an item and clicks the Enter or Return key on their keyboard, it'll complete the step without selecting an item. It's not directly evident the customer must select Space to make their multi-selection.

Live reproduction

not applicable

šŸ’­ Expected behavior

It should be more clear how to make a selection. Customer should explicitly select "none" instead of treating an Enter without anything selected as "none". Ideally, it would be directly evident how to select things.

Package version

Latest version of react

Operating system

No response

Browser

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

even though it says "press space to select"? this is the default inquirer behaviour
Screenshot 2023-09-13 at 13 30 43