Commit graph

180 commits

Author SHA1 Message Date
Miodec edad8a9780 moved links to bottom of body 2023-01-16 15:26:02 +01:00
Miodec 5d5791a865 lazy loading css to improve initial page load 2023-01-16 15:25:50 +01:00
Miodec 99e1b916d7 using div instead of anchor 2023-01-16 12:21:31 +01:00
Miodec 4874aa7f17 more seo with h2 2023-01-16 12:17:49 +01:00
Miodec 0f636861da removed more h1 tags 2023-01-16 03:03:09 +01:00
Miodec 90d42d0096 not overusing h1 to help seo (maybe?) 2023-01-16 02:06:44 +01:00
Miodec a10ae7856f seo 2023-01-16 01:53:55 +01:00
Miodec 1dc0b8fded updated name and description 2023-01-16 01:28:04 +01:00
Miodec f3c7a2e4bd storing default theme colors in the head in case theme file failed to load 2023-01-14 01:02:48 +01:00
Miodec adf47214db added option to report users 2023-01-09 18:20:56 +01:00
Miodec 1c6ee5d172 moved large livewpm below restart button
closes #3806
2023-01-07 19:19:29 +01:00
Andrew Chang d50cb69d1d
Ignore modifier keys for test autofocus (fixed modtap issues with via and qmk) (#3837) andrewchang
* Apply debounce on restart test focus state

* Replace sleep and ignore modifier keys for test autofocus

* Update autofocus warning text

Co-authored-by: Andrew Chang <achang3@atlassian.com>
2023-01-06 13:37:35 +01:00
Miodec a99d524705 changed property name 2023-01-05 15:13:33 +01:00
Bruce Berrios e8e377ff62
House keeping (#3867) bruception
* Add comment for blind mode

* Maybe fix on failure job
2023-01-04 14:48:33 +01:00
Miodec 15a8dba11a fixed level balloon not working on public profiles 2023-01-04 13:53:35 +01:00
Miodec 5d040ae8a0 also clearing cache after uninstalling the service worker 2022-12-01 20:19:03 +01:00
Miodec 351f1995bf hopefully added a solution to fix the page not loading 2022-11-30 18:49:04 +01:00
Miodec 6f5a8f2ee4 using nbsp instead of margin-right to avoid prettier yoinking spaces 2022-11-28 17:43:49 +01:00
Nat Zimmermann 634081c7ca
add spacing between sentences (#3779) 2022-11-28 17:27:13 +01:00
Miodec 96229f0144 added estimated total words typed 2022-11-10 15:12:41 +01:00
Miodec f72c3a6702 added a state token to make sure we only link to the user that started the oauth2 flow 2022-11-09 15:44:31 +01:00
Prajwal Raj Basnet a8b4fa348b
Hide favourite quote button for unauthenticated user (#3709) Prajwalrajbasnet
* Hide favourite quote button for unauthenticated user

* pretty fix

* hiding favorite button a bit later

* hiding favorite button by default
removed unnecessary auth import

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-31 14:49:25 +01:00
Brian Evans cffa7514ea
Save speed stats in leaderboard update (#3652) mrbrianevans
* Save speed stats in leaderboard update

Saves a histogram data structure of speeds for buckets rounded to the nearest 10.

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* API endpoint to get public speed stats

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add APE class for public stats (WIP)

I created an APE class for accessing public stats. Also stubbed getting and showing the public speed stats on the about page. Haven't implemented the histogram yet though.

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Draw histogram for global speed stats

On about page

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Update histogram colors on theme change

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Fixed out-of-order data in speed histogram

 Data was not sorted correctly, which resulted in an incorrect histogram being drawn.

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Public speed stats PR fixes

Small fixes based on PR feedback:
 - changed _req to req
 - removed unnecessary client version header

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add endpoint for typing stats

New endpoint to retrieve the public typing stats such as global count of tests completed.

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Renamed public-stats to public

Except in cases where it would cause an identifier named `public` as this is forbidden in strict mode.

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add stats section to about page

In this commit:
 - add a section above about called stats
 - display typing stats in three columns
 - underneath show the histogram of speeds on english time 60
 - make chart responsive

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add unit test for Public DAL

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* updated styling

* only requesting data once per session

* going one column on narrow screens

* added option to specify number of decimal poitns

* just showing million instead of abbreviating
updated structure
updated styling

Signed-off-by: Brian Evans <ebrian101@gmail.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-18 15:45:45 +02:00
Miodec 0b5e312897 added option to add or not add periods when replacing new lines with spaces
closes #3660
2022-10-17 16:13:58 +02:00
Miodec 26487a2366 added pb filter 2022-10-17 13:51:48 +02:00
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