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

Run citiy-search, if less than 10 search results #108

Open
1 task
wellemut opened this issue Apr 15, 2022 · 0 comments
Open
1 task

Run citiy-search, if less than 10 search results #108

wellemut opened this issue Apr 15, 2022 · 0 comments
Assignees
Labels
01 refactoring not a new function but a rewrite of an existing function on https://v0.kartevonmorgen.org/ storypoint:2

Comments

@wellemut
Copy link
Member

wellemut commented Apr 15, 2022

User Story: As a user I want to find things around me, but I only see one search box: so when I put in my hometown there, i still expect some results that lead me towards, what i am searching.

Problem

  • Sometimes people search for things, but are just outside of the correct bbox.
  • People sometimes try to search for cities, but dont find the special region search filed. Beacause the Region-Searchfield is hidden behind the filter menu
    grafik

On the old frontend there was a fall-back city search which automatically searched for cities, if less then 10 entries. (And it also searched outside of the bbox)
grafik

Solution

  • If there are less than 10 search results, start a regions-search and show the best 10 matching cities (like in the old frontend)

Further imporvements

@wellemut wellemut added the 01 refactoring not a new function but a rewrite of an existing function on https://v0.kartevonmorgen.org/ label Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 refactoring not a new function but a rewrite of an existing function on https://v0.kartevonmorgen.org/ storypoint:2
Projects
None yet
Development

No branches or pull requests

2 participants