Christian Fehmer
ca55b28135
impr: hide login/signUp button if user signup is disabled (fehmer) ( #5172 )
...
* impr: hide signIn button if user signup is disabled
* move UI modifying code to ready.ts
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2024-03-04 14:13:39 +01:00
Christian Fehmer
ff268ade7d
fix: fix two percentage symbols in leaderboard (fehmer) ( #5174 )
...
Co-authored-by: Jack <jack@monkeytype.com>
2024-03-04 14:02:23 +01:00
Christian Fehmer
ae21d04021
fix: remove °C from estorian language (fehmer) ( #5178 )
...
Co-authored-by: Jack <jack@monkeytype.com>
2024-03-04 14:02:04 +01:00
github-actions[bot]
f298213f04
refactor: run prettier ( #5168 )
...
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-03-04 13:59:50 +01:00
Miodec
42b6c53b91
refactor: skeleton util
...
move to util folder
add suport for predefined append targets
require append target to be specified
2024-03-04 13:23:56 +01:00
Miodec
1f52692151
chore: fix browser debugger not working correctly
2024-03-04 00:07:33 +01:00
Miodec
b70de604b7
chore: release v24.9.1
2024-03-03 22:05:57 +01:00
Miodec
f35e8fb8ee
refactor: cookie popup
...
use animated modal class
should fix brave having issues with the cookie popup
2024-03-03 21:47:19 +01:00
Miodec
e093b51553
impr(tab navigation): improve tab navigation
...
allow tab when quick restart is disabled and when its set to enter
allow pressing enter to trigger buttons even when quick restart is set to enter
2024-03-03 20:25:44 +01:00
Miodec
b9092bf362
impr(animated modal): add setup function which only runs once
...
used for setting up event handlers - that way the event handlers can be loaded at any time
also connected constructor functions into an object
2024-03-03 19:32:33 +01:00
penguin-teal
5431ab97af
fix(commandline): select exact command matches ( #5164 )
...
Because of the RegEx, typing a command such as the language "code c" selects the item "code python" because the word "code" is being matched twice. This change makes it so that when an exact match of a `display` field is typed, it is selected (when I type "code c" I expect to be able to just hit enter but it selects "code python").
Co-authored-by: Jack <jack@monkeytype.com>
2024-03-01 22:27:44 +01:00
Sanidhya Singh
4c550c7d9d
fix(commandline): prevent theme switch when opening the commanline from the footer (sanidhyas3s) ( #5163 )
...
fixes #5103
Co-authored-by: Jack <jack@monkeytype.com>
2024-03-01 22:23:43 +01:00
Miodec
9a0d6bd5a9
chore: update link
2024-03-01 22:07:05 +01:00
Miodec
d0fe0f536f
fix(alerts): not being able to claim rewards
2024-03-01 18:11:59 +01:00
Miodec
03311d8d6f
chore: add plushie banner
2024-03-01 17:39:46 +01:00
Miodec
d4ec11f3a4
fix(language): fix typo in code matlab
2024-03-01 12:52:17 +01:00
Miodec
0f880a254c
refactor(alerts): use animated modal
2024-03-01 02:13:02 +01:00
Miodec
a2bf62edd4
refactor: improve animated modal code
...
allow global definition of custom show and hide animations
these can still be overridden at each show/hide call
store global default animation duration
2024-03-01 01:42:00 +01:00
Jack
1d7fde25a3
refactor: modal system ( #5162 )
...
* add animated modal class
* convert one popup to new system
* also grabbing backdrop classes
* rename
* padd modal as parameter
* rename to wrapper
* unnecessary constant
* rename parameter
remove first hashtag if present
* combine types
* rename popup to modal
* reduce options object nesting
2024-03-01 00:29:08 +01:00
Miodec
9cbca109ea
chore: fix eslint errors
2024-02-29 22:48:29 +01:00
Christian Fehmer
91982e285d
chore: fix ESLint complaining about typescript version ( #5153 )
...
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-29 22:44:33 +01:00
Miodec
f7f09d16b1
fix: error when trying to update result tags
2024-02-29 15:10:48 +01:00
Miodec
e6666c48c3
style: make backdrop element invisible
2024-02-29 15:07:00 +01:00
Miodec
86a94eacd8
chore: release v24.9.0
2024-02-29 14:04:09 +01:00
Owen Jones
6363b94c0a
impr(quotes): add Python quote (OwenJRJones) ( #5139 )
...
* Updated code_python.json
* Updated code_python.json
2024-02-29 13:58:39 +01:00
Max Harmony
8effada4d9
chore: expire security.txt 2024-06-03 ( #5156 )
...
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-29 13:03:04 +01:00
Miodec
c1c6972408
impr(accesibility): use button element instead of class button
2024-02-28 23:30:49 +01:00
Miodec
35b87c467f
fix(alerts panel): unwanted horizontal scrolling
2024-02-28 23:15:16 +01:00
Miodec
8e0f124028
impr: use dialog element to take advantage of focus trapping
2024-02-28 23:02:35 +01:00
Miodec
a88ba61758
fix: dont modify tab behavior if a modal is visible
2024-02-28 22:45:44 +01:00
Miodec
5147e7507c
impr: fully prevent typing when a popup is visible
...
closes #5148
closes #5142
2024-02-28 20:44:47 +01:00
Paul Ebose
a0416d3eba
impr(dev): allow docker compose to start the backend server (plbstl, Miodec) ( #4995 )
...
* chore: allow backend docker compose to start the api-server alongside redis & mongodb
* chore: update node versions in docker compose
* chore: add an extra compose file in backend
* docs: update advanced contribution guide with docker compose changes
* add docker script
support server_open env variable
* move files
* npm scripts
rename file
* add docker ignore
* fix redis not working
* rename file
* mounting root instead
* update docs
* update docs table of contents
* restart on fail
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2024-02-28 14:17:09 +01:00
Christian Fehmer
91494fb9e3
fix: fix tags personal bests handling of missing numbers flag (fehmer) ( #5146 )
...
* fix: fix tags personal bests handling of missing numbers flag
* add missing filters for numbers flag
2024-02-27 20:20:30 +01:00
Miodec
4d796efb63
impr: better out of focus message
2024-02-27 01:29:40 +01:00
Miodec
2413fbaa4c
ci: add recaptcha site key
2024-02-27 01:08:38 +01:00
Miodec
399263eddc
fix: removed "title" text from commandline
2024-02-27 01:02:44 +01:00
Miodec
d23dad36ea
impr(dev): add recaptcha site key to frontend env
2024-02-27 00:49:51 +01:00
Miodec
a6cc2b5eff
chore: throw if recaptcha secret is undefined
2024-02-27 00:43:17 +01:00
Miodec
c51e2a47e4
chore: missing field in example env
2024-02-27 00:42:06 +01:00
Christian Fehmer
668f2612a4
fix: PB pace caret is always zero ( #5143 )
...
* fix: PB pace caret is always zero
* cleanup
2024-02-26 20:57:09 +01:00
penguin-teal
76267baf1e
impr(languages): replace 2 fake code_vim commands with real ones ( #5137 )
2024-02-26 18:56:44 +01:00
Miodec
f4f1346aa8
fix(result tag popup): active tags not higlighted
2024-02-26 18:23:04 +01:00
Miodec
39ad6f65c3
impr(modes notice): not showing decimal places
2024-02-26 17:19:17 +01:00
Christian Fehmer
69dff92ede
impr: floor accuracy intead of rounding when not showing decimal places (fehmer) ( #5120 )
...
* impr: floor accuracy intead of rounding when not showing decimal places
* add method to format accuracy
---------
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-26 17:16:46 +01:00
Nipul Mallikarachchi
532c16f089
impr(quotes): add 4 english quotes (NipulM) ( #5110 )
...
* impr(quotes): add 3 english quotes
* impr(quotes): add 4 english quotes
* updated per feedback
* fixed length
---------
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-26 17:10:35 +01:00
Miodec
9e6b5c7ede
ci: define types
2024-02-26 14:34:55 +01:00
Christian Fehmer
0dcf6c0d15
fix: fix wrong usage of DB.getLocalPB ( #5132 )
2024-02-26 14:13:14 +01:00
mizaagi
becb66dab6
feat(theme): add anti hero theme (mizaagi) ( #5018 )
...
* Create anti_hero.css
* Update _list.json
* updated colors
* Update anti_hero.css
fix color scheme
* Update _list.json
fix color scheme
* Update anti_hero.css
hopefully the final change to this theme.
* Update _list.json
hopefully the final change to this theme.
* update text color
* Update anti_hero.css
New error color fix
---------
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-26 13:53:37 +01:00
Christian Fehmer
47576df773
chore(dev): wait for backend to be ready before starting frontend ( #5121 )
2024-02-26 13:48:05 +01:00
Denis Alex
db34b13b48
impr(quotes): add Dutch quotes (devdenisalex) ( #5125 )
...
* Update spanish.json
* Update spanish.json
* Update dutch.json
* Update dutch.json
* Update dutch.json
2024-02-26 13:40:06 +01:00