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 filters for the public map #68

Open
overeha opened this issue Mar 12, 2024 · 0 comments
Open

[Public user] Implement filters for the public map #68

overeha opened this issue Mar 12, 2024 · 0 comments
Labels
enhancement 🚀 New feature or request

Comments

@overeha
Copy link

overeha commented Mar 12, 2024

User Story
As a user , I want to perform a search for a specific category of points on the map by using the filters options available on the public interface.


Description
The map loads with all point types (pins) on in. Filters (called in Figma "Faceted navigation") can be used to reduce the pins displayed.

Faceted navigation allow users to dinamically filter content based on previous selections. The initial filter layer is "TIP SERVICIU". Depending on user selection on this particular facet, other facets are displayed below for the user to choose from.


Preconditions
When the application is accessed by a user the map will display all the available points with no filters applied. Searching and filtering will reduce the number of available points in the given viewport.


Main Flow

  1. Access the platform
  2. Select one type of services from the left hand menu. This is a single select as per the [Data Dictionary], PCT_Serviciu, Line 8, tab: Detalii_Punct (https://docs.google.com/spreadsheets/d/1FLFKIF4gsOU2H_Lo8wOWwh8A_Qn9LR9MeZizr95VfVM/edit#gid=0)
  3. Continue selecting other criteria as displayed by the platform depending on the first selection you have made for "Tip Serviciu". IF the user selects multiple items then ALL the corresponding filters are displayed below (in the order of the facets).
  4. The map displays the points corresponding to the selection made by the user (Each point will be represented on the map with a distinctive pin + icon & color, corresponding to the service it provides (Variable PCT_Serviciu).

The pins and colors selection and items are documented here.

The facets are documented here and in the data dictionary.

  1. The user can select one pin to view information about it.

Business Requirements

  • it is mandatory that a user can select multiple services
  • the default state of the map is displaying all of the available pins
  • the search is being done by substraction not by addition

Map changes post filtering:

  • if a user zooms out or drags the map after applying filters then the new viewport will display all the available points that match the selection criteria in the area covered.
@overeha overeha added the enhancement 🚀 New feature or request label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🚀 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant