Commit graph

297 commits

Author SHA1 Message Date
MareStare
b51e2bc205 Remove temporary ignores for coverage 2025-03-14 23:32:05 +00:00
MareStare
caa2688c73 [Missing change] Adapt local autocompleter to the new API 2025-03-14 23:30:54 +00:00
MareStare
76f434b039 Revert back the event delegation suggestion because in this case we search the closest descendant, not the closest ancestor. 2025-03-14 23:19:41 +00:00
MareStare
4f50d0de3e Add integration tests for various parts of the autocompletion business logic, including history suggestions 2025-03-14 23:01:57 +00:00
MareStare
696a2fd74a Update the tagsinput.ts with the new 'autocomplete' event shape 2025-03-14 23:01:57 +00:00
MareStare
6b9b9d212f Update the format of LexResult to a more readable one (array to object conversion) 2025-03-14 23:01:57 +00:00
MareStare
7aa5562a21 Add the main Autocomplete ui binding glue 2025-03-14 23:01:57 +00:00
MareStare
6b615558af Delete the old autocomplete impl 2025-03-14 23:01:57 +00:00
MareStare
007a3e629a Add tests for hideIf 2025-03-14 23:01:36 +00:00
MareStare
c9f3677bd4 Move hideIf to utils and refactor a bit 2025-03-14 23:01:36 +00:00
MareStare
671e9deda2 Add user-facing autocomplete settings 2025-03-14 23:01:36 +00:00
MareStare
84b6ef74df Use Intl.NumberFormat with French style instead of a manual impl 2025-03-14 23:00:35 +00:00
MareStare
84ecf1ea4e Remove redundant comment from suggestions.ts 2025-03-14 23:00:35 +00:00
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 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 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 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