Commit graph

7905 commits

Author SHA1 Message Date
Miodec
7328f74633 adjusted dots theme
closes #3523
2022-09-07 12:15:45 +02:00
Miodec
6e8037ecbd fixed a ui issue where the claimed xp would not show if alert mail was marked as read and deleted 2022-09-07 12:05:03 +02:00
Miodec
1a47e6b799 not allowing user to retry saving result in certain cases 2022-09-06 17:11:08 +02:00
Miodec
9e7e0fc6ff checking if inventory is undefined 2022-09-06 17:02:35 +02:00
Miodec
fada34500d fixed users being unable to claim their rewards 2022-09-06 16:57:54 +02:00
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
1c82d85662 not sending awards if maxXpReward is 0 2022-09-05 15:16:50 +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
Miodec
d461255be1 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-09-05 12:17:59 +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
de251d0741 checking if xp is nan 2022-09-05 02:19:21 +02:00
Miodec
808c34e69b updating sign in out button 2022-09-05 02:08:25 +02:00
Bruce Berrios
20a5cac5e6
Reward daily leaderboards and refactor mail API (#3508) Bruception
* Reward daily leaderboards and refactor mail API

* Reorder

* Change mail template
2022-09-04 23:58:46 +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
Miodec
2a7b6a874c updated message 2022-09-04 20:18:27 +02:00
Miodec
93ab0c6116 not using template 2022-09-04 20:16:01 +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
86371ae432 only sending inbox data if inbox is enabled 2022-09-04 20:06:05 +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
18f9785e04 sending to inbox if user got banned 2022-09-04 20:03:27 +02:00
Miodec
002d007f1f returning if user got banned 2022-09-04 20:03:09 +02:00
Miodec
2f21bff1a2 fixed corrected everything bonus being applied too often 2022-09-04 18:22:24 +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