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
Eliot Partridge
377317a26b
Add local setting to enable audio on videos by default ( #252 )
...
* Add local setting to enable audio on videos by default
* Update copy
* Use ternary over `let`+`if`
2024-05-05 17:38:22 -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
dd8c2c81d9
Vite HMR for JS/TS (and jankily for CSS) ( #242 )
...
* prelim work on vite reload
* the best solution to a problem is usually the easiest one
2024-04-30 13:13:46 -04: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
089816845e
Silence any lint on window.location mock
2024-04-22 18:45:42 -04:00
liamwhite
df2e336a24
upload: add pinning test ( #231 )
2024-04-22 18:43:36 -04:00
liamwhite
88a1131f35
input-duplicator: migrate to TypeScript ( #230 )
2024-04-22 18:43:27 -04:00
liamwhite
33a713310a
timeago: migrate to TypeScript ( #226 )
2024-04-16 08:02:12 -04:00
liamwhite
3cba72ec4c
ujs: migrate to TypeScript ( #225 )
...
* ujs: migrate to TypeScript
* Address review comments
2024-04-16 08:02:03 -04:00
Liam
394c23893c
Fix leftover jsdoc
2024-04-15 20:36:57 -04:00
mdashlw
1f440475ed
fix sources block not updating properly after saving ( #216 )
2024-03-24 11:44:48 -04:00
mdashlw
921ad0c59a
Autocomplete fallback ( #215 )
...
* autocomplete: fallback to fetch if local returns no results
* fix: don't show autocomplete if by the time fetch is complete value had already changed
* autocomplete tag controller: lower images count req from 4 to 1
2024-03-24 11:38:23 -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
07d326b5bd
Remove unused cable import
2024-03-17 16:13:19 -04:00
Liam
a608ff4af8
Add assertion utilities
2024-03-17 16:12:50 -04:00
Liam
1f69cee296
Remove JS polyfills
...
These are no longer needed on any browser we support.
2024-03-04 21:54:09 -05:00
Liam
49e94afa1e
Fix subscription targets
2024-03-03 00:31:06 -05:00
mdashlw
1918e92c30
Fix setting source url in uploader after fetch ( #195 )
2023-10-12 09:14:30 -04:00
mdashlw
9af22bbde4
Fix my:faves, my:upvotes, my:downvotes in complex filters ( #193 )
2023-10-07 11:07:27 -04:00
Meow
a569008267
Merge pull request #143 from philomena-dev/sources
...
Multiple sources
2023-05-29 11:16:32 +02:00
Luna D
a771fb1213
check if value is null in tag store validity check
2023-05-29 11:06:39 +02: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
880d27ac1e
revert unintended code formatting changes
2023-05-28 16:21:55 +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
byte[]
3a2492160e
Bust clientside caches
2023-03-30 09:45:14 -04:00
byte[]
145ee74c69
Fix embedded image views for small images
2023-03-29 10:59:28 -04:00
byte[]
44e592e382
increase precedence of escape matching in match_query
2023-02-25 20:25:32 -05:00
Luna D
30f78e003a
fix lint?
2023-02-18 22:29:19 +01:00
Luna D
dce3ccb430
make js linter happy
2022-03-24 19:07:51 +01:00
Luna D
26deaaf588
approval queue stuff
2022-03-24 18:44:39 +01:00
David Joseph Guzsik
997d6e0cb5
Add JS utility unit tests with Jest ( #144 )
2022-01-31 14:28:38 -05:00