Interactive interface for browsing global, full-resolution satellite imagery
event modal verbiage updates
Jason Kenta6718200bd68
diff --git a/web/css/event-filter.css b/web/css/event-filter.cssindex d8ea92e6a..87c93e216 100644--- a/web/css/event-filter.css+++ b/web/css/event-filter.css@@ -61,6 +61,10 @@}.wv-checkbox {margin: 25px 10px 5px;+ display: inline-block;+ }+ .wv-checkbox + svg {+ display: inline-block;}}diff --git a/web/js/components/events/alert-body.js b/web/js/components/events/alert-body.jsindex a07d274ad..6872ba194 100644--- a/web/js/components/events/alert-body.js+++ b/web/js/components/events/alert-body.js@@ -19,7 +19,7 @@ const EventsAlertModalBody = () => (<li>Some events don’t appear on the day that they are reported, you mayhave to wait a day or two for an event to become visible. Try and- scroll through the days to see an event’s progression and/or change+ step through the days to see an event’s progression and/or changethe satellite/sensor. NOTE: Wildfire events are currently set toautomatically display the next day, as fire events often do notappear in the satellite imagery on the day they are reported.@@ -30,18 +30,24 @@ const EventsAlertModalBody = () => (<li>There are normal swath data gaps in some of the imagery layers dueto way the satellite orbits the Earth, and an event may have- occurred in the data gap.+ occurred in the data gap. Learn more with the+ <a href="https://worldview.earthdata.nasa.gov/?v=-255.13947597940853,-142.5249083549454,242.67302402059147,109.63964770652301&l=Reference_Labels_15m(hidden),Reference_Features_15m(hidden),Coastlines_15m,VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor&lg=false&tr=swath_gaps&t=2019-02-10-T00%3A00%3A00Z">+ Swath Gap tour story.+ </a>+ </li>+ <li>+ Events listings currently only go back to 1 January 2000.+ </li>+ <li>+ Not all categories have events that are populated back to 1 January 2000.</li></ul><p>- This is currently an experimental feature and we are working closely- with the provider of these events, the+ Events are curated and provided by the{' '}<a href="https://eonet.sci.gsfc.nasa.gov/" target="_blank" rel="noopener noreferrer">Earth Observatory Natural Event Tracker</a>- , to refine this listing to only show events that are visible with our- satellite imagery.</p></div>);diff --git a/web/js/components/sidebar/events-filter.js b/web/js/components/sidebar/events-filter.jsindex 88c66e09b..98b63b222 100644--- a/web/js/components/sidebar/events-filter.js+++ b/web/js/components/sidebar/events-filter.js@@ -1,9 +1,10 @@import React, { useState } from 'react';import PropTypes from 'prop-types';import { connect } from 'react-redux';-import { Button } from 'reactstrap';+import { Button, UncontrolledTooltip } from 'reactstrap';import googleTagManager from 'googleTagManager';import moment from 'moment';+import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';import { Portal } from 'react-portal';import Switch from '../util/switch';import Checkbox from '../util/checkbox';@@ -122,12 +123,23 @@ function EventFilterModalBody (props) {</div>{!isPolarProj && (- <Checkbox- id="map-extent-filter"- label="Only list events in current map view"- onCheck={() => setListAll(!listAll)}- checked={!listAll}- />+ <>+ <Checkbox+ id="map-extent-filter"+ label="Only list events in current map view"+ onCheck={() => setListAll(!listAll)}+ checked={!listAll}+ />+ <FontAwesomeIcon id="bbox-limit-info" icon="info-circle" />+ <UncontrolledTooltip+ placement="right"+ target="bbox-limit-info"+ >+ If checked, limits event results to those located within the current map view.+ If you move the map, you will need to open the filter and click "Apply" again+ to update the results.+ </UncontrolledTooltip>+ </>)}<Portal node={document.querySelector(`#${parentId} .modal-footer`)}>