monkeytype/frontend/static/html
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
..
pages fixed contact popup not opening on about page mail button click 2022-10-03 13:26:42 +02:00
bottom.html missing hidden clas 2022-08-08 16:48:49 +02:00
head.html unnecessary closing tag 2022-09-27 22:42:24 +02:00
popups.html Long Custom Text (#3543) rizwanmustafa miodec 2022-10-04 17:42:52 +02:00
top.html notification bubble defaults to off 2022-09-10 10:56:59 +02:00
warnings.html moved nocss warning update to its own file 2022-09-29 19:45:15 +02:00