-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to track order status #508
Comments
My biggest concern and question: What happens when the driver's phone stops tracking them for whatever I think we'll want a way to roll this out to production, incrementally. So
|
@vcardillo hi, along with EDIT: Oh, can you also add text for the states PREP and PICKUP to |
I can, but what do you need it for? Another problem is, @marcdoan, if an address is edited in Atlas, do you update the lat/long in the DB? |
Thanks, we need the delivery address per order in case customer sets different addresses for different orders |
It's on dev and prod. “prep_status_title” = “Your Bento is being prepped” “pickup_status_title” = “Your Bento is here!" |
Hi, can you add value of
|
ok done On Wed, Mar 2, 2016 at 4:07 PM, Joseph Lau [email protected] wrote:
|
In regards to disconnecting from Node when tracking driver, I think we should go with making a call to Google Maps API. We already have an account for it with an API key plus directions enabled. Here's how it would look like: http://recordit.co/KfhSNHxB5u I make a call to Google Maps API, passing in, for example, the last location received from Node before being disconnected, which returns a bunch of data from that last location to the final destination. I parse the response, getting a Each To do that, I decode the If reestablished connection to Node, then stop the above and update each coordinate based on the data received from Node. |
Are you able to get ETA too? Ideally we could show ETA as well. |
Check out the Waze SDK, too. Google bought Waze, so it's probably all the same, but check it out anyways. I am hoping we can do ETA on the front end, too. |
@vcardillo Hi, can we get orderId in |
Also, in the case where customer connects to node, but the driver isn't emitting location, we need the last saved location of the driver returned to us in the This is what we get now:
We need something like this:
|
Ok, actually calling |
Tracking Demo: http://recordit.co/owp1KwGnPA |
How is the deep linking being used with our customers? On Sat, Mar 12, 2016 at 6:30 PM, Joseph Lau [email protected]
|
Hi, the link is set up here: https://dashboard.branch.io/?origin=website-nav-&#/marketing under the marketing title, Short URL: https://bnc.lt/orders-screen This link needs to be attached to the order status text messages, so when the customer gets a text message, they can tap on the link to open up to the Orders screen. |
@xkokushox @marcdoan @vcardillo @demant
Flow
Order Status
within the app will follow that of the current flow intoOrders
screenOrder Status
screen will only be accessible through orders that are underIn progress
, meaning the order has been assigned to a driverIn progress
will be green and tappableIn progress
will navigate intoOrder Status
screenOrder Status
screen will include:Prep
->Delivery
->Assembly
->Pickup
Build Another Bento
button at the bottom that takes user back to the build screenPrep
- means that the driver is not yet en-route, but has been assigned the order. In this case, we'll only show a message explaining that the order is being prepared ( something like this https://www.dropbox.com/s/wgl9djw9p6m9s3i/Bento-Delivery-Arrived.png?dl=0)Delivery
- means that the driver has accepted the order and is en-route, in which case we'll show the map along with the driver and destination markers (https://www.dropbox.com/s/cilmjftd7zkjrdf/Bento-Enroute.png?dl=0)Assembly
- Since we don't actually send out notifications to users of the assembling process, the green highlight will jump directly fromDelivery
toPickup
to prevent customers from walking out during assemblyPickup
- means driver has tappedAlert Customer
. The map will disappear and be replaced by some message asking user to meet driver at curbside (similar toPrep
stage - https://www.dropbox.com/s/wgl9djw9p6m9s3i/Bento-Delivery-Arrived.png?dl=0)Complete
, order status will be removed for that particular order in the customer app. If that screen is still in view, automatically pop back toOrders
screenTech specs
driverId
with orders underIn progress
?token
-> usingtoken
anddriverId
, calltrack
-> if successful -> listen toloc
stat
push
loc
channelpush
channelOrder Status
, repeat aboveThe text was updated successfully, but these errors were encountered: