azavea / ism-watershed-wellness-snapshot

A tool to collect and display watershed wellness indicators for the International Seaport Museum
1 stars 2 forks source link

Implement sensor overview component #47

Closed caseycesari closed 5 years ago

caseycesari commented 5 years ago

Overview

Adds a component for the sensor overview pane, which is rendered when a sensor marker is tapped on the map.

Some adjustments are made to CSS rules for the map to fix various issues that appear as the app layout changes. In general, it was easier to make the map size consistent through the app and make adjustments elsewhere.

The data for the sensor locations is now part of the state so that is accessible to other parts of the app besides the map component.

Connects #21 Connects #39

Demo

image

Notes

I took care of #39 here because it was simple and was causing too many notifications as-is.

Testing Instructions

caseycesari commented 5 years ago

Thanks! Added a commit to fix the warning in the console.