Open ptitFicus opened 3 months ago
To enable users to search through one or more categories, we need to implement a category filter. Initially, no category should be selected by default. When a user selects one or more categories, the backend should return search results that include only items belonging to the selected categories.
First Mockup vision :
For the Search modal on the home page, we need to add an "All Tenants" button, a tenant selector to choose the desired tenant, and a filter selector to match the visual layout of the search modal in a specific tenant.
[ ] Display recently searched terms when the search modal opens. Once the user begins typing, hide the recent searches and show only the search results.
[ ] If a filter is selected before searching, apply it to recent searches as well. Retain a minimum of 30 items in the SearchHistory.
[ ] Add icons to the filter options.
[ ] Ensure the design of recent search items matches that of search results.
[ ] For this version, no need to add "Allow to browse search results with directional keys / select them with enter" .