thelounge/client/components
Reto Brunner 0ebc3a574c search: ignore searchResults if it isn't the active query
Prior to this, the search is still racy but one tends to notice
this only when the DB is large or network is involved.
The user can initiate a search, get bored, navigate to another chan
issue a different search.

Now however, the results of the first search come back in and
hilarity ensues as we are now confused with the state.

To avoid this, keep track of the last search done and any result
that comes in that isn't equal to the active query is garbage and
can be dropped.
2023-01-08 11:41:09 +01:00
..
MessageTypes TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Settings TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Special TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Windows search: ignore searchResults if it isn't the active query 2023-01-08 11:41:09 +01:00
App.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Channel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ChannelWrapper.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Chat.vue style: Put user colors into the smallest possible scope 2022-11-27 16:04:56 +01:00
ChatInput.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ChatUserList.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ConfirmDialog.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ContextMenu.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
DateMarker.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Draggable.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ImageViewer.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
InlineChannel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
JoinChannel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreview.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreviewFileSize.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreviewToggle.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Mentions.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Message.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
MessageCondensed.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
MessageList.vue Fix previous-source calculation (#4656) 2022-12-17 13:59:07 -08:00
MessageSearchForm.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
NetworkForm.vue connect: Trim white space from user input fields (#4623) 2022-09-07 20:25:08 -07:00
NetworkList.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
NetworkLobby.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ParsedMessage.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
RevealPassword.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
RoutedChat.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Session.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Sidebar.vue Fix sidebar swipe flicker after letting go 2022-12-23 10:50:20 +02:00
SidebarToggle.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Username.vue style: Put user colors into the smallest possible scope 2022-11-27 16:04:56 +01:00
VersionChecker.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00