Max Leiter
c439e51617
Clear search input on close
2021-11-18 13:31:01 -08:00
Max Leiter
58110189fe
Allow esc key to close search input
2021-11-18 13:27:52 -08:00
John Sullivan
80acbc7c06
Fix sporadic rounding on message search bar. ( #4333 )
...
This is fixed in the same way as #4328 .
2021-10-17 22:11:08 -07:00
Reto Brunner
c369a764ed
MessageSearchForm: do not focus input if search is closed
...
Else whenever the element gets created (switch from server chan to a normal one)
the browser tries to focus the hidden element
2021-05-27 09:44:44 +02:00
Nachtalb
cadcc4b97c
Autofocus search input in case no query is present
2021-05-06 03:24:20 +02:00
Nachtalb
ddff3ac162
Stay in chan during search by searching on /chat-:id/search
2021-04-30 01:53:07 +02:00
Nachtalb
13d4f035df
More consistent color scheme and usage
...
Only show search by click on search icon (desktop as well)
Improved color scheme
Keep search open search page
2021-04-13 01:56:53 +02:00
Nachtalb
3fb9c8523a
Enable searching for the same query again
...
Previously we got an error instead, but in the meantime new messages could have come in. As such we should allow to search again
2021-04-13 01:23:44 +02:00
Nachtalb
544594a7ad
Keep search term in search input after commiting
2021-04-13 00:43:52 +02:00
Nachtalb
e36ae64c83
Replace search term path with query
...
A search term is dynamic and not a pointer to a resource such as a channel as such it should be a query.
For now the network as well as the channels are still in the path even though we should take them out of there as well (in the case we want a global / network search later on). As for now we can keep in as there is no such filter / facet yet.
2021-04-13 00:01:00 +02:00
Richard Lewis
9a1fb0c0a0
Search improvements.
2020-04-26 22:39:05 +03:00
Richard Lewis
4ba458b9ea
Use ellipsis
...
Co-Authored-By: Pavel Djundik <xPaw@users.noreply.github.com>
2020-04-26 22:39:05 +03:00
Richard Lewis
28c740ab67
Fix toggling search on mobile.
2020-04-26 22:39:05 +03:00
Richard Lewis
0f3c292098
Message search WIP.
2020-04-26 22:39:05 +03:00