Em-Ant / fcc-options-app

Options Inc. web app development
Other
12 stars 7 forks source link

Ability to add new waypoints to route #31

Closed andrealonzo closed 8 years ago

andrealonzo commented 8 years ago

These are our thoughts on how to implement this Trello card:

"as a user I should be able to add a stop to a route to drop off or pick up a consumer from their worksite/ job in the community."

andrealonzo commented 8 years ago

Consumers should have a pick up and a drop off place. The default is the Option's Inc address.

There should be a routes object that references a vehicle and a list of waypoints/places with related consumers

andrealonzo commented 8 years ago

User flowchart

  1. Choose pickup/drop Place. Ability to add Place if Place doesn't exist in database.
  2. In the map, assign consumer to vehicle (route)
  3. 2 waypoints show up in the vehicle (route). One for the consumer address, and one for the pickup/drop Place
  4. You have the ability to reorder waypoints
andrealonzo commented 8 years ago

Have a separate Route page.

The map page will just be used to assign consumers to vehicles. Remove directions, optimize route, drag and drop capability from this page.

The route page would have the following:

  1. List of consumers on the route
  2. List of waypoints that can be reordered
  3. Directions between each waypoint
  4. Ability to optimize waypoint order
  5. Map showing the route path for these specific waypoints
  6. Ability to print. This would generate a page that is similar to the Route doc.
  7. Possibly, consumer workplace waypoints will appear
andrealonzo commented 8 years ago

Done with 974e630d9139fae05499e8b8461260cca0530fc2