Checks one off the list on #16 by implementing the FeaturePopup component to show alert properties, links, and an embedded image for change detection alerts.
Modified the alerts/ API endpoint to use a prepareChangeDetectionData() function to format the properties key/value pairs to more legible to humans, discarding the ones that are not useful to the end user, and depending on if the view has media embedding & linking to GCCD resources turned on, creates links to some of the assets for embedding or linking.
Added event listeners for the alert map features (similar to how it's done in the Map component).
In Feature, conditionally render GCCD preview map link if provided.
Some other minor stylistic and naming fixes here and there.
Checks one off the list on #16 by implementing the
FeaturePopup
component to show alert properties, links, and an embedded image for change detection alerts.alerts/
API endpoint to use aprepareChangeDetectionData()
function to format the properties key/value pairs to more legible to humans, discarding the ones that are not useful to the end user, and depending on if the view has media embedding & linking to GCCD resources turned on, creates links to some of the assets for embedding or linking.Map
component).Feature
, conditionally render GCCD preview map link if provided.