pyronear / pyro-platform

Detection & monitoring platform of wildfires
https://platform.pyronear.org/
Apache License 2.0
10 stars 11 forks source link

display alerts from today #111

Closed MateoLostanlen closed 11 months ago

MateoLostanlen commented 11 months ago

As requested by several users, I propose to display only the current day's alerts, as the previous days are useless for firefighters.

There are two options for accessing the history: A dashboard page with history stats and access to images. The ability to specify a date range for alerts to be displayed.

In my opinion, the dashboard is the best option, let's just do it in another PR.

The PR is relatively simple: I filter the days that are not equal to today.

I fixed a small error with filtered_df at the same time