MapComplete icon indicating copy to clipboard operation
MapComplete copied to clipboard

Search result list

Open RobinLinde opened this issue 2 years ago • 4 comments

Adds a list of 5 search results, allowing the user to select a different search result. Auto-closes when user clicks somewhere else.

Demo video

Demo

RobinLinde avatar Aug 29 '23 06:08 RobinLinde

Is there any special handling for when the result becomes too long to display? (i.e. "..." three ellipses, truncated)

danieldegroot2 avatar Sep 20 '23 12:09 danieldegroot2

I'm still a bit conflicted on how to handle search.

First of all, we might have two types of search results: items matching the themes (which are probably displayed) and items not matching the theme (e.g. when searching for a city or address).

I'm thinking about creating a default fallback layer with search results, to display the second kind.

Furthermore, as we have quite some data, we might also do a live search based on name (similar to the 'name'-filter in the shops).

At last, we might also want to include layers and themes in search for easy switching.

pietervdvn avatar Sep 20 '23 13:09 pietervdvn

Hi @RobinLinde ,

With #2156 being merged, this branch has been superseded. And even though this branch will not be merged, I wanted to let you know that I did have a look to it and it was useful to me!

So, thanks again for everything you contributed in the past!

pietervdvn avatar Sep 17 '24 01:09 pietervdvn