Commit graph

2530 commits

Author SHA1 Message Date
github-actions[bot] 2577d44b3d
Prettier fix (#4087)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-03-18 16:22:27 -05:00
Miodec 7aa0214af5 Merge branch 'master' into newads 2023-03-17 12:10:31 +01:00
Miodec d0ee9502e1 showing mistake count when hovering over the accuracy number 2023-03-17 12:07:05 +01:00
Albert 9ade1138c8
Fix pb line (#4078) albertying
* Fix pb line

* Remove comment

* Refactor to remove rebundant code
2023-03-17 11:46:47 +01:00
Miodec 9d5f8e3559 new refresh logic 2023-03-16 22:52:07 +01:00
Miodec a1d00416c3 Merge branch 'master' into newads 2023-03-16 15:39:29 +01:00
Miodec a04768bbfa temporary account history graph fix 2023-03-16 15:39:19 +01:00
Miodec 3fb761d3ee loggign ad provider to prometheus 2023-03-16 14:43:54 +01:00
Miodec e97db0cb5a Merge branch 'master' into newads 2023-03-16 14:36:53 +01:00
Miodec 29cdae85d5 quote reports 2023-03-16 13:16:21 +01:00
Miodec 6173933972 fixed short cutom texts not working correctly with plus n funboxes 2023-03-16 13:07:49 +01:00
Albert 7ed088a13e
Account graph (#4049) albertying
* Create graph with ao10, ao100, and pb

* Display best ao10 and 100

* Fix ts errors

* Remove old graph

* Remove smoothing slider and toggle chart style button

* Clean up code

* Populate graph if chartData > 0

* Fix filter not displaying data correctly

* Fix wpm cpm labels

* Update colors using theme colors

* brought back accuracy averages

* different colors

* Add toggle ao10 and ao100

* Change opacity based on toggles

* Persist on refresh

* Fix accountActivity chart point color not updating when changing theme in the command line

* Refactor

* Keep pb color consistent

* removed dot

* smaller buttons, in one row, media queries

* hiding bottom scale

* connected the config properties into 1

* Refactor

* Combine into one loop

* cleanup
removed unused functions
reduced repeating code
removed comments
removed console logs

* removed highest avg 10 and 100 stats

* sweep

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-16 12:57:47 +01:00
Rob Sassack 239c43f240
Added plus three funbox (#4076) robsassack 2023-03-16 12:55:36 +01:00
__filename 222e508e21
chore(keymap): added mongolian keymap (#4075) filename24
* chore(keymap): added mongolian keymap

* fix(keymap): removed duplace keymap
2023-03-15 16:35:08 +01:00
IndigoWilke a2c66245a4
Added swedish with words all containing å, ä or ö. (#4072) IndigoWilke
* Added swedish with words all containing å, ä or ö.

* Changed name of lanugage to swedish_diacritics
2023-03-15 16:34:30 +01:00
Albert a56b2fc131
Change spelling of neighbouring to neighboring (#4074) albertying
* Change spelling of neighbouring to neighboring

* Add neighbouring to british english
2023-03-15 11:04:43 +01:00
Miodec abf5081a6a updated one thai layout 2023-03-14 15:45:14 +01:00
Ed c2f94f234f
Added 3 quotes to spanish.json (#4068) EDUJOS 2023-03-14 13:06:47 +01:00
Miodec d518f8f89e fixed local 'tests started' stat being wrong 2023-03-14 12:13:14 +01:00
Miodec 1545960215 applying burst heatmap when changing theme 2023-03-14 12:00:36 +01:00
Miodec 3363eaef50 added function to destroy all
destroying all on leaving result page
changed render result code
2023-03-13 21:32:12 +01:00
Miodec 504859671f ad result change 2023-03-13 21:06:49 +01:00
Miodec a39abdc709 Merge branch 'master' into newads 2023-03-13 14:29:30 +01:00
Miodec c8f2d25364 added custom layoutfluid timer countdown 2023-03-13 14:15:18 +01:00
Miodec aafbfce74e fixed zipf notification not showing
closes #4067
2023-03-13 13:58:54 +01:00
Miodec 07ef4fe243 moved update words height before update active element
moved update caret position outside the words height function
closes #4064
2023-03-13 13:56:24 +01:00
Miodec a193fad107 Merge branch 'master' into newads 2023-03-13 13:35:17 +01:00
Miodec 3e233d9bd9 fixed custom theme editing saving colors in the wrong order 2023-03-13 13:34:48 +01:00
Ryan Bigg 9378d269ee
Correct 'Two Little Words' quote (#4066) radar 2023-03-13 13:29:07 +01:00
QuevDev d6749c38f4
Added 6 quotes to english.json (#4065) quev-dev 2023-03-13 13:26:32 +01:00
Miodec 759d9f727e fixed share custom theme not sharing colors in the right order 2023-03-13 12:33:17 +01:00
Miodec 62205b8548 mixed dracula bubbles being wrong 2023-03-13 12:26:10 +01:00
Miodec c4922c9030 Merge branch 'master' into newads 2023-03-10 16:07:14 +01:00
Miodec 00646da6fe removed single quotes from slovak punctuation 2023-03-10 16:06:58 +01:00
Miodec c70567e9b1 using different colors if main and text are the same
closes #4060
2023-03-10 14:25:11 +01:00
Miodec 104170c295 updated dracula theme to avoid using the same color for main and text 2023-03-10 14:25:11 +01:00
Nolan 108fefd481
added cherry blossom theme (#4057) mushytoast
* Create cherry_blossom.css

* Update _list.json

* updated sub alt color

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-10 14:22:42 +01:00
lelazsq cd16b2fbf5
add maya and nila layouts (#4059) lelazsq 2023-03-10 14:20:48 +01:00
Dainternetdude 5b0cd44d5f
add three quotes to english (#4062) dainternetdude 2023-03-10 14:17:27 +01:00
Dainternetdude e2475645fd
remove "tion" from english 10k (#4058) 2023-03-09 14:51:58 -06:00
Miodec b46fa16785 customizable opacity 2023-03-09 15:29:28 +01:00
Miodec 414ea1db43 Merge branch 'master' into newads 2023-03-09 13:18:49 +01:00
Miodec 438a1e5ac7 fixed plus n funboxes breaking custom text shorter than n+1 words 2023-03-09 13:14:34 +01:00
Miodec d239c8b12f quote reports 2023-03-09 12:56:50 +01:00
Miodec fdbd5b1b84 removed some old code that was stopping test restarts with quick restart disabled 2023-03-09 12:38:59 +01:00
Miodec 6ad52aa347 fixed custom theme colors being saved in the wrong order 2023-03-09 12:24:43 +01:00
Miodec a619c0410b scrolling window to the top when taking a screenshot 2023-03-09 12:17:03 +01:00
Miodec d8344672eb removed console log 2023-03-09 12:04:02 +01:00
Nolan 8b21be4326
Update code_luau.json (#4054) MushyToast 2023-03-09 11:30:52 +01:00
Miodec b3391135ce cookie check 2023-03-09 00:29:11 +01:00
Miodec a941c287d5 removed console log 2023-03-09 00:18:52 +01:00
Miodec dea501b7ec Merge branch 'master' into newads 2023-03-08 15:49:49 +01:00
Miodec af2677a338 closing result tags popup with escape 2023-03-08 15:49:23 +01:00
Miodec 6a6d475e51 dynamically blending colors for the heatmap
fixes #1613
2023-03-08 15:44:40 +01:00
Miodec e1ab1b676c updated logic to avoid double update on test restart 2023-03-08 14:07:08 +01:00
Miodec 06d797bd99 moved words input outside words wrapper to avoid weird graphical glitches 2023-03-08 14:07:08 +01:00
Miodec 0916fa9436 updating words input position on font size change 2023-03-08 14:07:08 +01:00
Miodec 8e39ee1041 when using practice words, not remembering custom mode 2023-03-08 14:07:08 +01:00
Boris Gubanov ba8078583c
Update russian.json (#4053) boris-gu
Corrected the English letter "e" to the Russian letter (line 1663).
2023-03-08 13:22:38 +01:00
Nolan f72509cdae
Update code_lua.json (#4052) MushyToast 2023-03-08 13:19:04 +01:00
Miodec 7ffcd7f918 when using practice words, not remembering custom mode 2023-03-08 12:59:23 +01:00
Miodec 73152a2d60 Merge branch 'master' into newads 2023-03-07 21:51:29 +01:00
Miodec 2d45dc4283 added special cases for tape mode and initial call with the right langauge 2023-03-07 21:50:49 +01:00
Miodec fc91e48692 reworked this a bit 2023-03-07 21:42:19 +01:00
Miodec 26c9fcbc38 line jump doesnt actually need to call this 2023-03-07 21:13:20 +01:00
Miodec 2e284e364e no sleep needed 2023-03-07 21:10:33 +01:00
Miodec 41b71fbf21 missing parameter 2023-03-07 21:10:01 +01:00
Miodec 4e9c432c64 moved funciton call 2023-03-07 21:06:44 +01:00
Miodec 6a587ede8d reverted the sleep and checking tape mode instead 2023-03-07 21:02:26 +01:00
Miodec 88bf436baa added sleep 2023-03-07 20:47:27 +01:00
Miodec 7a3e84c0f6 actually fixed tape mode 2023-03-07 20:30:10 +01:00
Miodec d7503339d0 Merge branch 'master' into newads 2023-03-07 20:22:22 +01:00
Miodec a336bda8eb moving the words input to the 2nd line instead of center of the words wrapper 2023-03-07 20:15:34 +01:00
Miodec de0ea5e288 fixed broken tape mode 2023-03-07 19:59:44 +01:00
Miodec 967d111ab3 added sleep back in (turns out it was needed) 2023-03-07 19:55:01 +01:00
Miodec e0ee312f22 Merge branch 'master' into newads 2023-03-07 19:03:30 +01:00
Miodec 8f05221507 enabled smooth scroll in css 2023-03-07 18:56:27 +01:00
Miodec f4dd3799d3 placing the words input in the center 2023-03-07 18:54:57 +01:00
Miodec 07ab45d167 disabled autoscroll 2023-03-07 18:54:43 +01:00
Miodec 9f9ac13764 adjusting if lines is less than 3 2023-03-07 18:30:52 +01:00
Miodec 2d56f2d1f2 not exporting for no reason 2023-03-07 16:29:07 +01:00
Miodec 26cc834a31 moved function to config listener to get rid of an import 2023-03-07 16:28:43 +01:00
Miodec 4d73c306d4 dynamically adjusting words and words wrapper height in custom mode
closes #3805
2023-03-07 16:24:59 +01:00
Miodec d5165f137c updating words input position each time user moves to the next word to move the IME suggestion box
only shows up in japanese, korean and chinese languages for now (not sure which other languages use this)
closes #4022
2023-03-07 15:08:04 +01:00
Miodec 31b1474a47 moved words input inside words wrapper 2023-03-07 14:57:37 +01:00
hanabo-mk 98de529b94
Added new German quotes (#4048) hanabo-mk
* Added new quotes.

* Fixed lengths and IDs

* Fixed lengths AGAIN

* Fixed lengths one more time
2023-03-06 18:52:03 +01:00
Miodec 7a4fe1d14d console logging choice 2023-03-06 18:45:43 +01:00
Miodec 1e8542d569 changed to btf 2023-03-06 17:25:50 +01:00
Miodec c32005ac2b Merge branch 'master' into newads 2023-03-06 17:25:09 +01:00
Miodec 8761b59d2f fixed scroll to top button not working on all pages 2023-03-06 15:52:38 +01:00
Miodec a0d7af31d8 changed label style 2023-03-06 15:21:27 +01:00
Miodec 08e16c03da reordered inputs 2023-03-06 15:20:06 +01:00
Miodec 305eb3727d Merge branch 'master' into newads 2023-03-06 12:59:57 +01:00
Miodec 7cca38c245 not showing caret after resize if the input field is not focused 2023-03-06 12:58:08 +01:00
Miodec 1cf04ec696 fixed caret not reappearing after window resize is over
closes #4046
2023-03-06 12:57:49 +01:00
Miodec 5ea12e7170 quote lengths 2023-03-06 12:33:28 +01:00
Miodec 02a958993e quote reports 2023-03-06 12:33:06 +01:00
Evan 93da5012ed
organize imports to remove duplicate imports (#4042) ferotiq 2023-03-06 11:38:38 +01:00
Anton Kesy 4a843d885a
prettify language json (#4044) antonkesy
* remove empty lines in json

* move json separator to end of line

* Revert "move json separator to end of line"

This reverts commit 4a1437b55e.
2023-03-06 11:38:21 +01:00
GalileoBlues d425838f33
fix gallium punctuation (#4043)
* Add layouts gallium and angle variant

* fix punctuation on gallium
2023-03-05 15:36:41 -06:00
Miodec b6f196cc27 allowing escape to close the mini result graph popup 2023-03-04 16:40:29 +01:00
Miodec 5809d55fac allowing escape to close the mini result graph popup 2023-03-04 16:40:12 +01:00
Miodec 4bc9239238 Merge branch 'master' into newads 2023-03-04 12:03:29 +01:00
Miodec a6464d8067 fixed tag pbs with no funboxes not showing up 2023-03-04 12:03:14 +01:00
Miodec e64da7caab Merge branch 'master' into newads 2023-03-03 19:55:09 +01:00
Miodec 2044a839f0 using same code for both sides 2023-03-03 19:55:02 +01:00
Miodec 88b02d51fb showing consent popup 2023-03-03 19:49:26 +01:00
Miodec fb9f74f8ea added section about data that is not collected as per user request 2023-03-03 15:22:43 +01:00
Miodec 1157f1e7c0 showing consent in both ad controllers 2023-03-03 12:57:30 +01:00
Miodec ce82379dce fixed not being able to view cookie popup 2023-03-03 12:52:02 +01:00
Miodec 8d140bed0f added small versions to all units 2023-03-03 12:33:34 +01:00
Miodec b93ed1670b removed comments 2023-03-03 12:12:09 +01:00
Miodec 522347eaf9 Merge branch 'master' into newads 2023-03-03 12:10:53 +01:00
SauceyRed 11d768e89e
Added 12 quotes to english.json - 6771-6782 (#4039) Saucy Red
* Added 12 quotes to english.json

* Fixed IDs in english.json
2023-03-03 12:10:10 +01:00
Miodec 071e825c49 Merge branch 'master' into newads 2023-03-02 13:45:56 +01:00
Miodec 25bf28e886 removed test-active file
merged functionality into test-state
2023-03-02 13:45:20 +01:00
Miodec 97582e2a59 not saving last result if the user signed out manually this session 2023-03-02 12:41:51 +01:00
GalileoBlues f55ad9d22a
Add layouts gallium and angle variant (#4038) GalileoBlues 2023-03-02 12:36:33 +01:00
Miodec b66504be72 not saving last result if the user signed out manually this session 2023-03-02 12:35:32 +01:00
Albert 6aef311a9c
Remove comma (#4037) 2023-03-01 20:19:29 -06:00
Miodec 1ad2d1e3c2 removed timed refresh 2023-03-01 12:03:03 +01:00
Miodec 373df2af16 Merge branch 'master' into newads 2023-03-01 11:09:21 +01:00
Decipher-CS 0e286bc436
added one new quote in English (#4034) Decipher-CS
* added english quote

* fixed the wrong increment. Should have been +1.

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-01 10:48:44 +01:00
Dainternetdude 9131cebdf5
Add one quote to English (#4033) Dainternetdude
* add sturdy ortho keyboard layout

* remove random extra double quote

oops lmao

* move sturdy ortho to be with the rest of the sturdy family

* add one quote to english

* use the full title of the book
2023-03-01 10:47:05 +01:00
trevdev 9966550969
Breeze Theme (#4032) trevorwrightdev
* added 'breeze' theme

* added -example firebase config back in

* added 2077 theme

* made 2077 theme background less bright.

* made 2077 theme better

* added breeze theme

* softer sub alt color

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-03-01 10:45:33 +01:00
Miodec 1501b28f2c better visible check 2023-03-01 00:07:52 +01:00
Miodec a98d658fe9 checking if element is visible 2023-02-28 23:48:27 +01:00
Miodec ffd3a96477 Merge branch 'master' into newads 2023-02-28 18:36:38 +01:00
Miodec 06a1f2354b fixed tag pbs not working 2023-02-28 18:36:19 +01:00
Miodec bb8b95c4f2 added 2nd breakpoint
removed sky check
not refreshing if nothing is visible
2023-02-28 13:15:04 +01:00
Miodec 54d886ea9e Merge branch 'master' into newads 2023-02-28 13:02:27 +01:00
Miodec f9833ddf3b fixed all filters button not actually selecting all filters 2023-02-28 13:01:46 +01:00
Miodec 2637094c5c fixed tags always showing as pb 2023-02-28 12:51:42 +01:00
Miodec e2ef89bc7e quote lengths 2023-02-28 12:35:00 +01:00
Miodec 0fafcaa493 reports 2023-02-28 12:34:50 +01:00
Miodec af1535d723 updated icon 2023-02-26 20:54:55 +01:00
Miodec 2dba491499 updated badge 2023-02-26 20:53:42 +01:00
Miodec d716287479 added mythical badge 2023-02-26 20:47:41 +01:00
Miodec 62757918df increased debounce time 2023-02-26 14:49:37 +01:00
Miodec a3a72ae58f destroying sky units on breakpoint
only showing units which are visible
2023-02-26 14:49:28 +01:00
Miodec 6b445b1927 Merge branch 'master' into newads 2023-02-26 13:39:55 +01:00
github-actions[bot] 9ae9e75e77
Prettier fix (#4027)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-02-25 19:45:29 -06:00
Jack 56d8c7c9ae
Added ability to opt out of leaderboards (#4016)
* added button to opt out of leaderboards

* also not allowing daily leaderboards

* also not allowing weekly lb

* added lb opt out notice on the leaderboards

* updated message

* resetting lboptout state on account reset
2023-02-25 23:26:06 +01:00
Ocean Chen 52b731d607
Two quotes into code_c (id: 10, id 11). (#4024) Ocean-Ch 2023-02-25 22:34:10 +01:00
Miodec ff1fc38108 added lazy mode to greek 2023-02-25 22:09:32 +01:00
Miodec 05e2d344d3 fixed live burst not working with blind mode (not sure what this was here) 2023-02-25 22:01:13 +01:00
Miodec 60f5427c22 typo 2023-02-25 21:59:18 +01:00
Albert 66c8114dce
Remove leading and trailing spaces in custom popup (#4021) albertying 2023-02-24 10:56:17 +01:00
Miodec 7998b37b41 destroying on test page 2023-02-23 21:04:15 +01:00
Miodec 90a0d3abca fixed logic 2023-02-23 20:53:34 +01:00
Dampfie93 f5e3a020fb
Added quotes 544 - 548 (#4020) Dampfie93 2023-02-23 20:16:16 +01:00
Robert Clover cb7d1ce509
feat: support Emacs/Vim navigation in command line (#4019) clo4
* feat: support ctrl-n/p/j/k in command line

This allows for both emacs and vim style navigation, which is muscle
memory for a lot of people but currently unsupported in the main list
view people use.

Supporting both feels a lot more natural, and makes navigation easier
for people that either don't have arrow keys at all or on their main
layer

* fix comment

* flip conditions to check ctrl first

This is more likely to short circuit faster because ctrl isn't the
common case
2023-02-23 20:15:15 +01:00
Night Cat 3f8e09ba3b
Add Traditional Chinese language (#4017) MHNightCat
* Create traditional_chinese.json

* Add Traditional Chinese

Add Traditional Chinese text

* Wrong name, upload again

Wrong name, upload again

* Update traditional_chinese.json

* Rename traditional_chinese.json to chinese_traditional.json
2023-02-23 20:12:39 +01:00
Miodec f990d8432c sky logic 2023-02-23 19:55:07 +01:00
Miodec 0e164d3492 testing mobile sizes 2023-02-23 19:41:29 +01:00
Miodec 6da48e8d7b changed test page logic 2023-02-23 19:37:59 +01:00
Miodec d2faf78e55 fixed 'on' units 2023-02-23 19:29:50 +01:00
Miodec 1b6b8e4aa6 Merge branch 'master' into newads 2023-02-23 19:27:20 +01:00
Miodec b5a08bd96e fixed the 420 words 10 unlock not working 2023-02-23 19:27:05 +01:00
Miodec c5b4fc6be9 Merge branch 'master' into newads 2023-02-23 14:20:19 +01:00
Miodec 8399cbab11 typo 2023-02-23 14:19:52 +01:00
Miodec a2827dd7f1 fixed logic 2023-02-23 14:16:22 +01:00
Miodec 5183963dc4 missing flags 2023-02-23 14:15:10 +01:00
Miodec d18e930840 showing if language supports zipf or not 2023-02-23 14:10:10 +01:00
Miodec 083d2c80ff added a flag if list supports frequency 2023-02-23 13:55:09 +01:00
Miodec 90f14cd8d6 updated english 10k list 2023-02-23 13:52:58 +01:00
Miodec 76f7d42fc6 added orderedbyrequency property 2023-02-23 13:49:48 +01:00
Miodec 051b181765 testing continued 2023-02-23 13:00:00 +01:00
Miodec ebdb9c9252 added way to force choice
removed adblock and coockie block check for now
2023-02-23 12:59:46 +01:00
Miodec 5ffa0578c7 updated english 10k list 2023-02-22 16:53:52 +01:00
Miodec 070bb45978 pw 2023-02-22 14:09:56 +01:00
Albert 2b8690bf20
Add word filter presets (#4018) albertying
* Add word filter presets

* updated structure and styling

* updated button classes and click handlers

* removed timeouts to fix annoying jumping

* typescript fixes

* renamed function

* converted file to using single object that defines presets

* using spread

* added right hand preset
using spread
added key position B to the right hand preset

* removed line

* changed text

* Finish rewriting presets in new format

* added home keys filter preset

* removed comment

* Fix home keys preset

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-02-21 22:57:31 +01:00
Miodec 702c36189c stop on word only inserts spaces if input length is greater than 0 2023-02-21 16:18:31 +01:00
Sebastian Michaelsen 0abb1fb2a1
Add rel="me" attributes to links on profile page (#4015) smichaelsen
This indicates, that the linked resources belong to the person, that the current page is about.

https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/me
2023-02-21 14:24:19 +01:00
Miodec 58d2a3dfbd custom theme media queries 2023-02-21 14:23:17 +01:00
Miodec 8a2fa437e6 removed p
wider columns
2023-02-21 14:21:12 +01:00
Miodec 2249932331 using css setup that is esier to modify in media queries 2023-02-21 14:19:13 +01:00
Miodec bb4687f2c7 quote reports 2023-02-21 13:28:22 +01:00
Miodec 6ed5a9422d added zipf funbox 2023-02-21 13:14:36 +01:00
Miodec e36c57c047 missing properties 2023-02-21 13:14:10 +01:00
Miodec c4a036b7cd removed duplicate 2023-02-20 15:27:03 +01:00
Miodec 452e886a6d quote reports 2023-02-20 12:49:18 +01:00
Rob Sassack 8f14a943a9
changed event on hiding popups to be mousedown (#4010) robsassack 2023-02-20 11:55:06 +01:00
Rob Sassack 3deb2809a1
Added binary mode to funbox (#4005) robsassack
* Added binary mode to funbox

* changed description and added punctionation off for binary funbox
2023-02-19 13:02:45 +01:00
Aaron 259a36e57a
Made wording better (#4007) unrealapex
* Renamed command line setting timer-progress bar

* Make account config input an `input` so it takes up less space

* Revert "Make account config input an `input` so it takes up less space"

* Better wording

---------

Co-authored-by: Aaron <79121360+hazyboba@users.noreply.github.com>
2023-02-19 12:56:17 +01:00
github-actions[bot] 388067316a
Prettier fix (#4006)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-02-18 19:28:19 -05:00
Miodec 9157b42e2c updated russian list 2023-02-18 23:03:39 +01:00
Miodec b3d6988cab typo 2023-02-18 16:50:08 +01:00
Miodec d1a6136853 removed quote 2023-02-17 22:46:27 +01:00
Miodec 6f90305fcf added another version of a single quote 2023-02-17 22:23:31 +01:00
Miodec ce9f5b1956 quote lengths 2023-02-17 13:45:17 +01:00
Miodec 8ff06113b9 quote reports 2023-02-17 13:44:55 +01:00
Miodec 4a90877735 fixed account graphs not updating on filter change
closes #4001
2023-02-17 13:28:03 +01:00
Miodec 58cad70f6d added command to clear all notifications
closes #4002
2023-02-17 11:18:44 +01:00
Miodec 528c0e79a2 hiding notifications when typing
part of #4002
2023-02-17 11:13:18 +01:00
Miodec e582cc9b51 fixed spacing for texticon 2023-02-16 17:54:43 +01:00
Miodec 3dc603d2bb showing stop on error on the result page 2023-02-15 13:39:53 +01:00
Miodec d85663eba1 rounding data points 2023-02-15 13:39:53 +01:00
Miao4382 1ccbb49346
Added one quote in English (#3997) miao4382 2023-02-15 13:36:35 +01:00
Peter Gessler c0373dfc1f
fix: Add about page supporter/contributor references (#3994) gesslerpd 2023-02-14 11:27:04 +01:00
Miodec 384ec9bf44 updated email addresses 2023-02-14 00:22:37 +01:00
Miodec 4781755fef replaced email address 2023-02-13 23:55:08 +01:00
Miodec ea491efefe added last updated paragraph 2023-02-13 22:55:23 +01:00
Miodec 76451ff8c6 added section about the advertising a/b test 2023-02-13 22:47:18 +01:00
Miodec f232cc8ff9 allowing up to 420 in words 10
closes #3989
2023-02-13 15:35:02 +01:00
Jack 1ca0fd1b23
Custom email (#3964)
* added nodemailer and mjml

* added email template

* basic email util file

* added email queue

* email worker

* renamed folder

* showing which queues and workers were initialized

* initializing email on server boot
added some test code

* renamed to email worker

* type fix

* renamed queue

* added queue to list

* added worker to list

* logging when config was verified

* handling send mail result

* not minifying (not supported anymore)
using .html property
returning correct value

* dont send me emails

* added port to .env

* updated example

* updated test email

* using env email

* parseint base

* message

* refactor

* message

* rename

* moved email templates

* using async file read

* typo

* using mustache

* moved file
renamed to email client

* logging with prometheus

* added social links

* line

* using stronger types (object instead of array of any[])
moved prometheus logging into email client
added function to send mail using a template

* fixed templates not working

* removed console log

* name change

* rename

* moved templates

* rename

* string interpolation

* string interpolation

* moved to dev dependencies, exact versions

* moved types

* removed function, remove unnecessary if

* update template params

* updated name

* fixed button not clickable

* throwing

* moved template metadata to one place

* rename

* sending email on account creation

* removed test code
removed await

* fixed button

* not stopping the server if email client validation failed

* added metric for queue lengths

* exposing getjobcounts

* added job to log queue lengths

* added endpoint to request verification email

* using send verification email that calls api instead of firebase built in

* updated route

* renamed function

* recording time to complete

* returning 400 if email already verified

* setting transport initialized to true earlier, setting it to false if caught error

* moved forgot password flow to a simple popup, added new endpoint to ape

* added forgotpasswordemail route

* added email tempalte

* setting transport to false if caught error

* added email queue function

* moved try higher

* fixed log
2023-02-13 13:24:43 +01:00
Piyush Sahu 8d965a7cf1
quote - NaD (#3988) sahupr 2023-02-13 13:09:24 +01:00
Bianco Da Costa Oliveira cd31a5c9cd
Update portuguese.json (#3987) Ocnaibill
frases adicionadas.
2023-02-13 13:01:20 +01:00
Pratham Purohit a1c26c96aa
Adding a light color theme "slambook". (#3982) prathammpurohit
* Create pale_page.css

* Update pale_page.css

Added a pale yellow page-like interface. Added newer error colours as well.

* Update _list.json

Added theme "pale_page".

* Update pale_page.css

Added a new colour theme.

* Update _list.json

Added a new theme "pale_page".

* Delete pale_page.css

* Create slambook.css

Added a new theme "slambook".

* Update _list.json

Added a new theme "slambook".

* Update slambook.css

fixed color scheme

* Update _list.json

* Update slambook.css

Updated theme
2023-02-13 13:00:14 +01:00
Miodec 9f8ff40a36 fix quote lengths 2023-02-13 12:55:41 +01:00
Miodec 06bd540d61 quote reports 2023-02-13 12:54:42 +01:00
Miodec af38c4ee2d removed words 2023-02-12 22:20:58 +01:00
Miodec 68474368e1 longer notification time 2023-02-12 00:02:50 +01:00
Miodec 89a6e9ff02 updated message 2023-02-12 00:02:50 +01:00
Jerry Zhou da9b691bb1
New Sound on Click - Pentatonic Scale (#3970)
* added scale function

* cleaned up merge

* cleaned up scale implementation and created closure for previewing scales

* finalized changes

* fixed ci/de

* switched to upper camel case

* undid accidental changes

* updates

* fixed indexing bug and audioCtxt being intialized

* removed mapping

* updated schema with non-inclusive range for two new sound-on-clicks

---------

Co-authored-by: Bruce Berrios <bberr022@fiu.edu>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>
2023-02-10 18:11:52 -05:00
Dainternetdude dba84c3253
add sturdy ortho keyboard layout (#3979) Dainternetdude
* add sturdy ortho keyboard layout

* remove random extra double quote

oops lmao

* move sturdy ortho to be with the rest of the sturdy family
2023-02-09 12:46:01 +01:00
Miodec 9a9699b445 fixed buttons not appearing
closes #3980
2023-02-09 12:43:22 +01:00
Miodec 87b4114532 checking if there is still input to be pushed
moved the check into one place
fixes #3981
2023-02-09 12:32:19 +01:00
Vladislav Dietrich 8f26f5f60a
Add nord light theme (#3978) ithelor
Co-authored-by: Vladislav Dietrich <v.ditrih@taptima.ru>
2023-02-07 11:29:14 +01:00
hanabo-mk f92c63fd64
Added 10 new quotes to the German pool (#3975) hanabo-mk
* quotes added

* lenghts fixed
2023-02-07 11:27:59 +01:00
Joonas acb4d666b5
added estonian quotes (#3974) KlopZzz
* added estonian quotes

* Fixed quote length

---------

Co-authored-by: KlopZ <none>
2023-02-06 14:14:12 +01:00
Ziyodulla Muydinjanov e625b37d6c
fixed typos in uzbek 1k (#3977) zieu
* fixed typos in uzbek 1k

Some words were missing the last character and few words didn't make sense so I altered them to the closest similar word.

* fixed typos and removed duplicates

* Update uzbek_1k.json

* Update uzbek_1k.json
2023-02-06 12:32:11 +01:00
Liewe Gutter 51ebf96fcb
improve password length check (#3973) lgutter
integratie check for too long passwords into isPasswordStrong, and
consistently check for it wherever passwords can be created / changed.

Co-authored-by: Liewe Gutter <liewegutter@gmail.com>
2023-02-06 12:30:33 +01:00
Jerry Zhou 801be2fc55
Fixed issue #3971 - active theme selection is properly removed (#3972)
* fixed issue #3971

* removed debug statement
2023-02-06 12:19:22 +01:00
Rephael Congmon d9120b47c2
Update all-time-stats.ts (#3976)
These 2 if statements can be combined
2023-02-05 19:30:33 -05:00
Miodec 9c58ec2808 fixed more issues with cookie popup blocking extensions 2023-02-05 22:32:06 +01:00
Miodec 198111d7f3 quote report 2023-02-01 12:07:08 +01:00
Miodec ed56dff53e removed bad words 2023-01-31 16:07:04 +01:00
Miodec 23ba234c16 added fulllogo 2023-01-31 01:59:40 +01:00
Miodec 888cf9f34e added command to copy result stats to clipboard 2023-01-31 01:02:40 +01:00
Miodec 2b0ccbe44c added islocalhost function to misc 2023-01-30 16:34:36 +01:00
Miodec e1c23538a7 quote reports,
quote lengths
2023-01-30 13:10:34 +01:00
Miodec 9cdfa9c191 fixed filter preset buttons not showing up 2023-01-30 12:56:41 +01:00
Miodec 6c9e3baf5b quote reports 2023-01-30 12:40:16 +01:00
github-actions[bot] 85835334d1
Prettier fix (#3960)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-01-29 01:34:29 +01:00
Miodec 0d2af80a80 fixed tags not showing up in the account page filters 2023-01-29 01:01:08 +01:00
Miodec 26a19a87b0 fixed error if 8008 is the active theme
should fix #3957
2023-01-28 19:50:35 +01:00
Miodec 4cc8ed5e91 fixed theme buttons not showing up if user has favorites 2023-01-28 19:50:03 +01:00
Miodec bc4651d2b7 fixed active entry icon color not changing 2023-01-28 19:46:06 +01:00
Miodec c90ccf05be removed console logs 2023-01-27 23:33:15 +01:00
Miodec c0cb29c80f added a resetState parameter
not resetting textarea state if user is about to save the custom text
should help with #3958 and #3955
2023-01-27 23:32:39 +01:00
Miodec 79659a6e42 removed duplicate click handler 2023-01-27 23:31:15 +01:00
Miodec e94364f269 lots of missing function calls causing results failing to save for everyone
i am stupid
2023-01-27 17:36:30 +01:00
Miodec 2206677f83 fixed typo 2023-01-27 15:33:38 +01:00
Miodec d9e101c452 throwing error if challenge failed to fetch 2023-01-27 15:32:22 +01:00
Miodec 81afc92022 returning if word is undefined 2023-01-27 15:28:08 +01:00
Miodec 2abd0e69fe calling line jump on resize event
triggering resize event on font size change to trigger this event handler
closes #3937
2023-01-27 15:24:45 +01:00
Jack 6647a81ad1
Structure (#3951)
* created file which holds skeletons for popups

* using skeleton

* saving skeleton after the events are bound

* moved click event to a static element

* using skeleton

* added hide and show functions
using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* fixed a bug where updating the preset name would not immediately show the update

* using skeleton

* shorter link transition

* using skeleton

* using skeleton

* using skeleton

* fixed a bug where accounts with no pbs would cause misplaced "show all pbs" button

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* fixed quote mod not being sent to the client

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* using state object instead of html attributes
fixed a bug where no tags text would persist even when tags were added to the test
using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* removed unused code

* unnecessary import

* unused code

* using skeleton

* changed click handling element
only hiding and restarting the test if init returned true

* using skeleton
returning boolean from init function

* removed console log

* added function to check if a popup is visible

* better visibility check

* rewrote alerts to use state object instead of pushing straight to dom
using skeleton

* better visibility check

* not using skeleton for now

* using skeleton
using state object
better visibility check

* added parent override

* unnecessary code

* changed function to a more generic one

* fixed cookie popup text possibly overflowing popup

* using "isPopupVisible" function instead of a "hasClass" check
added some missing escape key handlers

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* standard popup animation length

* consistent animation timing

* using iselementvisible function

* removed unused function

* using isElementVisible

* proper show and hide functions, added callback funciton on hide,
added noAnim params

* fixed no animation on the logo sub text

* reordered click handlers

* moved code to a fill function

* using proper show and hide functions
added callback on hide param
added no anim and no callback parameters

* added no anim parameter
callback func is optional

* also applying noanimation to hiding animation

* using proper hide and show functions

* using iselementvisible

* using skeleton

* missing space

* storing text area state in custom text

* using skeleton

* setting state on show instead of on hide

* moved click handler

* unused code

* missing parent override

* using skeleton

* no longer waiting for document to be ready

* settings using skeleton

* profile search using skeleton

* page profile using skeleton

* navigating to account if already logged in

* using skeleton

* using skeleton

* emptying result replay and words history on restart

* optimised theme picker

* optimised settings page fill

* performance optimisation

* awaiting promises

* brought back code that was accidentally removed

* async

* addad param to avoid duplicate group update on settings page load

* added main thread yields to remove long tasks

* optimising performance of about page loading

* not awaiting

* breaking up long tasks to optimise performance

* optimised button appending

* fixed avatar being too big

* optimisation
splitting up code
added yields to split tasks

* fixed merge

* removed sleep

* missing chart color update

* updating main chart first

* disabling animation during update

* updating chart colors once instead of on every update

* added one more sleep

* removed sleep causing graphical issues

* update chart regardless if it has data or not

* hiding estimated words typed when no data was found
2023-01-27 15:10:07 +01:00
Miodec 707575546c fixed safari not supporting rounded outlines 2023-01-27 15:03:12 +01:00
Dioswilson d9ac83a1a4
Added 7 quotes on spanish (#3953) dioswilson
* Updated spanish.json with 11 quotes

Added 11 quotes in spanish

* Fixed typos

Fixed typos I made on the previous quotes I made on spanish

* Last typo i found on the quotes

* Added more 7 quotes to spanish

Added 7 quotes to spanish and deleted one word that was wrong from a prevoius quote

* Changed quotation marks

One quote uses quotation marks, now it is as \", not sure if that's the correct way

* Updated quote's lenght which was wrong

* Changed swear from last quote.

Changed the swear on quote 126, new translation:
This "New Era" that everyone is talking about is trash. the time where pirates dreams have ended?! People dreams never end!
2023-01-27 14:49:44 +01:00