* 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>
* handling query param
getting user by name if query param is present
* added function to get user by name
* split profile function to get user by uid or name
* added function to check if get parameter exists in url
* updating the profile based on the url parameter
* using query param in url
* using get param
* renamed param name
adding search param to pathname in the deafult parameter value
* renamed param
* renamed param
added query validation
* extracted repeated query to a function
* missing await
* fixed typo
fixed validation
* using em for dynamic font sizes
* using em for dynamic font sizes
* added line height
* using em
* using em
* using page profile search instead
* updated the way data is passed into the page
* profile search page
* setting line height
* removed vertical align
* moved navigate to an event to avoid circular deps
* fixed route controller not being included
* removed unnecessary test
* showing 404 error
* improved query checking
* renamed query param
* fixed test
* note
* yeet
* cleaner type definition
* Implement streaks
* Improve code
* Update package.json
* Store streak on the user
* Pretty-fix
* Ensure that streak is up to date
* Fix issue in streak calculation
* Revert prettier changes
* Update polish.json
* Update db.ts
* Remove initial calculation
* Write mandatory test
* using strict equality
* moved functions to the utils file
* importing utils
* adding streak to breakdown,
rounding and parsing streak modifier
* renamed variable
* renamed fields
* using correct field name
* added streaks to configuration
* showing streak during xp breakdown
* incrementing streak earlier
checking configuration before applying modifier
* returning streak to the client
* setting local streak with the number returned from the backedn
* only reading streak when updating profile instead of updating
* sending streak information in profile
* only showing streak if greater than 0
* setting to empty if no streak
* renamed config property
* updated streak calculation
* refactored isYesterday
* refactored streak update
* only displaying if streak larger than 1
* merged configuration properties into 1
* added configuration for max streak bonus
* added isToday check back (derp)
* reverted streaks back to multiplier approach
* using better maprange functin
* removed import
* moved test to dal spec
* clamping
* removed imports
* fixed test
* increased coverage
* removed angry console log
* typo
* using date now instead of dates
* mocking date now
awaiting expect
* not using date
Co-authored-by: Anonymous <110769200+fasttyperdog@users.noreply.github.com>
Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>