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

Search Area Limit #6

Open
jasonkalmeida opened this issue Aug 16, 2019 · 5 comments
Open

Search Area Limit #6

jasonkalmeida opened this issue Aug 16, 2019 · 5 comments
Labels
question Further information is requested

Comments

@jasonkalmeida
Copy link
Collaborator

Should we be implementing a search area limit for a zip code? It's probably not a great UX to show an event another state away if there are none in your state.

Additionally, if we do put a limit and someone searches an area that has no event, what should we show them? A blank map? Or a prompt to create their own event?

@jasonkalmeida jasonkalmeida added help wanted Extra attention is needed question Further information is requested labels Aug 16, 2019
@john-osullivan
Copy link
Contributor

Not sure what the campaign would say here, but I imagine we'd want to default down to showing them whatever's closest. They put in a search limit, and if nothing comes up, we say that nothing matched within their area, so here's the next closest one.

In implementation terms, I imagine we'd need to keep making queries w/ larger radiuses until we eventually find something.

@joegoldbeck
Copy link

🤔 one thought is that we start with a default limit (say.. 100mi?), and then if there are no matches within that radius we give them two options

  1. Expand the search radius
  2. Create your own event!

@jasonkalmeida
Copy link
Collaborator Author

jasonkalmeida commented Sep 29, 2019

I think we can define this as a basic requirement.

Search Area Limit Implementation:

  • Set default Mobilize search limit to 75 miles
  • Upon an empty/0 event response, provide the user with a prompt with two options

@joziesands
Copy link
Contributor

I made a rough draft of this idea, and it's running at https://joziesands.github.io/eventmap/.

The design is still rough, but the functionality is there. This is my first React project so I wanted to make sure my methods were reasonable before I spent a lot of time on style. Any feedback is welcome.

I didn't include an button to expand the search by 75 miles exactly, but there is an active dropdown so I think it is straightforward.

@joegoldbeck
Copy link

@jasonkalmeida @joziesands should this be closed given #47?

@joegoldbeck joegoldbeck removed the help wanted Extra attention is needed label Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants