Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Public user] Implement Search for point details (search for recycling materials & unstructured search) #77

Open
anastk-code4 opened this issue Mar 27, 2024 · 0 comments

Comments

@anastk-code4
Copy link

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
PCT_Materiale (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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant