Commit Graph

15 Commits

Author SHA1 Message Date
Max Leiter
371ebfb810
Close search results with escape 2021-11-18 13:32:21 -08:00
itsjohncs
044cd2403b Small cleanup of messageStorage/sqlite.
* Extend test coverage to the `search` function.
* Test sort order of messages from `getMessages` and `search`
* Move reversal of `search` results from Vue to messageStorage.
* Remove unnecessary uses of `sqlite.serialize` in tests.
* Return promises from test functions where possible.
2021-10-28 00:48:11 -07:00
Nachtalb
bb41871873
Add close search button 2021-04-30 01:53:08 +02:00
Nachtalb
ddff3ac162
Stay in chan during search by searching on /chat-:id/search 2021-04-30 01:53:07 +02:00
Nachtalb
1b13905195
Improved search header
- Highlight both channel and search query
- By moving search query to topic we can ensure nice behaviour for long search queries (eg. when searching for an url)
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
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
Nachtalb
be141bea65
Fix 2 line wrapped message timestamp 2021-04-12 23:46:44 +02:00
Nachtalb
40aaa17c9b
Fix user context menus in in search results view 2021-04-12 23:40:29 +02:00
Mary Strodl
49cd90d0e9
SearchResults: lint 2021-04-12 22:00:51 +02:00
Mary Strodl
e6856a9e7d
client: lay some groundwork for jump to message 2021-04-12 22:00:51 +02:00
Richard Lewis
5d017b09b8 Append new results and keep scroll position. 2020-04-26 22:39:05 +03:00
Richard Lewis
9a1fb0c0a0 Search improvements. 2020-04-26 22:39:05 +03:00
Richard Lewis
88644314ce Use ellipsis
Co-Authored-By: Pavel Djundik <xPaw@users.noreply.github.com>
2020-04-26 22:39:05 +03:00
Richard Lewis
0f3c292098 Message search WIP. 2020-04-26 22:39:05 +03:00