Skip to content

Commit

Permalink
MapExplorer: add notice for issue #838 (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunanoordin authored Nov 7, 2023
1 parent 78a6cef commit adf48bb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/modules/wildcam-map/containers/MapControls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,23 @@ class MapControls extends React.Component {

</AccordionPanel>
</Accordion>

{/* TEMPORARY: please see https://github.com/zooniverse/classroom/issues/838 */}
<Accordion>
<AccordionPanel heading="Notice" className="map-controls-notice">
<Box className="map-controls-notice-message" pad="small">
<p>
We've recently had reports of teachers and students encountering intermittent issues with the Map Explorer.
If you can't see any orange circles on the map, or download data, or the "Loading..." message stays there for more than a minute, then it's likely that the <a href="https://classroom-maps-api.zooniverse.org/">Maps API server</a> is temporarily down.
The dev team is currently looking into the problem, and we apologise for the disruption to your classroom, research, and/or personal exploration.
To follow the dev team's progress, please check <a href="https://github.com/zooniverse/classroom/issues/838">Github issue 838 on the Zooniverse Classroom repo</a>.
If you have any queries, or wish to report additional problems, please contact the Zooniverse team at <a href="mailto:[email protected]">[email protected]</a>
&nbsp; (Last updated 2023.11.07)
</p>
</Box>
</AccordionPanel>
</Accordion>

<Accordion
openMulti={true}
active={[0]}
Expand Down
14 changes: 14 additions & 0 deletions src/styles/components/wildcam-map.styl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,20 @@
&.selected
background: TEAL_LIGHT

/* TEMPORARY: please see https://github.com/zooniverse/classroom/issues/838 */
.map-controls-notice
background: ALERT_COLOR
font-size: 0.8em

header
color: #ffffff

.map-controls-notice-message
p
font-size: 0.8em
margin: 0
padding: 0

.map-controls-small-button
flex: 0 0 auto
padding: 0.25rem
Expand Down

0 comments on commit adf48bb

Please sign in to comment.