Commit graph

284 commits

Author SHA1 Message Date
MareStare
cae4df68bc Remove the no-longer needed mouseMoveThenOver utility 2025-03-14 23:00:35 +00:00
MareStare
b9440e79cf Update tests for the suggestions popup 2025-03-14 23:00:35 +00:00
MareStare
4e43b59b99 Redesign the autocomplete suggestions popup 2025-03-14 23:00:35 +00:00
MareStare
6948aa5d1c Add AutocompleteClient wrapper over the HTTP API 2025-03-14 23:00:01 +00:00
MareStare
3c2a3e956a Use existing event delegation with submit subscription for history tracking 2025-03-14 22:59:33 +00:00
MareStare
c15e082b97 Add input history listener binding with UI 2025-03-14 22:59:33 +00:00
MareStare
e63899b91e Add AutocomplableInput model for UI binding 2025-03-14 22:58:32 +00:00
MareStare
aa2e5dd3af Simplify the listSuggestions with Array combinators 2025-03-14 22:57:31 +00:00
MareStare
d49b252eb1 Remove humor 2025-03-14 22:57:31 +00:00
MareStare
e884da9b62 Add InputHistory high level API for history suggestions 2025-03-14 22:57:31 +00:00
MareStare
1dac0ef3f2 Add an empty line after the import statement 2025-03-14 22:56:31 +00:00
MareStare
99e597d94d Add autocomplete history store 2025-03-14 22:56:31 +00:00
liamwhite
b96679ef6b
Merge pull request #444 from MareStare/feat/send-events-about-store-update
[Part 7] Emit `'storage-update'` events on local storage update
2025-03-11 20:33:03 -04:00
MareStare
5525f46d1e Ignore non-100% coverage for store.ts until 453 PR is merged 2025-03-12 00:28:53 +00:00
MareStare
39b2a3a1c0 Ignore non-100% coverage for HttpClient until 453 PR is merged 2025-03-12 00:25:52 +00:00
MareStare
c6bc3b3798 Add tests for the HttpClient 2025-03-12 00:16:04 +00:00
MareStare
a3007a3a81 Add HttpClient utility for frontend 2025-03-12 00:16:04 +00:00
liamwhite
bd53311e4b
Merge pull request #443 from MareStare/feat/add-debounced-cache-utility
[Part 6] Add a DebouncedCache utility for frontend
2025-03-11 20:14:58 -04:00
MareStare
7fa5563054 Emit 'storage-update' events on local storage update 2025-03-12 00:12:09 +00:00
MareStare
e07ec0ba1a Update import for the renamed mock-date-now 2025-03-12 00:09:42 +00:00
MareStare
8294d398ed Eliminate a redundant variable
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2025-03-12 00:09:42 +00:00
MareStare
647bd987ba Add tests for the retry utility 2025-03-12 00:09:42 +00:00
MareStare
a02a9cd8c4 Add a retry utility for frontend 2025-03-12 00:09:42 +00:00
MareStare
dc8118df14 Add an ability to specify child elements to makeEl 2025-03-04 03:58:23 +00:00
MareStare
f15faf82d6 Remove extra whitespace 2025-03-04 03:43:43 +00:00
MareStare
97ca6d8846 Add tests for DebouncedCache 2025-03-04 03:41:33 +00:00
MareStare
69eff89886 Add a DebouncedCache utility for frontend 2025-03-04 03:40:51 +00:00
Luna D.
ecd25ebaff
iOS 12 fixes 2025-02-26 19:22:21 +01:00
liamwhite
f35313ad3a
Merge pull request #417 from MareStare/feat/small-refactoring
Refactoring of autocomplete and tag inputs
2025-02-22 17:06:06 -05:00
MareStare
9b077ae195 Fix missing ac -> autocomplete renaming 2025-02-15 05:35:18 +00:00
MareStare
351c4cff19 Disable no-undefined ESLint lint 2025-02-13 19:16:18 +00:00
MareStare
20035f6411 Rename ac to autocomplete consistently across all files 2025-02-13 18:49:43 +00:00
MareStare
a9d42683ee Refactoring of autocomplete and tag inputs 2025-02-13 18:48:43 +00:00
KoloMl
5da1080ed9 Replaced undefined check with the type check 2025-02-12 21:30:06 +04:00
KoloMl
235d7ab362 Fixed local autocompleter returning aliases even when tag is matched by prefix
Patch from @liamwhite
2025-02-12 21:03:34 +04:00
KoloMl
988ba6b019 Revert "Don't display aliases when prefix is matching both alias and tag name"
This reverts commit 15d09cf9ba.
2025-02-12 20:51:31 +04:00
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
KoloMl
3ecc59896e Moved oncePersistedPageShown to events, added tests 2025-02-04 01:15:16 +04:00
KoloMl
77352a3c77 Detect when page is loaded from back-forward-cache and undo the disabling 2025-02-03 23:21:06 +04:00
KoloMl
47ba4747b3 Bail out early if submit button isn't present 2025-02-03 23:20:20 +04:00
Liam
a134d65b17 Further optimize clientside autocomplete execution 2025-01-25 15:38:42 -05:00
Liam
e3e58d90e4 Fix lint 2025-01-25 15:38:33 -05:00
Liam
39d1eb6dee Escape more characters for markdown 2025-01-25 12:09:33 -05:00
Liam
3c7c1e1ec1 Fix local settings page for anonymous users 2025-01-24 20:05:36 -05:00