Commit graph

155 commits

Author SHA1 Message Date
Miodec 69b02569ee added button to the result page that allows you to update tags for the result
only shows up if user has tags
closes #3642
2022-10-13 21:00:50 +02:00
Miodec 9c388c3d37 restructured the custom text popup 2022-10-13 20:02:10 +02:00
Miodec aab38105e8 added code to detect when the user is online or offline 2022-10-13 14:26:29 +02:00
Miodec 42f559d5c6 moved service worker code 2022-10-13 14:25:14 +02:00
Miodec 3f50619fd9 specifying element 2022-10-11 13:42:35 +02:00
Miodec 908b215a58 updated description 2022-10-10 20:18:23 +02:00
Miodec c50585b4a0 mentioning shift enter 2022-10-10 20:16:47 +02:00
Miodec 944028cdd5 added option to replace new lines with spaces
closes #3630
2022-10-10 18:50:21 +02:00
Miodec c9d357cf82 empty default structure 2022-10-09 01:12:30 +02:00
Miodec a3c9914505 disabled caching for the index file 2022-10-09 00:01:52 +02:00
Miodec 7dc26e5962 using div instead of anchor for non href links
styling text buttons instead of anchors
2022-10-08 23:48:31 +02:00
Miodec d15f9a8adb using div instead of anchor for non href links 2022-10-08 23:46:16 +02:00
Miodec 4be2e9bae1 more descriptive link text 2022-10-08 23:41:08 +02:00
Rizwan Mustafa 9bb778673a
Long Custom Text (#3543) rizwanmustafa miodec
* Create state for storing custom text name

* Save custom text name on click

* Add todo

* add some utility functions to custom-text.ts

* Set custom text name to empty upon modification

* now update the custom text progress in localStorage

* rework logic for updating progress in test-logic.ts

* more logic changes

* Keep progress in mind when starting next test after bailout

* reset test once they complete it and minor refactor

* Now set custom text progress to 0 when it is modified

* Add UI for continuing and change var name

* Reset progress if they start it again

* Move functions

* remove debug log

* replaced simple popup with custom popup

* fixed media query

* also setting opacity to 1

* saving long custom text into a separate object

* fixed incorrect saving function
fixed get custom text names function

* setting to empty object structure first

* long list style fix

* showing long texts
handling delete and progress reset

* renamed file
tracking if custom text is long

* unnecessary comment

* showing a warning that editing will disable progress tracking

* checking if text is long
updating progress

* added notifications

* setting custom text

* showing if progress tracking is working

* showing if progress tracking was disabled

* longer notification

* corrected button text

* joining with space

* checking if name is taken
added indicator

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-04 17:42:52 +02:00
Miodec 433cb696be fixed contact popup not opening on about page mail button click
closes #3616
2022-10-03 13:26:42 +02:00
Miodec 51db47e9d6 moved nocss warning update to its own file
update nocss warning to show bigger clear cache shortcut
2022-09-29 19:45:15 +02:00
Miodec ebeafd9880 added all time lb positions to profiles 2022-09-29 13:08:10 +02:00
Miodec 2920722315 Merge branch 'master' into offline 2022-09-28 13:31:35 +02:00
Miodec 40addbf97f added daily pace caret mode
closes #3564
2022-09-28 13:07:07 +02:00
Miodec 5e6c3880d0 unnecessary closing tag 2022-09-27 22:42:24 +02:00
Miodec 19b7a6ca24 added claim all and delete all buttons to alerts panel
closes #3590
2022-09-27 00:34:05 +02:00
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