openstreetmap-website icon indicating copy to clipboard operation
openstreetmap-website copied to clipboard

Show search term used

Open jidanni opened this issue 2 months ago • 1 comments

Screenshot_20251027_144852_Chrome Beta.jpg

It is way more common to have the search term that we used appear on the same page as results. In fact I don't know any other website that doesn't do that. True, is not too far away, in the three bar menu.

jidanni avatar Oct 27 '25 06:10 jidanni

Yeah, this is not a great experience on small screens. The question is what we should be showing, as there will be tradeoffs: how much screen we want to dedicate to which information.

For now, I ran a little experiment with the browser inspector, with a potential solution:

https://github.com/user-attachments/assets/ea7ea30f-feb6-44bd-a045-10ea40ed0706

The markdown I used was as follows:

<h2 class="me-4 text-break">Search Results<span class="d-inline d-md-none"> for <i>Maine</i></span></h2>

pablobm avatar Nov 04 '25 11:11 pablobm