Closed RonanMorgan closed 3 weeks ago
hello @frgfm ,
We only display alerts for the current day (i.e. less than 24 hours).
Then, after discussion with the firefighters, I've come up with the idea of an archive tab for viewing past alerts
All alerts from yesterday or before and all acknowledge alerts will be present in the archive.
Would you mind resolving the conflicts please? The review tab mixes several PR and things already merged on main :sweat_smile:
done :)
Attention: Patch coverage is 83.09859%
with 12 lines
in your changes missing coverage. Please review.
Project coverage is 87.01%. Comparing base (
88d3dd9
) to head (1a9491f
). Report is 1 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
src/app/crud/base.py | 58.82% | 7 Missing :warning: |
src/app/api/api_v1/endpoints/detections.py | 86.36% | 3 Missing :warning: |
client/pyroclient/client.py | 86.66% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Here is a recap, after modifications, of what the PR introduces:
fetch_unlabeled_detections
methodcf. #304
Add the acknowledged boolean in the table Detection and a new endpoint. It will allow the plateform to know if a Detection has been acknowledged by a User.