Commit graph

1595 commits

Author SHA1 Message Date
Miodec e2b15a1d2a fixed snes 2022-09-06 13:48:17 +02:00
Miodec e60fd05c51 fixed dots 2022-09-06 13:46:38 +02:00
Miodec e523cfb1a7 fixed moonlight 2022-09-06 13:44:52 +02:00
Miodec e9492a42d5 fixed metropolis 2022-09-06 13:38:42 +02:00
Miodec d094a355aa fixed dots 2022-09-06 13:31:00 +02:00
Miodec 9a936390bc fixed invisible buttons 2022-09-06 13:23:16 +02:00
Miodec bec4f0a079 moved words input to the center 2022-09-06 01:06:18 +02:00
Miodec 1b65a0337f only rotating typing test 2022-09-06 00:19:25 +02:00
Miodec c6979cfcc0 not removing invisible class 2022-09-06 00:01:51 +02:00
Miodec 40dd2da6e0 fixed daily leaderboard being cut off slightly 2022-09-05 20:53:04 +02:00
Miodec a378c743d6 optimised alerts popup for narrow screens 2022-09-05 20:45:01 +02:00
Miodec cc9d8731d6 hiding the account button if user is not logged in 2022-09-05 20:44:48 +02:00
Miodec d2443971e9 fixed pages alignment 2022-09-05 15:14:24 +02:00
Miodec ee5c07d10a displaying longest streak on profile 2022-09-05 15:12:24 +02:00
Miodec 4031bc55a6 updating local data 2022-09-05 15:07:29 +02:00
Miodec 949e49cfa2 added maxstreak 2022-09-05 15:05:12 +02:00
Miodec 85dc20e8cd Merge branch 'newnav' 2022-09-05 13:55:09 +02:00
Christian Rudder df28ad6a62
adding dvorak french (#3501) neezacoto
* adding dvorak french

* fixing layout type

* fixed layout

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-05 13:35:57 +02:00
Miodec 2d52e7fd9a removed console logs 2022-09-05 13:14:17 +02:00
Christian Rudder e541fbaf53
fixing wpm and correctedHistory for Korean (#3474) neezacoto
* fixing wpm and correct history for korean

* pretty fix
2022-09-05 13:09:35 +02:00
Christian Rudder 1a9e2c4134
language checks use startsWith() (#3502) neezacoto
* replacing otchecking for languages uses startsWith

* renamed language file to not include decimal places

* replacing remaing underscore characters

* removing language size

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-05 12:26:51 +02:00
typermonkeyuser b08c194c3d
Implement streaks (#3385) typermonkeyuser, bruception, miodec
* Implement streaks

* Improve code

* Update package.json

* Store streak on the user

* Pretty-fix

* Ensure that streak is up to date

* Fix issue in streak calculation

* Revert prettier changes

* Update polish.json

* Update db.ts

* Remove initial calculation

* Write mandatory test

* using strict equality

* moved functions to the utils file

* importing utils

* adding streak to breakdown,
rounding and parsing streak modifier

* renamed variable

* renamed fields

* using correct field name

* added streaks to configuration

* showing streak during xp breakdown

* incrementing streak earlier
checking configuration before applying modifier

* returning streak to the client

* setting local streak with the number returned from the backedn

* only reading streak when updating profile instead of updating

* sending streak information in profile

* only showing streak if greater than 0

* setting to empty if no streak

* renamed config property

* updated streak calculation

* refactored isYesterday

* refactored streak update

* only displaying if streak larger than 1

* merged configuration properties into 1

* added configuration for max streak bonus

* added isToday check back (derp)

* reverted streaks back to multiplier approach

* using better maprange functin

* removed import

* moved test to dal spec

* clamping

* removed imports

* fixed test

* increased coverage

* removed angry console log

* typo

* using date now instead of dates

* mocking date now
awaiting expect

* not using date

Co-authored-by: Anonymous <110769200+fasttyperdog@users.noreply.github.com>
Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-05 12:13:55 +02:00
Miodec 808c34e69b updating sign in out button 2022-09-05 02:08:25 +02:00
Miodec 9c69174b0c adjusted styling 2022-09-04 23:58:18 +02:00
Miodec 81c2e3019f adjusted test config styling 2022-09-04 23:54:33 +02:00
Miodec 2e96202144 fixed icon styling 2022-09-04 23:36:55 +02:00
Miodec 94dce10eca named separator 2022-09-04 23:29:49 +02:00
Miodec d94a1ae812 removing account separator 2022-09-04 23:29:39 +02:00
egorguslyan 6f22eaa1fc
Numbers check (#3507) egorguslyan 2022-09-04 20:10:38 +02:00
Miodec 98e069ae7e different error if status is 503 2022-09-04 20:08:11 +02:00
Miodec 283c2773c5 Merge branch 'master' into newnav 2022-09-04 20:04:08 +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 0da5d196d3 showing error in alert box instead of adding notification 2022-09-04 18:16:19 +02:00
Miodec 1527331c9c Merge branch 'master' into newnav 2022-09-04 17:16:34 +02:00
Miodec 5be476d3e3 clearing webpack console output on rebuild 2022-09-04 17:16:23 +02:00
Miodec 0539c04c00 moving inbox size update to its own function
storing max mail
showing inbox update errors
waiting for inbox update to complete before showing ui confirmation
fixed buttons showing up in wrong moments
showing "nothing to show" messag when all alerts have been deleted
2022-09-04 17:11:55 +02:00
Miodec 285198bf2d Merge branch 'master' into newnav 2022-09-04 16:08:49 +02:00
Miodec 45576c7b9c Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-09-04 16:08:17 +02:00
Miodec 7378078d51 added selection styling 2022-09-04 15:18:22 +02:00
Faurazeko d7e99cc4c8
Added some russian quotes, standardized the sequence of fields in json (#3503) Faurazeko
* Update russian.json

* Added some quotes;
* Standardized the sequence of fields (id, source, text, length);

* Update russian.json

* Update russian.json

* Update russian.json
2022-09-04 13:39:10 +02:00
Arban Hossain d81cda686e
add "I am prepared to die" by Nelson Mandela (#3500) arbanhossain 2022-09-04 12:42:04 +02:00
egorguslyan 2e98da7f3f
C rework (#3483) egorguslyan
* C wordlist extension

* C-like syntax

* Fix arduino tab width

* Fix Quake 3 quote

* Public domain C quotes

* IDs

* Quake 3

* Punctuation

* Prettier

* startWith

* css

* prettier

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-04 12:38:20 +02:00
Miodec cd26d0edf3 claiming badges
adding xp after alerts panel was closed
2022-09-03 15:08:38 +02:00
Miodec fcebba7adc added notification event to avoid circular dep 2022-09-03 14:45:23 +02:00
Miodec 0dde0c7493 replaced word 2022-09-02 15:08:17 +02:00
Miodec 1cdc798358 storing alerts
adding claimed xp reward to local snapshot
handling mark as read button click
2022-09-02 14:34:13 +02:00
Miodec d0aa156f5f allowing adding xp without a breakdown 2022-09-02 14:32:52 +02:00
Miodec c7858ef7b2 hiding delete button if there are rewards to claim 2022-09-02 13:31:37 +02:00
Miodec fed91710d6 marking as read and deleting when closing the alerts panel 2022-09-02 13:18:07 +02:00
Miodec a8dfb539c5 hiding elements earlier before screenshotting and taking measurements 2022-09-02 13:17:44 +02:00
Shashwat Poudel caa502a618
Update code_python (#3486) shashwat-pd
Structural pattern matching has been added in the form of a match statement and case statements of patterns with associated actions in python 3.10. 

Reference: https://docs.python.org/3/whatsnew/3.10.html#pep-634-structural-pattern-matching
2022-09-02 12:07:10 +02:00
Miodec 254a7c08b4 removed unnecessary style 2022-09-02 00:22:44 +02:00
Miodec bbcc0f5b6c Merge branch 'master' into newnav 2022-09-02 00:21:28 +02:00
Miodec 0386dfcee2 fixed zen styling 2022-09-02 00:19:24 +02:00
Miodec 560716b7f9 adjusted logo text alignment 2022-09-02 00:14:49 +02:00
Miodec a7d5da37fe adjusted logo text alignment 2022-09-02 00:11:44 +02:00
Miodec 76ee885a04 account button transition to loading circle is now animated 2022-09-02 00:00:33 +02:00
Miodec 52b6b5429e showing daily leaderboard in the result, not as a notification
closes #3096
2022-09-01 23:31:50 +02:00
Miodec 03cb431135 storing id on element 2022-09-01 22:56:09 +02:00
Miodec f2c4f07a16 only loading if user is logged in
getting and displaying account alerts
closing on escape
2022-09-01 17:45:51 +02:00
Miodec 9ce87cbffb changing bell button color if user has unread mail 2022-09-01 17:45:23 +02:00
Miodec 7b18a44512 added endpoint to update inbox 2022-09-01 17:45:01 +02:00
Miodec a28ac81b2e storing inbox unread size in snapshot 2022-09-01 17:44:47 +02:00
Miodec a01261b88f added separator
added inbox size
renamed sections
2022-09-01 17:43:40 +02:00
Miodec 0fc2397a62 added endpoint to ape 2022-09-01 15:13:48 +02:00
Miodec df64b6eaf7 main color preloader 2022-09-01 15:03:20 +02:00
Miodec 2972f5db52 Merge branch 'master' into newnav 2022-09-01 15:00:28 +02:00
Miodec a0b896eb40 fixed zen mode showing only one line 2022-09-01 14:48:04 +02:00
Miodec 68b97bbb63 hiding test config on the result page 2022-09-01 14:35:03 +02:00
Miodec b5b3854d9e unnecessary function 2022-09-01 14:24:55 +02:00
Miodec fc505af160 adding psas to the alerts panel 2022-09-01 14:23:50 +02:00
Miodec 8055a80ebf adding notifications to the alerts panel 2022-09-01 14:23:43 +02:00
Miodec 8b4c9bca6f added alerts popup 2022-09-01 14:23:28 +02:00
Miodec 30b76cb75b font size input type number 2022-09-01 14:22:50 +02:00
Miodec a9f33c7888 Merge branch 'master' into newnav 2022-09-01 11:49:43 +02:00
Miodec 713f680a76 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-09-01 11:43:54 +02:00
Miodec 33f04bd965 fixed screenshot framing
closes #3447
2022-09-01 11:43:53 +02:00
decaf 453056a83e
show xp until next level on hover (#3484) decafff
Co-authored-by: decaf <decaf>
2022-09-01 11:37:02 +02:00
Nishu Murmu e8de8934d6
fix(commandline): Make esc close the commandline when quick restart is set to esc (#3482) nishu-murmu
* Make esc close the commandline when quick restart is set to esc

* condensed logic

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-01 11:33:37 +02:00
Miodec 6cbfb70df5 filling font size input field 2022-09-01 10:58:05 +02:00
Miodec a8e5e7ae85 only child styling 2022-09-01 10:53:30 +02:00
Miodec 2d01d96ab3 updated styling for test config 2022-08-31 13:57:41 +02:00
Miodec 549adf937c Merge branch 'master' into newnav 2022-08-31 13:35:11 +02:00
Miodec 9819dfbf2d disabling tab when quick restart is set to esc
closes #3481
2022-08-31 12:52:29 +02:00
egorguslyan f87f5467ad
Code SystemVerilog (#3462) egorguslyan
* SystemVerilog Language

* SystemVerilog quotes

Source: https://github.com/Featherweight-IP/fwrisc

* Remove temporary folder

* Lengths are still incorrect

* Fixed lengths

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-31 12:46:27 +02:00
Miodec 237a513153 moved command lower 2022-08-31 01:46:32 +02:00
Miodec 2004d89a78 fixed breakdown only showing punctuation if both punctuation and numbers are enabled 2022-08-31 01:28:01 +02:00
Miodec 20d18e71d4 better spacing 2022-08-30 23:29:04 +02:00
Miodec a2eb6720c5 changed tooltip formatting 2022-08-30 23:23:51 +02:00
Miodec c4d7abb887 removed console log 2022-08-30 23:22:06 +02:00
Miodec 91a73c5a9a showing pbs on account history chart 2022-08-30 23:19:42 +02:00
Miodec de895a1cd2 converted font size to use an input field allowing any font size 2022-08-30 22:34:27 +02:00
Miodec 6e1f2d5bf8 validation no longer accepts NaN as number 2022-08-30 22:18:19 +02:00
Miodec ae5ec20eea fixed vertical alignment 2022-08-30 19:30:45 +02:00
Sat Naing 38a46ebd0e
set ligatures to true and update bcp47 code (#3480) 2022-08-30 19:08:57 +02:00
Miodec 24f1c7c609 Merge branch 'master' into newnav 2022-08-30 15:31:04 +02:00
Miodec cfa08151f6 removed duplicating code
closes #3464
2022-08-30 15:25:47 +02:00
Miodec 5fa48b54d3 updated error message 2022-08-30 15:22:41 +02:00
Miodec 45948de9be reordered lines 2022-08-30 15:22:08 +02:00
Miodec 59fa77fe18 using optional chaining 2022-08-30 15:12:06 +02:00
Miodec f5435ce789 changed name of custom attribute 2022-08-30 15:10:03 +02:00
Miodec 3a055aaae7 using anochor tags instead
closes #3451
2022-08-30 15:07:16 +02:00
Miodec 5e8f1b01a0 allowing user select
closes #3452
2022-08-30 15:04:07 +02:00
Nishu Murmu 9897d4d8bb
fix(commandline): adding toggle functionality for ctrl+shift+p command (#3475) nishu-murmu
* adding toggle functionality for ctrl+shift+p

* prettier, ctrl shift p always works regardless of the quick restart setting

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-08-30 15:01:24 +02:00
Sat Naing 59be665418
add Myanmar(Burmese) language (#3471) satnaing 2022-08-30 14:38:50 +02:00
FarisDaffa 3fbc9ca463
Add words and quotes to indonesian language (#3455) faris0520
* Update indonesian.json

* Update indonesian.json

* Update indonesian.json
2022-08-30 14:32:42 +02:00
Miodec cd1c6aabb6 allowing capitals in custom 2022-08-30 14:18:55 +02:00
Miodec 6d4ec0182b fixed poetry soft locking accounts 2022-08-29 22:53:04 +02:00
Miodec 89f5d8e582 restyled configure api button 2022-08-29 02:24:28 +02:00
Miodec c98da691b7 bell 2022-08-29 02:17:21 +02:00
Miodec 3b40061007 0 padding 2022-08-29 02:17:14 +02:00
Miodec efafc09dec moved xp back to the right 2022-08-29 02:17:08 +02:00
Miodec eedfbdb8a5 removed settigns references 2022-08-29 02:13:30 +02:00
Miodec bd427c0e01 added mobile config button 2022-08-29 02:13:29 +02:00
Miodec 0e25e39dc3 fixed screenshot alignment
fixed screenshot showing test config
2022-08-29 02:13:29 +02:00
Miodec 17e7413c76 fixed alignment 2022-08-29 02:13:29 +02:00
Miodec d45bbbd790 reworked media queries 2022-08-29 02:13:29 +02:00
Miodec b06217b33c removed size transition from logo 2022-08-29 02:13:29 +02:00
Miodec 0813bf287e highlighting level on hover 2022-08-29 02:13:29 +02:00
Miodec 26fb2e3977 fixed extra space on the right side of the menu 2022-08-29 02:13:29 +02:00
Miodec e8839bae17 media queries 2022-08-29 02:13:29 +02:00
Miodec 480ec9d2cb removing horizontal padding 2022-08-29 02:13:29 +02:00
Miodec cf156ccf14 added margin 2022-08-29 02:13:29 +02:00
Miodec d21b0222e6 using button 2022-08-29 02:13:28 +02:00
Miodec 4fb2f81cf1 hidden by default 2022-08-29 02:13:28 +02:00
Miodec 75e232e52e fixed positioning 2022-08-29 02:13:28 +02:00
Miodec 971522e29b fixed puncandnum not fading out 2022-08-29 02:13:28 +02:00
Miodec f9734cb471 test config media query 2022-08-29 02:13:28 +02:00
Miodec e3adb7049a removed console log 2022-08-29 02:13:28 +02:00
Miodec 8268f3e122 hiding spacers when needed 2022-08-29 02:13:28 +02:00
Miodec d8ebc2cde9 unnecessary code 2022-08-29 02:13:28 +02:00
Miodec dd0d1d8e95 changing sign in out icon depending on the account state 2022-08-29 02:13:28 +02:00
Miodec ee1eb8c8aa handling focus 2022-08-29 02:13:28 +02:00
Miodec 9b06f9cba4 removed unnecessary sign out button code 2022-08-29 02:13:28 +02:00
Miodec 3c468ece12 moved xp gain to the left 2022-08-29 02:13:27 +02:00
Miodec d450129234 fixed login page alignment 2022-08-29 02:13:27 +02:00
Miodec 5abf4a14c7 hidden alerts button for now
handling sign out
2022-08-29 02:13:27 +02:00
Miodec f3f1ba4d08 finished fixing the animation 2022-08-29 02:13:27 +02:00
Miodec 708866f144 fixed icon alignment 2022-08-29 02:13:27 +02:00
Miodec 12756e0d08 animating puctuation and numbers 2022-08-29 02:13:27 +02:00
Miodec 39a0a671ea fixed loading page not centered 2022-08-29 02:13:27 +02:00
Miodec b7e1436575 reverted to a grouped approach
showing custom text change
handling custom word amount
showing active words, quotelength numbers and puctuation
2022-08-29 02:13:27 +02:00
Miodec d7dcaf0533 enabling and disabling punctuation and numbers buttons as needed 2022-08-29 02:13:27 +02:00
Miodec db65d9d257 removed element update 2022-08-29 02:13:27 +02:00
Miodec a18774878f moved element update to test config instead of config 2022-08-29 02:13:27 +02:00
Miodec 0ed2e89f6d default config is active 2022-08-29 02:13:26 +02:00
Miodec e93e03aad3 handing time change 2022-08-29 02:13:26 +02:00
Miodec e60e86f4ba handling mode change, custom time 2022-08-29 02:13:26 +02:00
Miodec c993ed35f1 initial preview, no functionality 2022-08-29 02:13:26 +02:00
Miodec 2d04bef552 stopping breakdown quicker 2022-08-29 02:09:40 +02:00