Commit graph

372 commits

Author SHA1 Message Date
KoloMl
0523c0f400 Fixed search fields resetting to the last term instead of the query 2024-11-14 22:33:10 +04:00
Liam
a5bec50ba7 Convert tagsinput to TypeScript 2024-11-11 10:35:41 -05:00
Liam
aed938bc17 Convert search help box to TypeScript 2024-11-09 22:54:09 -05:00
dependabot[bot]
09c93f3215
Bump rollup from 4.20.0 to 4.22.4 in /assets
Bumps [rollup](https://github.com/rollup/rollup) from 4.20.0 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.20.0...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 03:51:25 +00:00
dependabot[bot]
1f3ee3c910
Bump vite from 5.4.0 to 5.4.6 in /assets
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.0 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 18:51:04 +00:00
dependabot[bot]
8e4f439a5a
Bump micromatch from 4.0.7 to 4.0.8 in /assets
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-10 18:24:50 +00:00
Liam
2e88374ac1 quick fixup 2024-09-10 10:54:17 -04: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
ab43c42e53 Removed unnecessary import 2024-08-31 21:35:05 +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
liamwhite
42138a219b
Merge pull request #347 from wrenny-ko/client-tag-validation
Client-side tag input validation on image upload submit
2024-08-29 18:41:19 -04:00
wrenny-ko
343078678a scroll to tag block, review suggestions, cleanup 2024-08-29 18:35:20 -04:00
Liam
a3152fc9e0 Add mouseMoveThenOver, test 2024-08-29 13:55:17 -04:00
liamwhite
11d8ca0bfd
Merge pull request #350 from koloml/autocomplete-mouse-selection
Autocomplete: Prevent autocompleted options from selecting when cursor is placed right where popup is created
2024-08-29 13:35:02 -04:00
KoloMl
53d345ddff Moving mouseover handler into function for calling it from mousemove 2024-08-29 21:07:42 +04:00
KoloMl
c8bd0c9c33 Require mouse movement before autocomplete options are selected on hover 2024-08-29 03:31:43 +04:00
KoloMl
42ba4c2be7 Removing unnecessary nullish operator 2024-08-29 02:21:14 +04:00
KoloMl
aa186fa0ad Simplifying comment 2024-08-29 02:20:22 +04:00
KoloMl
7643f5ddb2 Converting types to interfaces 2024-08-29 02:19:27 +04:00
KoloMl
fee1c3e656 Convert markdown toolbar logic to TypeScript
Additionally, these changes contain bugfix for the "Escape" button
throwing an error if nothing is selected.
2024-08-29 01:52:01 +04:00
wrenny-ko
4010a8a277 tests for client side tag validation 2024-08-27 20:02:23 -04:00
wrenny-ko
b713524989 setting up test 2024-08-27 19:29:41 -04:00
wrenny-ko
204e48d05b mocking out a test that actually compiles 2024-08-27 19:16:13 -04:00
KoloMl
76213ed169 Added explicit types for several functions 2024-08-28 03:11:27 +04:00
wrenny-ko
b7733a2ae5 scroll instead of anchor, closed button tags 2024-08-27 18:52:11 -04:00
wrenny-ko
9b99b17cea linting, review changes 2024-08-27 18:38:14 -04:00
KoloMl
583856d6e8 Converting autocomplete to TypeScript 2024-08-28 02:36:33 +04:00
wrenny-ko
877b3a002e suggested review changes; working on fixing the test file 2024-08-27 18:24:03 -04:00
wrenny-ko
c361118472 linting, js test troubleshooting 2024-08-27 17:26:59 -04:00
wrenny-ko
a4cad4e534 linting fixes 2024-08-27 15:41:45 -04:00
wrenny-ko
55760ea57e client-side tag input validation on image upload submit, preserving the image in the form 2024-08-27 14:58:27 -04:00
Liam
6e64e4b6f0 Increase memory efficiency of local autocomplete 2024-08-15 14:37:59 -04:00
Liam
70145f3926 Fix sass deprecations
https://sass-lang.com/documentation/breaking-changes/mixed-decls/
2024-08-13 21:20:00 -04:00
Liam
19a14b7e63 Dependency updates 2024-08-13 21:12:08 -04:00
KoloMl
0122efcbc8 Fixed asserting throwing an error when user is not logged in
This selector is optional and does not exist for the not-logged-in
users. We don't really need to assert it existence in this case.
2024-08-09 00:22:56 +04:00
Liam
c30406bcca Fix notification dismissal 2024-07-29 19:51:25 -04:00
mdashlw
b442d983b0
feat: use keyCode for markdown shortcuts 2024-07-21 19:08:38 -07:00
mdashlw
9ca1a50a0a
feat: use keyCode instead of key 2024-07-21 19:05:35 -07:00
Liam
aea131afe4 New notifications UI: separated by category 2024-07-08 08:26:30 -04:00
Luna D.
34d45b4197 Use prettier for JS formatting 2024-07-05 21:48:17 -04:00
Luna D.
f002825c99 Add prettier to dependencies 2024-07-03 20:59:40 -04:00
Liam
a1c09c6c53 Use key instead of code 2024-06-30 10:11:31 -04:00
liamwhite
dd9091e866
Merge pull request #308 from philomena-dev/misc-ts
convert misc scripts to ts
2024-06-23 15:04:17 -04:00