🚀 [Feature] Limit search results to 15 per type
Created by: Tirokk
Authored by alina-beck Closed
🚀 Feature
In order to not overwhelm our users with search results we want to display only the top 15 search results of each type (post
, user
, later also hashtag
) in the search dropdown.
Implementation
Open question: should the search results be limited in the backend or frontend?
Design & Layout
The size of the dropdown might have to be expanded, to make sure a user not only sees posts
but also users
in their search results without scrolling.
Additional context
This is Step 2 in our search implementation – see #2146.
Step 1 is adding users
to the list of search results: #1463 (closed)
We decided it should be 15
because at the moment there is no search results page and the dropdown is the only place where search results are listed. With the results page in place we can set this to a lower limit (e.g. 5
).