Commit graph

74 commits

Author SHA1 Message Date
Miodec
aec04bc8cc chore: remove grecaptcha types
it didnt work anyway
2024-02-17 18:44:14 +01:00
Jack
3e0be2e210
refactor: replace select2 with slim-select (#5065)
* i cant figure this oooout

* fix: closing commandline causing settings page update

* remove log

* fix event looping issues
rerendering selects when updating settings

* remove comment

* move section back to where it should be

* update styling

* move redrawing to settings group

* no need to save to a variable

* types

* fix styles

* search placeholder

* fix structure

* fix styles

* using slim for the rest of selects

* disabled styling

* use slim

* styling

* use slim

* multi select styling

* use slim

* use slim

* use slim

* use slim

* remove everything else related to select2

* last select2 mention

* comment

* fix(settings page): font family buttons not working

* fix: input indicators remaining visible after leaving the login page (underscoore) (#5062)

* chore: update node version to 18.19.1 (#5060)

* impr(quote): add Code C quotes (penguin-teal) (#5053)

* fix: question mark appearing next to unrated quotes

* removed unnecessary link

---------

Co-authored-by: Ajay kumar <ajaykumar.bit.1995@gmail.com>
Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
Co-authored-by: penguin-teal <130006737+penguin-teal@users.noreply.github.com>
2024-02-17 12:12:15 +01:00
Christian Fehmer
6cf2e4f5f5
chore: update node version to 18.19.1 (#5060) 2024-02-15 21:23:29 +01:00
Christian Fehmer
0fef619d06
refactor: null-safe usage of Auth.currentUser (fehmer) (#5048)
* fix: error on leaderboard when no user is present

* refactor simple popups

* popups, commandline

* fixes?

* more

* more

* review comments

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-13 19:03:50 +01:00
Christian Fehmer
9d7e5b1ddb
test: add jquery and mocks to frontend tests (#5013) 2024-02-07 16:11:07 +01:00
Christian Fehmer
97e2baa915
refactor: import jquery and jquery plugins using webpack (fehmer) (#4880)
* refactor: import jquery and jquery plugins using webpack

* move select import to index

* moved imports to the top

* unnecessary types

* ignoring requires in this file

* importing html2cavnas as needed instead of globally

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-07 13:12:12 +01:00
Miodec
7e33b4891e chore: upgrade jest 2024-02-05 13:01:09 +01:00
Jack
0124ee6345
chore: upgrade axios from 0.21.4 to 1.6.4 (#4986)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459
- https://snyk.io/vuln/SNYK-JS-AXIOS-6124857
- https://snyk.io/vuln/SNYK-JS-AXIOS-6144788

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-01-31 13:05:45 +01:00
Christian Fehmer
6aa7a72727
test: configure testing for frontend code (fehmer) (#4879)
* test: configure testing for frontend code

* remove test coverage thresholds, cleanup
2024-01-08 15:26:57 +01:00
Christian Fehmer
39eb13b4fa build: fix development mode detection on windows (fehmer) (#4724)
* fix: development mode detection on windows

* fix: development mode detection on windows
2023-10-17 12:41:59 +01:00
Christian Fehmer
0f6884a5be
impr: detect development mode based on config instead of window.location (fehmer) (#4703)
* impr: detect development mode based on config instead of window.location

* Allow access to /configure on the backend using non-local ip

* Use webpack define plugin

* take BACKEND_URL from env
2023-10-09 18:46:40 +01:00
Miodec
18b4e62f13 chore: release v1.17.14 2023-09-25 14:15:45 +01:00
Miodec
e3f66b165e build: add deploy-preview script 2023-08-31 14:05:21 +02:00
Miodec
9bb1a87e08 chore: upgrade firebase 2023-08-25 11:45:18 +02:00
Miodec
940cc018ea build: upgrade dependencies
This also fixes issue where the dev server would die when using firefox
2023-08-13 12:34:54 +02:00
Miodec
c47c66146f style: add normalize.css 2023-08-12 14:59:11 +02:00
Miodec
6ae332e769 build: add postcss and autoprefixer
Autoprefixer will automatically add vendor prefixes to css on build
2023-08-12 14:59:11 +02:00
Miodec
0b69b2e1e3 added knip to find unused exports 2023-08-10 18:32:33 +02:00
Miodec
38a316715b moved to node 18.17.1 lts 2023-08-10 17:38:27 +02:00
Miodec
99a7972c13 updated firebase version 2023-07-10 13:01:11 +02:00
Miodec
e3cb26d30c added eslint to frontend to fix linting issues 2023-06-22 23:52:55 +02:00
Miodec
369be4db76 upgrade to webpack-cli 4.10 2023-06-08 12:39:18 +02:00
Miodec
c18144d7b9 replaced plugin with a better one 2023-04-20 12:59:54 +02:00
Miodec
6a6d475e51 dynamically blending colors for the heatmap
fixes #1613
2023-03-08 15:44:40 +01:00
Bruce Berrios
46d7a78ffe
Add Monkey CI (#3799)
* Split PR checks

* Split Jobs

* Test

* Fix path check

* Use checkout

* Undo

* oh boy

* .

* .

* .

* .

* test

* .

* .

* .

* .

* .

* .

* .

* yay

* Remove jsonschema from global dep

* monkey ci

* .

* oops

* test

* .

* .

* .

* .

* .

* .

* .

* ayy

* add permissions
2022-12-05 18:52:15 +01:00
Miodec
01f083e87d updated port 2022-11-28 17:37:37 +01:00
Miodec
eddad02ca5 save exact 2022-10-31 01:00:04 +01:00
Miodec
593fdb5f92 code. nothing to see here, move on 2022-10-31 00:45:46 +01:00
Miodec
9813c9d757 updated firebase version 2022-10-21 14:51:44 +02:00
Miodec
e47048f0b2 added concurrently as a dev frontend dependency 2022-10-18 12:34:00 +02:00
Miodec
a0a3acc623 pwa support
offline support
2022-10-13 14:26:49 +02:00
riyu
0c3e3549b0
Add confetti animation (#3607) riyuzenn
* include confetti sound

* include confetti-canvas

* include canvas-confetti

* include confetti sound

* create confetti func

* import confetti sound

* add confetti

* add confetti to daily leaderboard

* change confetti color

* revert to main color

* save exact version

* updated confetti parameters
added one more color
made duration shorter
more particles
higher spread

* removed sound

* only showing confetti if user already has a pb (doesn't show on the first pb)

* regenerated package lock

* not showing confetti if timer is slow

Co-authored-by: Miodec <jack@monkeytype.com>
2022-09-28 00:15:02 +02:00
krau5
2b782f35b7
Move types dependency to devDeps (#3573) krau5 2022-09-22 14:26:58 +02:00
Miodec
d63232680f Revert "clearing webpack console output on rebuild"
this causes backend build errors to be cleared
2022-09-04 20:03:53 +02:00
Miodec
5be476d3e3 clearing webpack console output on rebuild 2022-09-04 17:16:23 +02:00
Christian Rudder
fcd7c63440
Adding Korean Language Functionality (#3412) neezacoto
* fixing accuracy and functionality

* removed opacity for readability

* avoiding using any

* ㅎㅁㅁ스 ㅜㅐㅔ겨ㅓ

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-08-22 13:45:22 +02:00
Bruce Berrios
616e26b5c5
Add version commit hash (#3286)
* Add version commit hash

* Add frontend client hash

* Remove export
2022-07-02 18:49:13 +02:00
Miodec
89c9557475 definitely didnt forget about those 2022-05-05 23:35:40 +02:00
Miodec
9e2bd5a3fb fixed script names 2022-05-05 23:25:03 +02:00
Miodec
52ffeb3da9 rebuilding remplate on save
(still doesnt work with auto refersh)
2022-05-03 18:57:33 +02:00
Evan
f584d683bb
Rename scripts to ts (#2869) ferotiq
* Rename scripts to ts

* Update config.base.js

* Delete firebase-config.ts
2022-04-24 17:20:30 +02:00
Jack
4d365802a1
Added popup to share test settings through url (#2870)
* added package for compressing strings

* added popup to share test settings

* added function to parse test settings from url

* returning if no settings were applied

* removed pointless try catches

* added type for shared setings instead of casting

* small refactor

* unnecessary ??
2022-04-24 17:05:04 +02:00
Rizwan Mustafa
d65fcff79d
Add script for starting live version locally (#2855) rizwan
* Create start live version locally script

* Fix issues
2022-04-24 15:11:54 +02:00
Rizwan Mustafa
fd002f1553
Save exact for all packages (#2853) 2022-04-23 19:42:20 +02:00
Rizwan Mustafa
5691643b7a
Fixed versions (#2851) 2022-04-21 12:28:30 +02:00
Miodec
038d7b3717 added throttle debounce library 2022-04-07 00:58:58 +02:00
Jack
2f29f7b834
Using html templating to split html into smaller files (#2793)
* split html into smaller files

* added remove plugin to remove leftover split html files from the public directory

* fixed merge
2022-04-03 16:40:41 +02:00
Bruce Berrios
ad8c433e45
Save exact (#2769) 2022-03-25 16:01:45 +01:00
Rizwan Mustafa
47c7fd42c7
Improve webpack - Reduced filesize by 18% by converting from node-object-hash to object-hash (#2768) rizwanmustafa
* Refreshed the PR

* not sending stringified result anymore

* removed length check

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-03-25 15:36:04 +01:00
Evan
cbca2a8957
Remove JavaScript Compilation from the Frontend (#2764) Ferotiq
* remove javascript compilation from frontend

* add dat back

* I'm going risky

* regen and put the type back
2022-03-25 13:19:21 +01:00