Commit graph

58 commits

Author SHA1 Message Date
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
SeinopSys
9c8b6b8931
replace wrapper function with delegate in draggable utils 2023-05-18 12:53:23 +02:00
SeinopSys
efa5092502
remove unused insertBefore function from dom utils 2023-05-18 12:53:23 +02:00
SeinopSys
87f37ab8d4
adjustments based on PR comments 2023-05-18 12:53:22 +02:00
SeinopSys
aade85a0ff
fix coverage for tag utils 2023-05-18 12:53:22 +02:00
SeinopSys
8ca4a99a1c
fix coverage for image utils 2023-05-18 12:53:22 +02:00
SeinopSys
dc2037ee75
fix coverage for draggable utils 2023-05-18 12:53:22 +02:00
SeinopSys
a9de6e2d66
fix coverage for dom utils 2023-05-18 12:52:17 +02:00
SeinopSys
445b31bbd7
convert image utils to typescript 2023-05-18 12:50:20 +02:00
SeinopSys
7f7228631d
convert store utils to typescript 2023-05-18 12:50:19 +02:00
SeinopSys
2b4ed32233
convert request utils to typescript 2023-05-18 12:50:19 +02:00
SeinopSys
cccbcd041f
convert local autocompleter to typescript 2023-05-18 12:50:19 +02:00
SeinopSys
6d85535abd
convert event utils to typescript 2023-05-18 12:50:19 +02:00
SeinopSys
7f744a2a46
convert draggable utils to typescript 2023-05-18 12:50:19 +02:00
SeinopSys
0628eb0c23
convert array, dom and tag utils to typescript 2023-05-18 12:50:16 +02:00
Luna D
30f78e003a
fix lint? 2023-02-18 22:29:19 +01:00
David Joseph Guzsik
997d6e0cb5
Add JS utility unit tests with Jest (#144) 2022-01-31 14:28:38 -05:00
byte[]
ce5405c670 Allow disabling of tag suggestion filtering 2022-01-20 17:37:05 -05:00
byte[]
5c7bc65a47 Associations off by one 2021-12-29 22:15:14 -05:00
byte[]
cf80b6a63b offset negative index by 1 2021-12-29 21:13:39 -05:00
byte[]
b06647838d Fix alias handling 2021-12-29 20:08:41 -05:00
byte[]
a60fe1c48c Fixed implementation 2021-12-29 19:52:15 -05:00