Commit graph

476 commits

Author SHA1 Message Date
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
7cf02793e1 Move some color definitions for autocomplete into dark/light.css 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
182bb0ef24 Indent comment 2025-03-14 23:00:35 +00:00
MareStare
b119660a54 Add new styles for the suggestions popup to CSS 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
liamwhite
35eee293c0
Merge pull request #439 from MareStare/feat/frontend-retry-utility
[Part 4] Add a retry utility for frontend
2025-03-11 20:14:30 -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
b4ab1ed42c Add mockRandom utility for testing 2025-03-12 00:09:42 +00:00
MareStare
a02a9cd8c4 Add a retry utility for frontend 2025-03-12 00:09:42 +00:00
Luna D.
0eaa542afa
after 13 years in development... 2025-03-07 21:17:58 +01:00
liamwhite
391561cf3b
Merge pull request #441 from MareStare/feat/extend-eslint-config-after-search-history-feature
[Part 3.5] Allow `expect*` functions in vitest lints and ignore no-extra-parens in eslint
2025-03-04 19:33:24 -05: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
MareStare
cb380b0eff Convert a comment into a TODO 2025-03-04 02:59:19 +00:00
MareStare
50c08aa35a Allow expect* functions in vitest lints and ignore no-extra-parens in eslint 2025-03-04 02:47:51 +00:00
liamwhite
243de283da
Merge pull request #430 from mdashlw/css-charset
Specify utf-8 charset for css
2025-02-27 14:51:18 -05:00
mdashlw
3af51765df
Specify utf-8 charset for css 2025-02-27 07:49:42 +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
Luna D.
7e62461097
center avatar if banners wrap 2025-02-22 17:12:08 +01:00