Open cafootitt opened 3 years ago
Reveal supports Task status filter, Task type filter and an Intervention unit filter (i.e which entity a task is generated against e.g structure, family or operational area).
I'd like to filter the list of SPs to only see type = water point
if the location object has a field that contains the type
then a filter for this can be added
Concerning the location filter I'd need to have a chat with @bennsimon to get a clear picture of how the current implementation works
@cafootitt I've had a talk with @Rkareko and to add the new filters specific to eusm will involve some modifications of the tasking library. L.O.E 3 days. @cafootitt Could you create an issue for the filters we should add?
Filter options:
1) Task business status filter - has problem (only for product check task type), not visited, visited (this is against the task, but the task has a for
parameter that specifies the ID of the service point)
2) Task status filter - completed, ready
3) Task type filter
4) Intervention unit filter
5) Structure/service point property filter
LOE to add filters 3 and 5 for EUSM is 3 days, assuming we use the same filter UI from Reveal:
It was mentioned Reveal supports structure type filter, task status filter, as two examples named.
Use case from EUSM:
In the latter scenario - this could be a configuration on the server side, so that tasks are not generated at all unless the SP also has a Product Check task assigned.
Relatedly, a location filter might be helpful for SPs without a GPS and therefore, not shown on the map view. Right now, the user has to search by service point name on the list view, so it would be useful if there was some sort of location filter, so e.g. the user can filter down to a particular location level and just see the SPs for that location level.