Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapExplorer: add notice for issue #838 #839

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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