Reactivesearch: Support for 'show all' on search?

Created on 1 May 2018  路  3Comments  路  Source: appbaseio/reactivesearch

Issue Type:
Enhancement

Platform:
Web

Description:
It would be nice to have a 'see all results for ${search}'

Screenshots:

image

enhancement web

Most helpful comment

One way to handle something like this is giving full control of suggestions rendering. Similar to the onSuggestion prop we added in the past https://github.com/appbaseio/reactivesearch/issues/117, we can support an onAllSuggestions prop.

Giving full JSX control to the user would allow this use-case as well as more specific ones where a custom suggestions display is required.

All 3 comments

One way to handle something like this is giving full control of suggestions rendering. Similar to the onSuggestion prop we added in the past https://github.com/appbaseio/reactivesearch/issues/117, we can support an onAllSuggestions prop.

Giving full JSX control to the user would allow this use-case as well as more specific ones where a custom suggestions display is required.

@siddharthlatest - That sounds like a good idea. Perhaps using the above feature request as an example of the onSuggestion flexibility. Win win.

I'm not sure if I missed it from the documentations, but is there a way to also limit the maximum amount of suggestions that are displayed on search? It would be useful to limit it to be able to make sure that the 'See all results' are seen as well. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gabzon picture gabzon  路  4Comments

danielsnider picture danielsnider  路  4Comments

kud picture kud  路  4Comments

hansendx picture hansendx  路  4Comments

ymzoughi picture ymzoughi  路  4Comments