Skip to content
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

Let users choose where they audit #1702

Closed
misaugstad opened this issue May 1, 2019 · 23 comments · Fixed by #3150
Closed

Let users choose where they audit #1702

misaugstad opened this issue May 1, 2019 · 23 comments · Fixed by #3150

Comments

@misaugstad
Copy link
Member

Some users will want to specifically audit the block that they live on (at least one user has emailed recently about this). Would be nice to drop into a particular location in the same way you can on Google Maps.

@jonfroehlich
Copy link
Member

jonfroehlich commented May 2, 2019 via email

@manaswisaha
Copy link
Member

manaswisaha commented May 2, 2019 via email

@misaugstad
Copy link
Member Author

Right, forgot to mention that we have an endpoint to go directly to a lat-lng coordinate, but we also need to know the street_edge_id beforehand. Shouldn't be hard to also search for the closest street edge to a lat-lng to get rid of that requirement. That would allow us to at least send someone a URL to a location, but wouldn't allow users to find it themselves. Looking for something like what @Manaswis suggested :)

@jonfroehlich
Copy link
Member

One user emailed us about this and said:

I put in Delridge, and it takes me to a neighborhood close by. I would like to put in a notice about garbage, food & waste, and recycle cans on Holden St SW. Garbage p/u is on Tuesdays. There are 30 to 60 receptables, blocking the sidewalk from Tuesdays to sometimes Fridays from residents not p/u their cans. This is in front of the Valtera Townhomes. Address start with 42-- SW Holden St. I have complained to the city before with not results. Hopefully you can point me in the correct direction to report these.

@misaugstad misaugstad changed the title Allow users to start auditing a specific street Let users choose where they audit Oct 16, 2020
@misaugstad
Copy link
Member Author

As @jonfroehlich mentioned in #2325 people are still requesting more control over where they audit

image

@jonfroehlich
Copy link
Member

jonfroehlich commented Oct 17, 2020 via email

@misaugstad
Copy link
Member Author

I think that similar to dropping a pin would be entering an address into a text box (like you do in Google Maps). These definitely aren't mutually exclusive.

Why would this need to be a new mission type though? I think that the easiest version of this is that you pick where you want to start using this method, then you continue auditing as normal.

@jonfroehlich
Copy link
Member

I think that similar to dropping a pin would be entering an address into a text box (like you do in Google Maps). These definitely aren't mutually exclusive.

Sure, we could offer both and they represent two different HCI paradigms: search and direct manipulation. I like the drag-and-drop avatar technique that Google Maps uses for GSV placement because it's highly interactive but I imagine the text box could be easier to implement as a proof-of-concept.

Why would this need to be a new mission type though? I think that the easiest version of this is that you pick where you want to start using this method, then you continue auditing as normal.

Good point. This would be easiest (but we could explore a true open explorer option too). Probably still want it to be labeled as a different mission type for tracking purposes though, right?

@misaugstad
Copy link
Member Author

Good point. This would be easiest (but we could explore a true open explorer option too). Probably still want it to be labeled as a different mission type for tracking purposes though, right?

Hmm not sure. I think it makes a lot of sense for the truly open exploration to have a different mission type. Not sure just choosing a starting location should have that though. They can already choose a neighborhood and jump to a different (randomized) part of the neighborhood. Not sure how much different it is to choose a particular street.

@jonfroehlich
Copy link
Member

jonfroehlich commented Oct 19, 2020 via email

@misaugstad
Copy link
Member Author

For sure. There should be a lower effort way to log that this was how their location was chosen.

@mcdoerr
Copy link
Collaborator

mcdoerr commented Apr 5, 2021

Thinking about the entry point for this -- I think that since most users will not want to choose where they audit, we should make the entry point not super bulky. Here's a mock of what I was thinking:
Screen Shot 2021-04-05 at 1 33 30 PM
This link will lead to a separate page, which has a map to drop a pin on (Still working on the mock for that). After the user drops a pin, we'll calculate the closest street to their pin, and ask them if this is the street they want (will make another mock for this). If not, we show them the map again to drop another pin. If it is the street they want, we pass in the parameter to the audit page and send them back.
As an extension, I could see that people might want to choose where to turn so that they can follow a route they follow in real life.

@mcdoerr
Copy link
Collaborator

mcdoerr commented Apr 9, 2021

Screen Shot 2021-04-09 at 3 16 51 PM
Here's a rough mock of the "Drop a pin" page (the scaling and fonts will follow the general style in the actual page). I think that MapBox will work the best for this approach. Would love some feedback too!

@misaugstad
Copy link
Member Author

What if instead of dropping a pin, we displayed the road network we have on the map? You can see the previously audited streets on /labelMap, but what if we just included all streets and then let the user pick a street to audit?

Since we'd already be making that selection for them after they picked a point anyway, this would make it more clear what they are choosing. Probably better than them thinking that they've chosen a specific point and instead got dropped at the end of the street. Plus we have the benefit of already knowing how to display the streets, and all we have to do is make them selectable!

This could then be augmented in the future if someone wanted to choose a whole series of streets that they wanted to audit! That would be for a future PR. But choosing a set of streets to audit would not be totally incompatible with how our front-end is organized right now. It wouldn't require the monumental restructure that a fully open-world auditing experience would.

@misaugstad
Copy link
Member Author

I also think that "try a custom mission" might seem a little bit too flashy for what this is. Well, I guess I mean that a lot of people will think "ooo, custom mission!" and get there and realize that it's something that required local knowledge and they don't really care about the location they audit. The language should probably just be more specific about what they're doing. Something more like "Have a specific street you want to audit in <city name>?". Could probably use some polish.

@mcdoerr
Copy link
Collaborator

mcdoerr commented Apr 14, 2021

Yeah, I like that idea. So we would show the set of streets to the user, and as they hover maybe it would bold or something like that. Then, on a click it would select that whole street. I'll come up for a mock for that soon, I think that we might want to make some display changes from /labelMap, since without the labels the black looks quite harsh.

I also agree with your point about the "Try a custom mission". How about "Choose your start location"? What do you think about the location of the link @misaugstad ?

@jonfroehlich
Copy link
Member

jonfroehlich commented Apr 14, 2021 via email

@mcdoerr
Copy link
Collaborator

mcdoerr commented Apr 16, 2021

Alright, I coded up the entry point and here is a before/after:

Before
Screen Shot 2021-04-16 at 1 01 13 PM

After
Screen Shot 2021-04-16 at 1 00 35 PM

Changes made: added in link to the choose your location page, centered the text and added padding around the sides. I thought it looked a little strange before but if there is a good reason that it looked that way let me know. Would appreciate any feedback!

@misaugstad
Copy link
Member Author

Great, thanks! I might go with "or choose you start location"..? Idk, not sure I'm sold on that either. I like it though :)

@mcdoerr
Copy link
Collaborator

mcdoerr commented Apr 16, 2021

Yeah, I'm not sold on the wording either. I was thinking maybe like "Choose your start location instead"?

@misaugstad
Copy link
Member Author

Ooo wait how about this... What about moving the text below the OK button, centering the OK button, and then I think the "or choose your start location" would make more sense

@mcdoerr
Copy link
Collaborator

mcdoerr commented Apr 16, 2021

Oh yes that's a good idea. I'll move some things around and post a screenshot here!

@misaugstad
Copy link
Member Author

Closing via #3150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment