Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.33k stars 1.05k forks source link

Return to Search || Sticky Search || Global Search #6566

Open kyleknighted opened 4 years ago

kyleknighted commented 4 years ago

Having received feedback from customers, there is a want for the search bar to be accessible through all points of a "hunt".

Current Behavior

Search bar "disappears" as you scroll down the page of search results.

Possible Solution

This could include the ability to jump back up to the top of the Search page

We could have the Search bar be sticky at the top during a scroll and float with the Navigation bar

Another option would be for the Search link in Navigation to just toggle the search bar to be open, so that Searching is available at any point in the app

Open to additional ideas. One being that we could offer all/some of these options.

The user would be able to click "Pin" icon that would lock the search bar to the Nav bar and float. If the user does not have the bar pinned, then a button would appear when the query is changed from a user action to allow the user to scroll back up to the top so they can see the updated query and run it.

dennisoelkers commented 4 years ago

Would it work to have a sticky query bar at the top, that collapses (or shrinks, showing smaller controls or only the current values) when scrolling? In the latter case (shrinking), it could expand again when it is focussed.

gimmic commented 4 years ago

This would also help as you apply filters from manually-viewed fields in documents (the +). It is kind of annoying to have to scroll back up to modify the manually added value.

An advice would also be to implement a - button right next to the field value as well to allow AND NOT as a "default click" option next to every +, if that makes sense.