marcuskrueger90 / GetLost

Safety app for first aid, basic mechanical issues and simple survival techniques.
4 stars 3 forks source link

Report Emergency page #6

Open HoveringTorso opened 4 years ago

HoveringTorso commented 4 years ago

The Report Emergency page could allow the user to dispatch an alarm to Noonlight staff immediately (if they have internet access while camping). This page might have some version of a form that gathers the following info from a logged-in user:

At the bottom there could be a 'Send Report' button that:

justincarlson7 commented 4 years ago

get_lost

HoveringTorso commented 4 years ago

This seems like a nice MVP to shoot for @justincarlson7 . Maybe we can trim it down even more by only allowing a user one trip at a time. Since they can only cancel one alarm at a time, we wouldn't need to maintain a running list of the user's trips unless we really wanted them to be able to see all their past trips (which doesn't seem important imo). Suggesting we make the 'List of Trips' a stretch goal.

Also, if we use the single-page app approach, maybe we can use state/props to dynamically display only what the user currently needs. For instance, maybe the Submit button is displayed if the user doesn't currently have an active, incomplete trip in the database; but if they do have an active, incomplete trip in the database (one whose alarm has yet to be cancelled) the Submit button is replaced with two buttons: