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

Wire up ratings and sensor data feed to frontend #67

Closed fungjj92 closed 5 years ago

fungjj92 commented 5 years ago

Overview

This sprint, we set up all the data needed for the front-end. This PR subs in dynamically generated data to the frontend, which previously showed static dummy data.

Connects #41 Connects #43

(I accidentally did both)

Demo

screen shot 2019-03-04 at 1 00 19 pm screen shot 2019-03-04 at 1 00 28 pm screen shot 2019-03-04 at 12 32 27 pm screen shot 2019-03-04 at 12 32 37 pm

Notes

You will see some TODOs. We will need some guidance from the client about how the variable score translates to qualitative buckets (positive, warning, and negative) given its range (i.e. 1-50NTU for Turbidity). For now, it was decided to just categorize scores as positive and negative if they are in or outside the range, respectively.

I was tempted to roll in #64, but am anticipating a fair amount of conflict rebasing on #63 already so I forewent that.

Testing Instructions

Netlify will suffice.

fungjj92 commented 5 years ago

Thanks, yeah looks cool! Rebased on develop with minimal conflict 🎉 Netlify is so fast to update when new commits are pushed up!