monkeytype/frontend
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
..
scripts checking if layouts have a valid type 2022-08-22 14:22:16 +02:00
src Long Custom Text (#3543) rizwanmustafa miodec 2022-10-04 17:42:52 +02:00
static Long Custom Text (#3543) rizwanmustafa miodec 2022-10-04 17:42:52 +02:00
webpack Revert "clearing webpack console output on rebuild" 2022-09-04 20:03:53 +02:00
.eslintignore
docker-compose.yaml Create docker-compose.yaml file for frontend (#3058) 2022-06-01 14:04:00 -04:00
firebase.json removed das 2022-08-26 12:55:45 +02:00
gulpfile.js reverting path change 2022-09-22 13:42:54 +02:00
package-lock.json Add confetti animation (#3607) riyuzenn 2022-09-28 00:15:02 +02:00
package.json Add confetti animation (#3607) riyuzenn 2022-09-28 00:15:02 +02:00
tsconfig.json Rename scripts to ts (#2869) ferotiq 2022-04-24 17:20:30 +02:00