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

If technology, country, or mentor is not found, nothing filters #245

Closed
brockneedscoffee opened this issue Apr 2, 2019 · 13 comments
Closed
Assignees
Labels
enhancement New feature or request wip Work in progress
Projects

Comments

@brockneedscoffee
Copy link
Member

Is your feature request related to a problem? Please describe.
If a user searches for a technology or mentor that does not exist, nothing filters.

Describe the solution you'd like
If nothing is found it should display the same as when you toggle favorites and nothing is found, in a future version it would be nice to have a link to share the site with someone who would be interested or a link to signup to encourage mentors to signup

Describe alternatives you've considered
NA

Additional context
NA

@brockneedscoffee
Copy link
Member Author

I already started coding a fix, once I get access I'd like to be assigned to this

@moshfeu
Copy link
Member

moshfeu commented Apr 2, 2019

Thanks!
I'm not sure I'm following..

Capture+_2019-04-02-17-03-49

@brockneedscoffee
Copy link
Member Author

@moshfeu it only works with the combo. Let's say I don't care about the country and want someone with swift or objective c (those two do not exist yet as tags in the mentor list). I won't get the not found until I add the country piece as well. Attached GIF to show what I mean. You can reproduce by typing objectivec and pressing return. I am using Chrome 73.0.3683.86 on Mojave
2019-04-02_10-13-12

@moshfeu
Copy link
Member

moshfeu commented Apr 2, 2019

That's the functionality of autocomplete. It doesn't select anything that's not exists.
How do you think to handle this?

@moshfeu moshfeu added enhancement New feature or request wip Work in progress labels Apr 2, 2019
@moshfeu moshfeu added this to To do in 42 via automation Apr 2, 2019
@moshfeu moshfeu moved this from To do to In progress in 42 Apr 2, 2019
@emmabostian
Copy link

Hi, are you saying that if the user tries to search for a skill or country that doesn't exist, and they hit Enter, they should see a message?

@moshfeu
Copy link
Member

moshfeu commented Apr 3, 2019

I'm not sure we have the "enter" functionality in that component.
Also, we may want to wait or implement it as part of #80.

@moshfeu
Copy link
Member

moshfeu commented Apr 4, 2019

Just saw this site which has autocomplete: https://firstcontributions.github.io/

@brockneedscoffee
Copy link
Member Author

@emmawedekind @moshfeu yes I am saying that if they search for a skill or country that does not exist they should see that message. We should pass what they type to the state and compare it to the array like we do with existing items now. the package we use has an example on how to do this. Will have the PR up shortly for you guys to review. Along with the Google Docs API piece @emmawedekind we talked about briefly 😄

@emmabostian
Copy link

I like this idea - would you want to open a PR? That way it might be easier to discuss whether it's the right solution!

@moshfeu
Copy link
Member

moshfeu commented Apr 8, 2019

If so, probably it should be done with #80 because we may use a different component.

@emmabostian
Copy link

Sure I'm cool with that - should we close this issue and add it as acceptance criteria for #80?

@moshfeu
Copy link
Member

moshfeu commented Apr 8, 2019

Sure I'm cool with that - should we close this issue and add it as acceptance criteria for #80?

Good idea 👍

@emmabostian
Copy link

Wonderful!

42 automation moved this from In progress to Done Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wip Work in progress
Projects
No open projects
42
  
Done
Development

No branches or pull requests

3 participants