Signalen / frontend

Frontend for Signalen, an application that helps cities manage and prioritize nuisance reports.
https://signalen.org
Mozilla Public License 2.0
10 stars 5 forks source link

Adjustable time notifications shown on backoffice map #43

Closed erikveerm closed 4 years ago

erikveerm commented 4 years ago

The map option in the manage portal only shows notifications over the last 24 hours. Is this filter configurable and for example show all notifications over the previous week?

image

bartjkdp commented 4 years ago

This filter currently is hardcoded in the frontend code here: https://github.com/Signalen/frontend/blob/8b6be6be2a560c0723eebf87d45e161e02c4063a/src/signals/incident-management/containers/IncidentOverviewPage/components/Map/index.js#L106-L113

The API supports generic requests for any time frame, so it is already possible to create a different frontend.