osmlab / field-data-collection

A mobile application for collecting both OSM & private data in the field.
10 stars 7 forks source link

guard against missing timestamp, make distance and timestamp fit on one line #288

Closed sethvincent closed 6 years ago

sethvincent commented 6 years ago

Closes #284

I'm pretty sure the error described in #284 was happening only because we had observations that were made back when we had that bug where timestamps weren't persisted.

I added this guard to make sure it doesn't cause an issue just in case.

I also made some changes to the styles to make sure distance and last updated are on the same line and give better spacing when the name of the feature is long enough to be on two lines.

Example:

screen shot 2017-09-29 at 1 29 00 pm
sethvincent commented 6 years ago

Added a commit that makes it so the map overlay says Observation if there's only 1, and Observations in other cases.

mojodna commented 6 years ago

Working from Starbucks? Nice easter egg in that screenshot, @sethvincent

sethvincent commented 6 years ago

well