Commit graph

9558 commits

Author SHA1 Message Date
Miodec
3c5e4c0662 updated the new line character 2023-07-27 13:44:37 +02:00
Miodec
1d8aee1c68 updated layoutfluid notification element
made it work in mods other than time
closes #4484
2023-07-27 12:55:20 +02:00
Miodec
168055e21e selecting the input if it gets prefilled
closes #4482
2023-07-27 12:13:15 +02:00
Miodec
8612c0d2f2 added polish wikipedia 2023-07-27 12:05:40 +02:00
ademirkan
17713fde87
fixed quick toggle-to-highlight bug (#4481)
* fixed quick toggle-to-highlight bug

* eslint fix

* added return type to function, eslint
2023-07-27 10:52:41 +02:00
Miodec
50c96006c2 removed duplicate header 2023-07-25 17:47:17 +02:00
Miodec
a828fcfb01 moved issubmiossionenabled check before opening the popup 2023-07-25 17:25:17 +02:00
Miodec
ad357d3948 showing groups instead of languages 2023-07-25 17:19:09 +02:00
Miodec
327125186b updated parameter 2023-07-25 17:18:57 +02:00
Miodec
7359bb78ba reordered groups 2023-07-25 17:04:06 +02:00
Miodec
59c34fc988 only allowing 100 submissions per language 2023-07-25 17:00:29 +02:00
Miodec
99111ec3e8 asking the backend if submission is enabled instead of hardcoding 2023-07-25 16:53:41 +02:00
Miodec
869f9c229d added endpoint to frontend ape client 2023-07-25 16:52:36 +02:00
Miodec
753d9649e8 updated response schema 2023-07-25 16:43:00 +02:00
Miodec
574532f280 added endpoint to check if quote submission is enabled 2023-07-25 16:40:29 +02:00
Miodec
2e8c58365f sending client version in headers
logging which client versions are getting errors
closes #4475
2023-07-25 15:46:46 +02:00
Miodec
5abc29bb76 hiding clear all button button when focused
closes #4480
2023-07-25 15:33:18 +02:00
ademirkan
45cc0487ed
Fixed last word(s) highlight not showing up (#4479) ademirkan 2023-07-25 15:28:27 +02:00
Miodec
47a73190c4 fixed lasts sometimes not being highlighted by hovering over the last chart data point 2023-07-25 14:14:24 +02:00
Miodec
90761fbc32 quote lengths script 2023-07-25 12:03:49 +02:00
Miodec
f54a315ba6 quote reports 2023-07-25 12:03:32 +02:00
Miodec
93144cade3 replaced global override with a function
fixes broken result hashes
2023-07-23 19:08:20 +02:00
Miodec
c9edae203d also updating database email when adding password auth 2023-07-21 14:03:26 +02:00
Warrobot10
fafe4512bd
Improving quote sources. (#4467) Warrobot10 2023-07-21 13:38:53 +02:00
ademirkan
29b05271de
New Highlighting System (#4448) ademirkan
* put speed above word in input highlight

* updated class name
using class nesting

* put speed below word, added nocursor

* removed unnecessary line

* saving highlight controller progress, started init()

* finished highlight-controller init, middle of highlight()

* fixed highlightContainer padding issue

* buggy implementation of highlight()

* finished highlight() demo

* event listener to call destroy() on window resize

* removed init from public functions

* fixed bug where words could not be hovered for speed highlight

* simplified highlight css & js

* accounted for padding

* buggy, functional implementation of counter-animation

* semi-percise line up, buggy clear()

* official v1.0, fixed highlightPlaceholder text dissapearing late bug

* improved variable name readability

* improved documentation for highlight-controller

* added concise summary on top for highlight-controller

* minor counter-animation performance changes

* fixed bug where word is overtyped but corrected, causing overlapping inputWord elements

* prettier error, removed line

* fixed eslint errors

* fixed bug: highlight persisting on mouseleave when moving too fast

* changed highlight transitions from 0.15s to 0.25s

* fixed eslint bug for new setIsHoverChart function

* checkpoint: introduced line rect to type

* checkpoint: percise inputWord positioning

* checkpoint: highlight width  based on input, not full word

* checkpoint: optimized by reducing animations by setting min/max on highlight offsets, reducing number of lines being animated

* checkpoint: changed highlight offset limiters to be based on window width

* Fixed bugs for highlight-controller

* fixed eslint issues

* fixed length error on resize

* Fixed offset error when heatmap is toggled

* fixed inputWordsContainer animation bug in first highlight call

* uncommented accidental comments

* reduced jQuery calls, improving performance

* removed unnecessary document query

* early exists when highlightRange does not change

* reset highlightRange on destroy

* removed unnecessary import

* optimized callback

* added fade in/out animations, instant positioning

* removed console log

* renamed highlightWords to highlightWordsInRange

* made highlightWordsInRange more readable

* renamed highlight-controller to result-word-highlight

* nonfunctional checkpoint

* nonfunctional, updated highlightWordsInRange

* nonfunctional, saving progress

* nonfuctional, saving progress

* saving progress, nonfunctional

* partially functional, incomplete getHighlightElementPosition

* nonfunctional, checkpoint

* non-functional, made isLanguageRTL + functions async

* fixed returning false I bug (i think)

* current line functional

* lower lines highlight positioning functional

* completed RTL refactor

* finished RTL refactor, eslint fix

* fixed ts, getBoundingRect function put in misc

* removed console log

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-21 13:38:26 +02:00
Axel Cuevas
ea7df209d5
Added quote (#4462) Hideoka117
* Pending changes exported from your codespace

* Update english.json
2023-07-21 13:07:07 +02:00
Miodec
ebcc212605 catching drop errors, should fix #4440 2023-07-21 13:04:18 +02:00
Miodec
62a73bc61e added supporter 2023-07-20 22:46:25 +02:00
Miodec
f04ee79b73 added supporter 2023-07-20 22:35:05 +02:00
Miodec
c507481da1 added a clear all button if at least two sticky notifications are visible 2023-07-19 14:42:47 +02:00
Miodec
4bd295f297 showing correct and incorrect 2023-07-19 14:15:41 +02:00
Miodec
fba14b7d84 removed todo 2023-07-18 19:23:36 +02:00
Miodec
19377e53d4 removed todo 2023-07-18 19:18:55 +02:00
Miodec
05ee75a97c todo 2023-07-18 19:18:55 +02:00
Miodec
685668a6b8 todo 2023-07-18 19:18:55 +02:00
Yen Cheng
05fa8ae48f
Remember language choice before switching to quote mode (#4460) ridemountainpig
* feat: Remember language choice

* update: remove console log for testing

* feat: Remember language choice

* update: prettier code

* feat: Remember language choice

* feat: Remember language choice

* updated type
checking if variable is truthy
setting variable to undefined after setting the language

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-07-18 16:03:13 +02:00
Miodec
a8939949fa reworked the result filters typing 2023-07-18 15:51:59 +02:00
Miodec
e2d021bbab added a function that gets strictly typed keys of an object 2023-07-18 15:51:45 +02:00
Edward Huang
4111f5df8c
Quotes (#4458) eisthefifthletter
* standardize apostrophe and quotation marks

* add quotes

* correct quote length
2023-07-18 11:25:23 +02:00
Warrobot10
41cb61f0b4
Add typos and cleaning up (#4453) Warrobot10 2023-07-18 11:24:59 +02:00
Miodec
93c14d6728 stricter schemas 2023-07-17 14:39:59 +02:00
Miodec
6e1e2c6e8f stricter schema 2023-07-17 14:33:26 +02:00
Miodec
30a2b301eb checking if user is admin instead 2023-07-17 14:19:23 +02:00
Miodec
469bdfe32f validation 2023-07-17 13:59:27 +02:00
Miodec
1a8f0b8f18 stricter validation 2023-07-17 13:54:24 +02:00
Miodec
448c1061b8 handling hyphenated words in british english 2023-07-17 13:41:55 +02:00
joanna
6d88c4f4e3
added morse code to the funbox (#4451) epicjoanna
* added morse code mode to funbox

* actioned changes
2023-07-17 13:41:04 +02:00
github-actions[bot]
06ca56bfc8
Prettier fix (#4456)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-07-17 12:52:22 +02:00
Miodec
5d93e2e1ce removed console log 2023-07-14 12:40:08 +02:00
Miodec
bf4b62414c removed console log 2023-07-14 12:22:16 +02:00