Commit graph

1505 commits

Author SHA1 Message Date
Miodec 176e344b09 fix(language): remove misspelled word in english 450k 2024-03-13 22:09:31 +01:00
Christian Fehmer 7d3c4be04d
impr(language): update estonian word sets (Ksaspar, fehmer) (#5222) 2024-03-12 23:11:34 +01:00
MordecaiO 33b08517f4
impr(quotes): add english quote (MordecaiO) (#5215)
* impr(quotes): add one english quote

* chore: correct char length

* double quotes, remove first quotes, capitalisation

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-03-12 12:11:59 +01:00
Christian Fehmer b31dba6b7a
feat(language): add klingon (fehmer) (#5201)
* lang: add klingon

* cleanup
2024-03-12 11:58:41 +01:00
Miodec f91d6d7e6b chore: quote lengths script 2024-03-11 22:32:40 +01:00
Miodec 9a4a3eab23 fix(quote): user reports 2024-03-11 22:31:25 +01:00
Mikhail Ivanov 720d0f4468
fix(language): remove capital letters in russian_10k.json (zaqzxcswsde) (#5202)
While it's correct for the words "Москва" and "Россия" to be capitalized, they seem out of place being that way among ~10k lowercase words.
2024-03-11 20:54:45 +01:00
Exploration ab5c130b59
impr(quotes): add English quotes (TheExploration) (#5190)
* impr(quotes): add English quotes

* fix
2024-03-11 20:44:54 +01:00
Christian Fehmer f63f3184a7
feat: add ook coding language (fehmer) (#5203) 2024-03-11 20:34:45 +01:00
github-actions[bot] d224a80658
refactor: run prettier (#5205)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-03-11 20:33:28 +01:00
Jack 3c4212b718
refactor: commandline (#5180)
* initial rewrite

* remove title

* remove from dom on hide

* actual command dom
show active
keep active in view
update active index on keypress

* global event only shows commandline

* impr(dev): showing notifications with unhandled errors

* rename functions

* handle hover functions
handle nesting
handle exec
attaching handlers once

* void promise

* no need for async

* move font preview to ui

* add configkey to command

* add function to build single list

* add mouse mode
clearing preview on hide
add config icon

* using new function

* use fw icon

* fix incorrect type

* extract logic

* add support for input commands

* unused error

* update single list

* chevron icon margin

* only focusing when no popups and words are visible

* extract condition

* better type

* remove no icon

* only showing when nothing is already visible

* commandline lists no longer modify the commandline element
dynamically changing which funbox commnands are available
modified searching approach
showing active settings in single mode again
calling before list if needed

* ignore keydown on page transition

* add other ways to show the commandline

* always clearing previews

* incorrect icon being used

* extract logic

* support quick single list mode by starting input with >

* fix test words not being focused

* showing all if in quick single mode

* remove unused code

* rename entry to command

* remove more unused code

* add data- prefix

* rename to data-command-id

* fix input commands not refocusing words

* fix fontsize change not working as intended

* set active index to 0 when going back

* keeping active command in view

* remove console logs

* fix quick single mode

* move file

* add footer events

* add option for subgroup override
fix issue where commands would get hidden after clearing input field
fixed auto scrolling in mouse mode

* rename commands to lists

* add background after to avoid flashing

* getting config key from active subgroup

* updating active command after removing hidden class but before animating

* fix nasty hover behavior

* updating active before animation showing, keeping active after

* add keymap event

* remove comments

* invert if, use return, combine ifs to reduce nesting

* add test event

* popups events

* fix some commands not showing up on a single list

* use new animated modal

* use regex escaping function from misc

* add singlelistdisplay and singlelistdisplaynoicon properties

* add more navigation aliases

* not adding alias if not needed

* rework command filtering

* fix active icon not working

* add custom hide handlers

* fix active command not being kept in view after showing

* unused imports

* remove commandlinelists imports from other files

* delete old file

* remove unused file

* import commandline dynamically

* fix: if skeleton has wrapper, append before building animated modal

* using new parameters

* save skeleton on ready

* rename folder

* add util to get async modules

* remove empty imports

* remove unnecessary code

* unnecessary void

* catching errors and notifying user

* better error message

* making sure all the lists are fetched before getting the single command list

* add tab navigation
2024-03-05 19:34:35 +01:00
Miodec 226f5de472 fix(quote): missing dash 2024-03-05 18:32:49 +01:00
Dmitry ca0d6b3739
impr(quotes): add 20 belarusian quotes (Dmskrzh) (#5152)
Added 20 quotes

Co-authored-by: Jack <jack@monkeytype.com>
2024-03-04 16:09:52 +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 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
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
penguin-teal 76267baf1e
impr(languages): replace 2 fake code_vim commands with real ones (#5137) 2024-02-26 18:56:44 +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
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
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
aarnav593 002770ee26
feat(language): add english medical (aarnav593) (#5108)
* Update _list.json

added medicine as a language

* Create medicine.json

* Update medicine.json

* Added words to english_medical

200 words

* Rename medicine.json to english_medical.json

* changed medical to english_medical

* added english_medical to English group

* Update english_medical.json

fixed naming error

* fixed duplicate words in english_medical.json

tried creating pull request, returned an error. fixed errors.

* Update english_medical.json

saving work

* Update english_medical.json

added nearly 500 medical words

* Update english_medical.json

fixed a few duplicates

* Update english_medical.json

fixed some more duplicates

* Update english_medical.json

fixed typo

* Update english_medical.json

fixed duplicates again; added two new words (cerebellum and brain stem)

* Added some more words

more to come

* added more

keeping em coming

* Update english_medical.json

* Update english_medical.json

* Update english_medical.json

* Update english_medical.json

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-26 12:14:38 +01:00
myakinx fd4f1e51e4
fix(language): Update turkish_5k.json (myakinx) (#5100)
* Update turkish_5k.json

Changed Words: 
“mahallesi” to “mahalle”
“sıralarında” to “sıra”
“geçmişi” to “geçmiş”
“standı” to “stand “
“tahminler” to “tahmin”
“dinle” to “dinlemek”
“kısaltmalar” to “kısaltma”
“aminoasit” to “amino asit”
“geldi” to “gelmek”
“fotojeni” to fotojenik”
“jonglör” deleted because it was not included in the Turkish Dictionary.
“numarası” to “numara”
“onanması” to “onanma“
“prospektüsü” to “prospektüs”
“molekülü” to “moleküllü”
“düştü” to“düşmek”
“işareti” to “işaret”
“toplamı” to “toplam”
“vardır” to “var”
“süblimasyon” to “süblimleşme”
“aralığı” to “aralık”
“yakalandı” to “yakalanmak”
“kyanit”  deleted because it was not included in the Turkish Dictionary.

* Update turkish_5k.json

* Update turkish_5k.json
2024-02-22 23:01:10 +01:00
Miodec 3e591635e5 refactor: pretty fix 2024-02-22 13:07:28 +01:00
Nipul Mallikarachchi bebd11a35e
impr(quotes): add JavaScript quote (NipulM) (#5099) 2024-02-22 11:54:16 +01:00
Nipul Mallikarachchi 9017312a95
impr(quotes): add 3 english quotes (NipulM) (#5098) 2024-02-22 11:53:50 +01:00
Jack 8f6bfbb708
build: replace webpack with vite (#5096) 2024-02-22 02:24:20 +01:00
Exploration c29220323b
feat(theme): add macroblank theme (TheExploration) (#5088) 2024-02-21 13:42:33 +01:00
Denis Alex 6ef08d4707
impr(quotes): add Spanish quotes (devdenisalex) (#5094)
* Update spanish.json

* Update spanish.json
2024-02-21 12:51:06 +01:00
Christian Fehmer edd535c700
fix: leaderboard tables having different column width (fehmer) (#5091)
* fix: leaderboard tables having different column width

* up the date width a bit

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-21 12:50:12 +01:00
Christian Fehmer a1f883b99f
feat: add copy missed words to result screen (fehmer) (#5086)
* feat: Add copy missed words to result screen

* remove margin

* update icons

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-02-19 14:57:20 +01:00
Andrey Kuznetsov 67881cace8
fix(language): typos in russian_10k.json (kae) (#5082)
* Update russian_10k.json

- fixed typos
- removed duplicates

* - fixed extra typos

* remove duplicates

* fix(language): typos in russian_10k.json
2024-02-19 14:53:13 +01:00
Christian Fehmer bac837d823
fix: use selected typing speed unit on personal best popup (fehmer) (#5070)
* fix: Use selected typing speed unit on personal best popup

* refactor

* refactor

* test coverage

* use Format in more places

* Make config mockable

* dependency injection

* wip

* fix

* test

* touch
2024-02-19 14:46:02 +01:00
Miodec 0cc1e2a07e fix(language): remove some unnecessarily capitalised words in german 1k 2024-02-19 12:50:13 +01:00
github-actions[bot] fc925a7e55
refactor: run prettier (#5077)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-18 01:52:41 +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
penguin-teal 8fd3889dc8
impr(quote): add Code C quotes (penguin-teal) (#5053) 2024-02-15 21:26:11 +01:00
Miodec 83d935709b chore: add note about dark mode extensions 2024-02-14 23:47:08 +01:00
mokshsinghji 24975e5d01
fix: pressing space too early with the dark note theme doesnt highlight the word as incorrect (mokshsinghji) (#5052) 2024-02-14 12:41:42 +01:00
Denis Alex 933df63ecc
feat(theme): Added tangerine theme (devdenisalex) (#5047)
* Create tangerine.css

* Update _list.json

* Update _list.json

* Update tangerine.css

* Update tangerine.css

* Update tangerine.css

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-14 12:09:59 +01:00
Jack 381bdb826d
refactor: settings groups (#5049)
* update function name

* update function name

* using data properties instead of classes

* using data property

* regex goes brrrrrrr

* button not .button

* fix sliders loading incorrectly and numbers missing

* regex missed this one

* and this one

* using button instead of .button

* use button element

* regex goes brrr once morrrrrr

* remove testing code
2024-02-13 18:22:58 +01:00
Jack 8f7b82b9d9
Revert "feat(theme): add tangerine theme (devdenisalex) (#5045)" (#5046)
This reverts commit cbc8930e85.
2024-02-13 13:13:14 +01:00
Denis Alex cbc8930e85
feat(theme): add tangerine theme (devdenisalex) (#5045)
* Create tangerine.css

* Update _list.json

* Update _list.json

* Update tangerine.css

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-02-13 13:12:38 +01:00
Miodec c445a46b15 fix: add missing button to the settings page
also fixes incorrect modes notice with certain config combinations
2024-02-13 12:29:53 +01:00
Miodec dbc5898e49 chore: quote lengths script 2024-02-12 13:34:13 +01:00
Miodec 71a60f786d fix(quotes): quote reports 2024-02-12 13:32:47 +01:00
Dmitry bfdc436eae
fix(quotes): double quote characters in belarusian quotes (#5038)
* Update belarusian.json

* Update belarusian_lacinka.json
2024-02-12 12:55:23 +01:00
Dmitry 19dedd0667
impr(language): add Belarusian 5k, 10k, 25k, 50k, 100k (#5037)
* Added Belarusian 5k, 10k, 25k, 50k,100k files

* Update _groups.json

* Update _list.json
2024-02-12 12:54:45 +01:00