Commit graph

21 commits

Author SHA1 Message Date
KoloMl
15d09cf9ba Don't display aliases when prefix is matching both alias and tag name 2025-02-11 19:56:46 +04:00
liamwhite
28e85c3469
Merge pull request #409 from koloml/show-aliases-in-suggestions
Display alias names for the aliases matched by local autocomplete
2025-02-11 08:51:46 -05:00
KoloMl
9a9f2de402 Removed unnecessary variable for line offset 2025-02-11 12:24:24 +04:00
KoloMl
63a9f0317f Run active line search unconditionally 2025-02-11 12:23:00 +04:00
KoloMl
4f772c5c69 Extracted formatting function and added aliases support 2025-02-10 06:01:32 +04:00
KoloMl
fefa7b51d7 Finding the active line in textarea, treating each line as different queries 2025-02-08 05:30:01 +04:00
KoloMl
9ec847e1c9 Support calling autocomplete on textarea 2025-02-08 05:28:54 +04:00
Liam
a134d65b17 Further optimize clientside autocomplete execution 2025-01-25 15:38:42 -05:00
KoloMl
5c8ae5f54b Restore - prefix when sending autocomplete from mouse clicks 2024-12-14 23:48:16 +04:00
KoloMl
ea69049e21 Fixed lint issue about overwriting the argument 2024-12-14 23:47:35 +04:00
KoloMl
9a0ae3971b Support suggesting tags when - syntax used in tag editor 2024-12-14 22:58:40 +04:00
KoloMl
8e742b2549 Move selection to end of the selected term instead of the end of query 2024-11-14 22:43:43 +04:00
KoloMl
0523c0f400 Fixed search fields resetting to the last term instead of the query 2024-11-14 22:33:10 +04:00
KoloMl
ab43c42e53 Removed unnecessary import 2024-08-31 21:35:05 +04:00
KoloMl
997b1bbe8a Extracted local autocompleter download function 2024-08-31 21:11:53 +04:00
KoloMl
0fe6cd7842 Extracting chunks of code & slightly refactoring autocomplete script 2024-08-31 18:48:30 +04:00
Liam
a3152fc9e0 Add mouseMoveThenOver, test 2024-08-29 13:55:17 -04:00
KoloMl
53d345ddff Moving mouseover handler into function for calling it from mousemove 2024-08-29 21:07:42 +04:00
KoloMl
c8bd0c9c33 Require mouse movement before autocomplete options are selected on hover 2024-08-29 03:31:43 +04:00
KoloMl
76213ed169 Added explicit types for several functions 2024-08-28 03:11:27 +04:00
KoloMl
583856d6e8 Converting autocomplete to TypeScript 2024-08-28 02:36:33 +04:00
Renamed from assets/js/autocomplete.js (Browse further)