User Story
As a user, I want to search points details, in order to see a list of results with points, by using the searchbar.
Description
User can use the searchbar to search for points, by using keywords from point details, including searching for recycling Materials.
See notes
For IdX on the searchbar behavior, see notes
The search is conducted on the area of the viewport.
For unstructured search / search for a specific material, all the points which match totally or partially the search term are displayed in a list, and on the map (all other points are filtered out), as depicted in Figma screen.
The search is done on all the following fields of a point detail (from Data Dictionary)
PCT_ID
PCT_Serviciu
PCT_Adresa
PCT_Tip
_PCTMateriale (note this is a special type of point detail, more important)
PCT_Admin
PCT_Web
PCT_Email
PCT_Tel
PCT_Observații
IF user moves the viewport after performing the search, they can re-run the search in the new viewport by clicking on the "Reia cautarea in aceasta zona" button. See FigmaSee also dev note
IF no match is found in the DB, then the empty state should be displayed. See Figma
Button "Vezi toate punctele" displayed in the empty state will clear the search.
Empty state must provide user with popular search suggestions as depicted in design.
User Story As a user, I want to search points details, in order to see a list of results with points, by using the searchbar.
Description User can use the searchbar to search for points, by using keywords from point details, including searching for recycling Materials. See notes For IdX on the searchbar behavior, see notes
The search is conducted on the area of the viewport.
For unstructured search / search for a specific material, all the points which match totally or partially the search term are displayed in a list, and on the map (all other points are filtered out), as depicted in Figma screen. The search is done on all the following fields of a point detail (from Data Dictionary) PCT_ID PCT_Serviciu PCT_Adresa PCT_Tip _PCTMateriale (note this is a special type of point detail, more important) PCT_Admin PCT_Web PCT_Email PCT_Tel PCT_Observații
IF user moves the viewport after performing the search, they can re-run the search in the new viewport by clicking on the "Reia cautarea in aceasta zona" button. See Figma See also dev note
IF no match is found in the DB, then the empty state should be displayed. See Figma Button "Vezi toate punctele" displayed in the empty state will clear the search. Empty state must provide user with popular search suggestions as depicted in design.