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
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
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
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
KoloMl
4f772c5c69
Extracted formatting function and added aliases support
2025-02-10 06:01:32 +04:00
KoloMl
3ecc59896e
Moved oncePersistedPageShown
to events, added tests
2025-02-04 01:15:16 +04:00
Liam
a134d65b17
Further optimize clientside autocomplete execution
2025-01-25 15:38:42 -05:00
Liam
18c72814a9
Annotate return values
2024-09-02 09:32:50 -04:00
KoloMl
1fe752dca3
Tests: Looping selection between from end to start and from start to end
2024-08-31 23:57:24 +04:00
KoloMl
098ec6c6db
Removed the check for direction and elements count for private method
2024-08-31 23:56:44 +04:00
KoloMl
0111ac5dfb
Fixed selection using keyboard when stumbled upon option without value
2024-08-31 23:36:07 +04:00
KoloMl
7a6ca5b234
Tests: Check selection when clicked element has no value
2024-08-31 23:32:55 +04:00
KoloMl
914aa75a8e
Tests: Covering SuggestionsPopup
with tests
2024-08-31 23:19:46 +04:00
KoloMl
4b3348acee
Tests: Covering server-side suggestions and local suggestions functions
2024-08-31 21:32:49 +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
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
Luna D.
97ef88ec10
convert notifications to typescript
2024-06-23 14:43:08 -04:00
Liam
ee02fa131d
Fix typos
2024-06-18 18:52:46 -04:00
Luna D
bbc1879a1e
Convert clientside image filtering scripts to TypeScript
2024-06-15 20:17:45 -04:00
Luna D.
64492d8657
eslint 9
2024-06-12 21:35:04 -04:00
Liam
c0ddf55b48
Add lex stage with intermediate result generation
2024-05-28 23:32:48 -04:00
Eliot Partridge
65da36369d
Pause spoilered videos on image pages, unpause on unspoiler ( #259 )
...
* Pause spoilered videos on image pages, unpause on unspoiler
* Add test
* Fix comment
2024-05-14 21:32:45 -04:00
Luna D.
70cde5d4b2
import mockinstance
2024-05-01 09:26:01 +02:00
David Joseph Guzsik
5643660806
Eliminate chai-dom and restore @testing-library/jest-dom ( #244 )
2024-04-30 18:20:14 -04:00
David Joseph Guzsik
2417f40d37
Switch jest unit tests to vitest ( #243 )
...
* Switch jest unit tests to vitest
* Cleanup vite config after debugging
2024-04-30 20:44:26 +02: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
Liam
394c23893c
Fix leftover jsdoc
2024-04-15 20:36:57 -04:00
liamwhite
3590be1429
match_query: unit test and rewrite for TypeScript ( #208 )
...
* match_query: unit test and rewrite for TypeScript
* match_query: use new type for parse errors
* match_query: avoid exceptional control flow in date parsing
2024-03-18 08:20:47 -04:00
Liam
a608ff4af8
Add assertion utilities
2024-03-17 16:12:50 -04:00
Luna D
b70c0a11f6
merging sources, fix ui bugs, more icons
2023-05-28 18:12:53 +02:00
Luna D
516b35f2fd
added spec coverage for disableEl/enableEl
2023-05-28 16:21:57 +02:00
SeinopSys
a4b85feadc
implement UI for multiple image sources editing
2023-05-28 16:21:33 +02:00
Luna D
417bb79add
fix build
2023-05-18 14:40:24 +02:00