mirror of https://github.com/onweru/compose.git

weru
07.17.2020 b7cf066d1831e3baf15f454c0115fec5734f8157
edit page
2 files modified
10 ■■■■■ changed files
exampleSite/content/docs/compose/overview.md patch | view | raw | blame | history
exampleSite/content/docs/compose/search.md 10 ●●●●● patch | view | raw | blame | history
exampleSite/content/docs/compose/overview.md
exampleSite/content/docs/compose/search.md
@@ -12,7 +12,7 @@
### 2. Live search
This behaviour will be obvious as the user types a search query on the search field. All search queries, will yield a list of `quick links` or a simple `no matches found`. Else, the user will be prompted to continue typing.
This behaviour will be obvious as the user types a search query on the search field. All `valid search queries`, will yield a list of `quick links` or a simple `no matches found`. Else, the user will be prompted to continue typing.
> Please note that the results under quick links will be a truncated list of the most relevant results. Only a maximum of 8 items will be returned. This number is pragmatic at best if not arbitrary. On the search page, the number is set to 12.
@@ -30,3 +30,11 @@
(1) multilingual sites
(2) blog/events sections that are separate from the docs section -->
### What is a valid search query
A valid search query must be long enough. If the search query can be cast as a float, then it only need contain one or more characters.
Else the search query must be at least 2 characters long.
<!-- This behaviour will change. -->