Computer Science Major Capstone Project (CSCI4970). SNOW allows users to create geospatial boundaries on a map view and receive relevant weather notifications about alerts within those boundaries.
1
stars
1
forks
source link
updated alert-boundary endpoint and updated front-end to use both alert #80
Added two endpoint calls to the frontend (all alerts, and alerts belonging to subscribed boundaries)
The alerts tab (w/o subscribed check box checked) now shows all alerts, as well as the alerts coming in from the WebSocket
The alerts tab (w/ subscribed check box checked) now shows only alerts that fall within subscribed boundaries. I used badges to display the names of the associated boundaries, but feel free to make any suggestions on how this should be displayed.
Updated formatting for the output of alert data in the side-info-common component.
note: If a new boundary is created, we will need to hit the endpoint again to update the data in case the boundary encompasses existing alerts. This will need to be done after issue-76 is completed.
Summary:
Updated endpoint to better format data
Added two endpoint calls to the frontend (all alerts, and alerts belonging to subscribed boundaries)
Updated formatting for the output of alert data in the side-info-common component.
note: If a new boundary is created, we will need to hit the endpoint again to update the data in case the boundary encompasses existing alerts. This will need to be done after issue-76 is completed.