Commit graph

7501 commits

Author SHA1 Message Date
smunky ffa1f6f7de
remove fullstops from alerts (#3245) devkennyy
* test

* Revert "test"

This reverts commit c1d05d50b1.

* remove fullstops

* remove fullstops

* more punctuation
2022-06-27 12:00:04 +02:00
R0merol da26618f58
Add 30 more C++ quotes (id: 3-32) (#3244) R0merol 2022-06-27 11:59:00 +02:00
Evan 104786363f
use camelCase instead of dash separation (#3239) Ferotiq 2022-06-27 11:57:35 +02:00
aNOOBis b74215a683
custom theme edit fix (#3236) 2022-06-26 07:55:26 -05:00
smunky 4092d45887
fix random characters showing on screenshot (#3238) devkennyy
* hide nocss and noscript elements when taking screenshot

* remove hidden class from elements
2022-06-26 14:24:13 +02:00
smunky 94bfd02e49
fix basic typos (#3235)
* fixed typo in THEMES.md

* fix spelling mistake

* fixed noun usage
2022-06-26 12:41:55 +02:00
R0merol ad76cc83b8
Add 20 more Python quotes (id: 9-28) (#3232) R0merol
* Add 20 more Python quotes (id: 9-28)

* Fixhed quote length (id: 28)

* Removed an extra space (id: 7)
2022-06-26 12:26:12 +02:00
aNOOBis 9a12e3c674
View account page fix (#3234) anoobisthegod
* spacebar in presets and tags addition

* super mega spacebar remake

* style fix

* final name removal in ui

* replaceAll in ape removal

* using display above account chart

* create preset in command line addition

* testing removal

* one more testing removal

* create tag command line addition

* Update commandline-lists.ts

* moved add commands to the bottom
hiding if user is not signed in

* refactor

* hiding tags and presets when signed out

* fixed presets and tags display in alerts

* russian_25k and russian_50k addition

* russian 375k addition

* lil fix

* fixed windows auto-reload error

* Revert "fixed windows auto-reload error"

This reverts commit ea22621232.

* Revert "Revert "fixed windows auto-reload error""

This reverts commit 669cec4217.

* Revert "Revert "Revert "fixed windows auto-reload error"""

This reverts commit d90352633c.

* themes popup small fix

* using &&

* some typos fixed

* view account page fix

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-06-26 12:25:36 +02:00
Miodec 4173298f5f not splicing keydata
also splicing burst and raw history
2022-06-26 12:13:37 +02:00
Miodec c540ac2def Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-26 00:38:13 +02:00
Miodec 50ca65a135 fixed "go to page" commands not working 2022-06-26 00:38:07 +02:00
smunky 8a6aecb127
rework captcha (#3224) devkennyy rizwanmustafa miodec
* rework captcha

* resolve conversations

* load captcha when needed

* Fix errors

* Create captchacontroller

* Fix errors

* using captcha controller in quote submit

* removed prettier ignore

* updated report quote popup

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 21:06:10 +02:00
smunky 872460eade
replaced theme generation method (#3195) rizwanmustafa devkennyy miodec
* replaced theme generation method

* Relocate variable declaration

* storing theme list when changing rando themes setting

* resetting index to 0 when changing list

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 20:45:29 +02:00
Miodec 6fe1a31eb1 added param to disable theme applying when previewing 2022-06-25 20:10:44 +02:00
Bruce Berrios 349a032e54
Add content creator badge (#3225)
* Add content creator badge

* Change check -> video
2022-06-25 11:51:21 -04:00
Bruce Berrios a552c127f8
Refactor Users DAL (#3223)
* Refactor two calls

* Return void

* Remove update result

* Remove delete result
2022-06-25 16:56:43 +02:00
Miodec 1575595d0d fixed missing loading icon
closes #3228
2022-06-25 16:48:48 +02:00
Miodec 3349181dd7 forcing update 2022-06-25 16:42:33 +02:00
Miodec 63bf85ac1c fixed first tab on results page focusing sign in instead of the restart button 2022-06-25 16:39:16 +02:00
smunky 60247ff15e
fix popup style inconsistencies (#3227) devkennyy miodec
* fix popup style inconsistencies

* missing style for preset edit popup

* reduced gap in contact popup

* updated style for support popup

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 15:37:18 +02:00
Miodec 4f5db9deec removed from dev config 2022-06-25 15:27:02 +02:00
Miodec e944a3684e changing public path in base config instead of just dev 2022-06-25 15:26:41 +02:00
Miodec 31cfeef2a9 removed leaderboards route for now 2022-06-25 12:31:31 +02:00
Miodec 390bb89af0 fixed click event not firing 2022-06-25 12:23:19 +02:00
Rizwan Mustafa 0330f831d4
Fix circular dep between leaderboard.ts and route-controller.ts (#3226)
* Fix circular dep

* Make query more specific
2022-06-25 12:15:32 +02:00
Miodec ef37b580c3 showing loader if theme loading takes more than 100ms
fallback append to head if elements gets lost due to fast theme changes/previews
2022-06-25 01:17:01 +02:00
Miodec 253ae8848b moving auto switch theme loading into setThemes function to fix initial page load 2022-06-25 01:07:29 +02:00
Miodec 27b9c441b5 fixed double theme change 2022-06-25 01:01:35 +02:00
Miodec 7c82bf6e82 removed console log 2022-06-25 01:01:20 +02:00
Miodec 5674d493bd keeping previous theme applied until new one is fully loaded
closes #3222
2022-06-25 00:56:48 +02:00
Miodec c8c4f28695 removed unnecessary click event listener 2022-06-24 23:03:06 +02:00
Miodec 277604d26b fixed test config animation incorrect length 2022-06-24 22:50:54 +02:00
Jack 6499cedc28
Reworked route controller (#3220) miodec
* rewrote route controller

* showing loading by default

* links which are not external need data line attribute

* need to rewrite this

* page controller takes a page as parameter
removed page type

* default export

* going through the route controller instead of changing page directly

* resolving all code paths

* using navigate

* added 404, leaderboards route

* changed leaderboards button to a link

* removed click handler

* added page about route

* removed default export,
added settings page route

* removing pointer events from everything inside links

* navigating to account when on login page

* fixed console logs, using async

* added login and account pages

* moved code to their own functions

* allowing async functions

* defaulting content visible

* async

* fixed 404 not navigating correctly

* setting public path to root

* fixed paths

* using uid passed in through url params

* added 404 page, profile routes

* removed comment

* moved discord link flow to url handler

* allowing html

* not resetting state

* removed function

* handling logo click

* removed comments

* reomoved comments

* removed comments

* removed comments

* using new router

* basic 404 page

* buttons whicha are links have no underline

* correctly handling the take me back button

* updated button

* removed comments

* fixed account page profile link button

* updated 404

* removed comments

* removed comments

* removed comments
2022-06-24 22:12:52 +02:00
Miodec 7782b11b12 flooring instead of rounding 2022-06-24 20:22:13 +02:00
Bruce Berrios f30fa1c9d5
Fix all time lb again (#3219) 2022-06-24 16:15:47 +02:00
Joel Tony 0145b5d533
Add quotes by Pierce Brown (#3218)
* Add quotes by Pierce Brown

* Remove quotes
2022-06-24 15:46:25 +02:00
Bruce Berrios 1346dd669c
Tune profanity detection (#3214)
* Tune profanity detection

* Remove console log

* Remove profanity

* Add tests for profanity

* Fix test case
2022-06-24 11:17:43 +02:00
Bruce Berrios b0b39c7dc5
Fix leaderboard update bug (#3217)
* Fix leaderboard update bug

* Add test for sanitize string
2022-06-24 11:16:53 +02:00
Miodec 9231250afd removed hell 2022-06-24 11:14:06 +02:00
Miodec 783ca472e1 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-23 18:02:16 +02:00
Miodec 690dc9ae11 quote lengths 2022-06-23 18:02:09 +02:00
Jack 66074c8314
Inventory badge selection (#3210) bruception miodec
* Fixed badges not showing on all time leaderboards

* updated types to support inventory and single badge id

* Add badge selection

* Fix bug

* Remove unnecessary prefill

* using new inventory system

* added no balloon option

* updated text color

* not showing balloon

* updated styling for showing badges selection

* Add badge selection

Co-authored-by: Bruception <bberr022@fiu.edu>
2022-06-23 18:00:53 +02:00
Miodec 0517e786e9 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-23 17:49:50 +02:00
Evan 87a5bae7d2
remove monkeytype-js from the docs (#3213) 2022-06-23 11:44:23 -04:00
Miodec 1c8f037a04 updated badge colors 2022-06-23 16:22:18 +02:00
Miodec e3ab059e70 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-23 16:21:26 +02:00
Miodec 5d18c68fd9 quote reports 2022-06-23 16:21:18 +02:00
Jack d26d7d0555
Converted badges to inventory (#3209)
* added inventory type

* new badges

* fixed badges not showing on all time leaderboards

* sending the selected badge id to daily lb

* returning inventory in profiles

* updated types to support inventory and single badge id

* fixed all badges not showing on profile page

* removed await

* smol refactor
2022-06-23 15:47:15 +02:00
Bruce Berrios 8144ea9077
Refactor some code (#3205) 2022-06-23 02:01:48 +02:00
Bruce Berrios 4a0db5c14e
Fix bug (#3204) 2022-06-23 01:54:13 +02:00