hardlounge/client/js
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
..
commands TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
helpers Added client type checking to webpack (#4619) 2022-08-23 00:26:07 -07:00
hooks TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
socket-events search: ignore searchResults if it isn't the active query 2023-01-08 11:41:09 +01:00
auth.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
autocompletion.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
clipboard.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
constants.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
eventbus.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
keybinds.ts keybinds: Fix invalid return 2022-11-16 06:50:56 +01:00
loading-error-handlers.js TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
localStorage.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
location.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
router.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
settings.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
socket.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
store-settings.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
store.ts search: ignore searchResults if it isn't the active query 2023-01-08 11:41:09 +01:00
types.d.ts remove VueApp from router 2022-11-22 21:27:19 +01:00
upload.ts Remove uploading event listeners on ChatInput unmount (#4600) 2022-06-28 13:31:55 -07:00
vue.ts remove VueApp from router 2022-11-22 21:27:19 +01:00
webpush.ts TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00