Commit graph

134 commits

Author SHA1 Message Date
Miodec a22e479ab3 hiding scroll to top button when at the top 2022-01-05 23:11:02 +01:00
Miodec ecaff47af9 Revert "added word definition fetching on click"
This reverts commit 80ed5f3d63.
2022-01-04 12:44:22 +01:00
Miodec adf358e1b3 added word definition fetching on click 2022-01-04 12:43:43 +01:00
Miodec b8ef24485e Revert "added word definition fetching on click"
This reverts commit 80ed5f3d63.
2022-01-04 12:30:08 +01:00
Miodec 80ed5f3d63 added word definition fetching on click 2022-01-04 12:28:19 +01:00
Miodec 8c5b6752a0 refactored test finish
extracted all ui related code to its own file
2022-01-03 17:57:22 +01:00
Miodec 30a5c3048b added loading bar to the loading page 2022-01-01 18:47:50 +01:00
Miodec 3103df8307 added contact popup 2021-12-28 00:39:00 +01:00
Jack 5d2d0fa9b9 added mobile menu. should fix #2127 2021-11-29 23:32:18 +00:00
Jonny-exe d61476e642
Added wikipedia mode to funbox (#2069)
* Added wikipedia mode to funbox

* removed console log

* added loader when getting section

* Fixed error where Wikipedia section would be too short for certain time or words amount.

* fixed error where words where not added to UI

* Add minimum of 100 words for poetry and wikipedia funbox in time mode

Co-authored-by: Jack <bartnikjack@gmail.com>
2021-11-17 19:49:45 +00:00
Jack 1e90fd80e2 showing popup with config if copying to clipboard failed. part of #2044 2021-10-29 22:00:13 +01:00
Jack 50aec0b9e7 added captcha to quote submission 2021-10-11 16:02:27 +01:00
Jack cf8d258400
Quote submission (#1984)
* added new-quotes get and add routes

* added new-quotes/approve route to api

* Added front-end for quote submission

* fix language typo, force lowercase language

* Check for duplicate quote

* added unknown language handling to quote-submit

* npm i

* npm i

* language dropdown instead of input field

* mouse down instead click

* styling changes

* moved quotemod check to the controller,
added refuse endpoint,
added ability to approve and edit

* limiting quotes

* added log to quote approve

* added approve quotes button

* typo

* using the correct function, lowered limit

* added quote approve popup

* getting quotes and showing them

* error checking

* error checking

* removed console log

* stylng changes,
added refresh list button

* added disabled class

* styling changes

* handling button clicks
showing langauge and timestamp

* check if user is a quote mod

* approve button handling

* handling quote edit

* showing short quotes in red

* post, not get

* not parsing quote id to int

* parsing to objectid

* updated styling

* fixed lint warnings

* fixed up new quotes dao

* showing loader

* calling function correctly

* typo fix

* fixed wrong path,
fix broken newid,
saving file when file exists,
searching for the quote correctly when attempting to delete

* showing message

* blocking buttons and inputs when waiting for response,
unlocking after response

* deleted workflow

Co-authored-by: lukew3 <lukew25073@gmail.com>
2021-10-10 22:46:35 +01:00
Jack 7a6b9090ec divided scss files 2021-10-02 15:23:03 +01:00
Jack 653ae1193c moved tts into its own file, added support for bcp47 codes to enable multilanguage. closes #397 2021-10-01 16:24:50 +01:00
Jack 147602e927 added eslint json plugin 2021-09-30 23:15:50 +01:00
Miodec 5f6b6c15f8 added popup to view all personal bests 2021-09-24 20:22:08 +01:00
Jack a9ccac33d0 removed unused file 2021-09-14 14:07:24 +01:00
Jack 57b5da8be4 allowing irregular whitespace 2021-09-14 00:20:01 +01:00
Jack c063012e9e added lazy mode 2021-09-13 17:28:00 +01:00
Jack b3f2aa544c not checking leaderboards on test complete
updating test leaderboards every 5 minutes
2021-09-09 23:39:10 +01:00
Jack ac1415a5c6 added british english mode 2021-09-08 22:30:40 +01:00
Jack fa7ad4581e added a last seen version tracker
showing notification when new version is released
2021-08-29 15:05:38 +01:00
Jack e27ca6fcd6 added a psa system 2021-08-29 14:30:45 +01:00
Jack db3d25c7ef added quote rating 2021-08-27 20:09:47 +01:00
shishberg 87287532aa
Pseudolang funbox mode - gibberish, but more wordlike (#1722)
* add wordset

* added withWords

* add Gibberish class

* add gibberish2 funbox

* rename gibberish2 to jabberwocky

* add CharDistribution to improve memory efficiency; move funbox check into Wordset

* cleanup

* prettier

* more meaningful description

* added some comments and clarified some names

* fix after rename

* s/jabberwocky/pseudolang/
2021-08-22 12:30:30 +01:00
Miodec 8cbbe51ba7 Merge branch 'master' into mongo 2021-07-24 23:17:58 +01:00
Jack 00d8774203 replaced practise missed with practise words
added a popup for practise words
you can now choose between practising slow, missed or both
closes #1641
2021-07-22 17:15:07 +01:00
Miodec 0036af9f73 Merge branch 'master' into mongo 2021-07-12 23:17:12 +01:00
shishberg 08ad5728db
Add weakspot mode. (#1606) by shishberg
* Add weakspot mode.

This keeps track of a per-character "weakness" score, basically a
moving average of the spacing duration with a penalty for incorrect
letters. The weakspot funbox mode uses this to bias towards words
with lots of weak letters.

* Comment about keeping weaknessScores

* Move weakspot to its own module.

* prettier
2021-07-10 01:23:47 +01:00
Miodec 7689086503 merged master into mongo 2021-07-07 14:24:44 +01:00
Miodec cf9e29db65 added today tracker 2021-07-05 15:59:10 +01:00
Alvin Zhao 87073a3700
Added min burst (#1579) started by yzAlvin
* Added min burst

* no need to calculate burst on a timer

* added a burst history and current burst trackers, added set and push functions, removed burst calculating in stats (should be done on word completion)

* burst will not be calculated on every keypress

* calculating burst and pushing to history on space
setting start time on first keypress

* verifying that burst history and input history are the same length

* bursthistory typo
added function to calculate burst speed and updated the pushing function to consider if the word was already completed once before

* removed fail condition from timer

* removed debug notification

* added fail condition

* rounding burst

* making sure to load burst config

* styling burst display

* including burst in the result

* renamed variable

* removed burst from result screen, changed wording in settings page

* reran npm i to regenerate package lock in version 2

* audit fix

* gulp update

* added two burst modes: flex and fixed

* standardized some code

* swapped classes

* updated settings page min burst input
updated min burst description

* updated the setting sections with inputs to a new, better design

Co-authored-by: Jack <bartnikjack@gmail.com>
2021-06-29 18:55:59 +01:00
ben potter 0202725d4f
Add poetry funbox by benjaminpotter 2021-06-08 16:10:17 +01:00
Jack 25a23dde3d
Merge pull request #1475 from lukew3/mongo
Mongo
2021-06-06 14:45:08 +01:00
Jack 92b1c6eb86
Merge pull request #1505 from tcbutler320/master
Add Security Policy
2021-06-04 12:54:36 +01:00
lukew3 dd9a5e618a Merge branch 'master' of https://github.com/Miodec/monkeytype into mongo 2021-06-03 22:51:55 -04:00
Jack 57c01dbef7
Merge pull request #1504 from Otard95/feature/power-mode
Add Monkey Power (Power Mode - Easter-Egg)
2021-06-03 23:18:01 +01:00
tcbutler320 b18edcd23e add dot prefix in gulp build 2021-06-03 18:15:42 -04:00
Jack 372d17c5a9 added a contact section to the about page, gave support its own section 2021-06-03 17:36:13 +01:00
Otard95 22403248d2 Rename PowerMode to MonkeyPower 2021-06-03 16:43:22 +02:00
Otard95 914ae704e3 Add power mode to gulp and init when ready 2021-06-02 21:08:11 +02:00
lukew3 fd30b5aa36 brought back firebase analytics and authentication 2021-05-31 23:47:58 -04:00
lukew3 12f3b45529 changed displayName to name, moved from cookies to localstorage 2021-05-26 19:06:03 -04:00
lukew3 0be490bf39 created axiosInstance with refresh tokens 2021-05-14 21:09:22 -04:00
lukew3 3978b7a106 firebase completely disconnected, working at restoring all functionality 2021-05-14 13:56:08 -04:00
Jack 0c0519fce9
Merge pull request #1383 from Estebene/preset-settings
Added basic preset setting functionality
2021-05-09 02:04:35 +01:00
lukew3 d4e954069e Added ability to watch replay 2021-05-08 15:37:29 -04:00
Estebene 9222eceb03 Added basic preset setting functionality 2021-05-08 17:03:56 +12:00
Smithster 230da777cb Added custom background filters 2021-04-06 00:29:24 +01:00