isker / neogrok

Neogrok is a frontend for zoekt, a fast and scalable code search engine.
https://neogrok-demo-web.fly.dev
MIT License
44 stars 3 forks source link

Better UI to indicate that results are limited #23

Open isker opened 8 months ago

isker commented 8 months ago

If you've scrolled down to the bottom of a big stack of results, the small indication in the search UI that there are either more matches or more files isn't even in the viewport. There should at least be some indication at the bottom of the results that there are more results, and some way to get them without scrolling back up to the search UI. Or perhaps some kind of sticky UI for search.

Perhaps the existing indication in the search UI needs to also become more obvious.

isker commented 6 months ago

perhaps some kind of sticky UI for search

Turns out that having multiple sticky elements (i.e. the existing file headers plus the search form) is not really possible to do without lots of fiddling in JS, given that the search form and file headers are in different containers. I'm not so sure it's a good idea to have any complex interactive UI (like the entire form element) be sticky anyway.