Commit graph

23 commits

Author SHA1 Message Date
KoloMl
583856d6e8 Converting autocomplete to TypeScript 2024-08-28 02:36:33 +04:00
Liam
6e64e4b6f0 Increase memory efficiency of local autocomplete 2024-08-15 14:37:59 -04:00
Luna D.
34d45b4197 Use prettier for JS formatting 2024-07-05 21:48:17 -04:00
KoloMl
0381409862 Lowercasing term before running the auto-completion on it 2024-06-03 21:42:58 +04:00
Liam
f44491685e Disable search completion by default, use setting to enable 2024-06-03 10:59:49 -04:00
KoloMl
8d2c082413 Disable server-side autocompletion when acSource is not set 2024-06-03 17:48:42 +04:00
KoloMl
1a7d59cb59 Added the local setting to disable auto-completion 2024-06-02 20:40:09 +04:00
KoloMl
7fa141bb54 Increased the suggestions count to 10 for search fields specifically
Default 5 entries feel not enough for search field
2024-06-02 19:59:06 +04:00
KoloMl
9dd26f2f87 Added separate property to control autocompletion mode
This is better than using hardcoded field name.
2024-06-02 19:58:01 +04:00
KoloMl
3f2e887aec Fixed issues marked by linter 2024-05-30 21:55:41 +04:00
KoloMl
f1aec2fd58 Close autocomplete window when selection moved outside active term by click 2024-05-30 01:37:35 +04:00
KoloMl
f31fcf86b3 Close the autocomplete window once user moved outside current term 2024-05-30 00:32:03 +04:00
KoloMl
8c988b002d Support search field autocompletion, enabled autocomplete for header 2024-05-29 23:57:36 +04:00
Nighty
42cd107b2a
Vite (#240)
* begin vite stuff (does not work yet)

* finalize vite switch + cleanup package.json

* Assets path, re-add async, fix z

* Remove source-map-support

---------

Co-authored-by: Liam <byteslice@airmail.cc>
2024-04-29 20:39:52 -04:00
mdashlw
921ad0c59a
Autocomplete fallback (#215)
* autocomplete: fallback to fetch if local returns no results

* fix: don't show autocomplete if by the time fetch is complete value had already changed

* autocomplete tag controller: lower images count req from 4 to 1
2024-03-24 11:38:23 -04:00
byte[]
3a2492160e Bust clientside caches 2023-03-30 09:45:14 -04:00
byte[]
eb80be2a5b Bust caches 2021-12-29 20:10:47 -05:00
byte[]
a60fe1c48c Fixed implementation 2021-12-29 19:52:15 -05:00
liamwhite
dadc2f1585
Local autocomplete (#151) 2021-12-26 19:16:21 -05:00
byte[]
227bec0a0b Fix invocation error 2021-11-16 20:21:12 -05:00
byte[]
d43ae04c1c Be more careful about caching the input query for autocomplete 2021-10-25 21:18:07 -04:00
byte[]
912e64559b don't autocomplete on mouseover (furbooru/philomena#15) 2020-09-10 03:04:47 -04:00
byte[]
a40d31e9cd add scripts 2019-10-04 20:09:52 -04:00