275 is a bug where there will be an empty list if there are no features around the user when clicking through to create a new observation. For me this actually crashed the app because we're calculating the center of features to display a map marker, but this breaks if there are no visibleFeatures in the state.
This closes #275 by changing the behavior of the + button and side menu button:
the + button will now check for visibleFeatures, if it doesn't find any it goes straight to adding a new observation initialized at the user's center location
the side menu "I'm adding a new point" button is tricky: we don't have the user's location or the visible features around the user in the state without the map context, so we can't determine how to route the user. Without changing the way we store features in the state, I could not reroute this button. For now, I changed it such that it goes back to the map.
275 is a bug where there will be an empty list if there are no features around the user when clicking through to create a new observation. For me this actually crashed the app because we're calculating the center of features to display a map marker, but this breaks if there are no visibleFeatures in the state.
This closes #275 by changing the behavior of the + button and side menu button: