Company logo
December 20, 2021

Show categories even when there are no results (if you want)

Vinay Ayyala's avatar

In the CommandBar of old, categories were only shown in the bar when they included at least one result for the user's query. That's great for cleanliness but can sometimes be confusing for users. In particular, showing a category empty state can reassure the user that the category they were interested in was actually searched.

So we've added the ability for you to decide which categories you want to show an empty state for, and which you don't. Note that by default, categories won't show an empty state. We recommend turning this on for your most popular categories but leaving it off for niche-y ones so that you don't clutter your results list.

How to turn on

  • Click into the settings of a context record
  • Turn on "Always show, even with no results"