Commit graph

134 commits

Author SHA1 Message Date
Bruce Berrios
e6a8747d41
yyyriyriy ppp[i6riy (#3603) Bruception
* Add new synth click sounds

* Use key codes instead

* Fix Sound preview

* Check for caps lock

* Add new quote - imperial march
2022-09-26 10:41:31 +02:00
Jack
409f0a83e4
Get profile by name (#3585)
* handling query param
getting user by name if query param is present

* added function to get user by name

* split profile function to get user by uid or name

* added  function to check if get parameter exists in url

* updating the profile based on the url parameter

* using query param in url

* using get param

* renamed param name
adding search param to pathname in the deafult parameter value

* renamed param

* renamed param
added query validation

* extracted repeated query to a function

* missing await

* fixed typo
fixed validation

* using em for dynamic font sizes

* using em for dynamic font sizes

* added line height

* using em

* using em

* using page profile search instead

* updated the way data is passed into the page

* profile search page

* setting line height

* removed vertical align

* moved navigate to an event to avoid circular deps

* fixed route controller not being included

* removed unnecessary test

* showing 404 error

* improved query checking

* renamed query param

* fixed test

* note

* yeet

* cleaner type definition
2022-09-22 17:45:57 +02:00
Miodec
6cf347eaca registering now requires a captcha 2022-09-22 12:57:42 +02:00
Miodec
7dff50dc30 added histogram to the account page 2022-09-12 14:24:56 +02:00
Miodec
34e5174609 changed punctuation and numbers icons 2022-09-12 11:06:51 +02:00
Miodec
6799a78250 notification bubble defaults to off 2022-09-10 10:56:59 +02:00
Miodec
483beaaabf disabling dark reader 2022-09-09 00:10:59 +02:00
Miodec
2fa5dd0fef showing notification bubble on bell icon instead of setting the whole icon active
closes #3513
2022-09-08 22:23:18 +02:00
Christian Rudder
5912670eab
creating korean keymap (#3456) neezacoto 2022-09-08 14:05:49 +02:00
Miodec
a378c743d6 optimised alerts popup for narrow screens 2022-09-05 20:45:01 +02:00
Miodec
ee5c07d10a displaying longest streak on profile 2022-09-05 15:12:24 +02:00
Miodec
85dc20e8cd Merge branch 'newnav' 2022-09-05 13:55:09 +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
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
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
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
a01261b88f added separator
added inbox size
renamed sections
2022-09-01 17:43:40 +02:00
Miodec
b5b3854d9e unnecessary function 2022-09-01 14:24:55 +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
decaf
453056a83e
show xp until next level on hover (#3484) decafff
Co-authored-by: decaf <decaf>
2022-09-01 11:37:02 +02:00
Miodec
549adf937c Merge branch 'master' into newnav 2022-08-31 13:35:11 +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
24f1c7c609 Merge branch 'master' into newnav 2022-08-30 15:31:04 +02:00
Miodec
f5435ce789 changed name of custom attribute 2022-08-30 15:10:03 +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
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
480ec9d2cb removing horizontal padding 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
dd0d1d8e95 changing sign in out icon depending on the account state 2022-08-29 02:13:28 +02:00
Miodec
5abf4a14c7 hidden alerts button for now
handling sign out
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
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
0ed2e89f6d default config is active 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
e1ef545ee1 added xp breakdown element 2022-08-29 01:34:21 +02:00
Miodec
3d9040ba10 removed das 2022-08-26 12:55:45 +02:00
Miodec
2a50e0d5af changed the behaviour of show yesterday button
closes #3391
2022-08-22 15:44:20 +02:00