Commit graph

1088 commits

Author SHA1 Message Date
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
Joel Tony
0145b5d533
Add quotes by Pierce Brown (#3218)
* Add quotes by Pierce Brown

* Remove quotes
2022-06-24 15:46:25 +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
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
Miodec
b2cab171b8 showing website name instead of full url 2022-06-23 01:36:22 +02:00
Miodec
38dc115e60 fixed name not scaling on the profile page
closes #3196
2022-06-23 01:16:54 +02:00
Miodec
005eb4cc68 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-23 00:34:36 +02:00
Miodec
d8a246c8f0 showing all badges on profile 2022-06-23 00:33:12 +02:00
Miodec
adf02e7c90 added monkey supporter 2022-06-23 00:31:46 +02:00
Cody Bloemhard
cce4cd34e6
Fix type in language code_haskell (#3203) codybloemhard
Fix `loopup` to `lookup`.
2022-06-23 00:21:16 +02:00
Miodec
26a9ff5930 fixed closing div in the wrong spot 2022-06-23 00:13:17 +02:00
smunky
79d1071b3e
added bug hunter and white hat badges (#3202)
* added bug hunter and white hat badges

* corrected 'in the code' to 'on the site'

* edited descriptions

* changed white hat icon

* changed spotted to reported
2022-06-23 00:07:28 +02:00
Miodec
aad79660af allowing html 2022-06-22 23:47:24 +02:00
Miodec
3274bf8bbb new line 2022-06-22 21:03:22 +02:00
Miodec
3ab1e4d796 made the psa fail message less techy 2022-06-22 20:53:45 +02:00
Miodec
bf1664e49e added notext option to get badge html 2022-06-22 17:51:26 +02:00
Miodec
5fd131480d Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-22 15:13:40 +02:00
Miodec
de37ca7cbe added note about avatars to the edit profile popup 2022-06-22 15:12:50 +02:00
R0merol
50b26b0934
Fixed punctuation and quote length (#3193) R0merol
* Fixed punctuation (id: 163)

* Fixed quote length (id: 163)
2022-06-22 12:13:14 +02:00
Miodec
9d2dfa9754 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-22 12:12:24 +02:00
Miodec
1545ecc1b2 disabled autorole 2022-06-22 12:12:18 +02:00
Bruce Berrios
daa7529f3d
Webpack configs housekeeping (#3179) bruception 2022-06-22 12:11:14 +02:00
aria
5b4dfce534
Added 8 more English quotes (#3166) holyhearted
* Added 5 quotes

* fixed lengths and added MORE quotes

* merged current with prior stream

* Fetching upstream (#1)

* extended: language 'code rust' (#3104)

Added all derives and some very common traits as well as `pub(crate)`.

* added one english quote (#3094)

* added one english quote

* added one english quote

* updated the quote id 6095

* Custom Filters [Backend] (#3105)

* Added `ResultFilters` to types
Added customFilters field to user
This field is an optional array of `ResultFilters`
It will store a user's custom filters

* Added Add and Remove functions for `ResultFilters` in user DAL

Also added unit tests

* Added Custom Filter configuration

Can now enable/disable the custom filters feature
Can also set a cap on the number of filters per user

* Add and Remove functions for `ResultFilters` in user controller

* Added one english quote (#3109)

* added one english quote

* added one english quote

* updated the quote id 6095

* Added english quote id 6096

* Custom Filters [Backend] (#3105) (#3110)

* Added `ResultFilters` to types
Added customFilters field to user
This field is an optional array of `ResultFilters`
It will store a user's custom filters

* Added Add and Remove functions for `ResultFilters` in user DAL

Also added unit tests

* Added Custom Filter configuration

Can now enable/disable the custom filters feature
Can also set a cap on the number of filters per user

* Add and Remove functions for `ResultFilters` in user controller

* Added Haskell programming language (#3108)

* added: code_haskell language;

* fixed: missing comma;

* Contributing typos fix (#3114)

* 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

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>

* Fix yesterday toggle button (#3107)

Co-authored-by: Cody Bloemhard <cblmhrd@live.nl>
Co-authored-by: Jitesh Kumar Sahoo <77315098+Jitesh117@users.noreply.github.com>
Co-authored-by: Malo Hamon <hamon.malo@gmail.com>
Co-authored-by: aNOOBis <69043738+aNOOBisTheGod@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>

* fixed ids and added more quotes

* i sincerely hope this is the LAST TIME I DO THIS

* more quotes!

* removed inappropriate quote

* added more long english quotes

* added more whitespace between dashes

* fixed lengths for 5999, 6116 & 6117

* fixed lengths

* i don't have eyes

Co-authored-by: Cody Bloemhard <cblmhrd@live.nl>
Co-authored-by: Jitesh Kumar Sahoo <77315098+Jitesh117@users.noreply.github.com>
Co-authored-by: Malo Hamon <hamon.malo@gmail.com>
Co-authored-by: aNOOBis <69043738+aNOOBisTheGod@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>
2022-06-22 12:08:11 +02:00
smunky
3e614d3984
replaced edit with save (#3191) 2022-06-21 19:25:28 -04:00
Bruce Berrios
4fa24c0bc3
Fix rank scrolling (#3187)
* Fix rank scrolling

* Add await
2022-06-21 22:44:54 +02:00
Bruce Berrios
af34ccaa56
Add ñ as an accent (#3188) 2022-06-21 22:36:01 +02:00
Bruce Berrios
7f26f33445
Fix consistency bug (#3189) 2022-06-21 22:35:43 +02:00
Miodec
e196f3f6be fixed no column definition 2022-06-21 21:47:21 +02:00
Miodec
801b6763b0 width 100% 2022-06-21 21:03:43 +02:00
Miodec
4ef5cda7ca fix quote lengths 2022-06-21 20:59:17 +02:00
Bruce Berrios
ba111e6764
Fix leaderboard avatars (#3181) Bruception, zachstence
* Fix leaderboard avatars

* Allow HTML

* Use function notation

* Use utility

* Fix

* larger image

* not that large

* requesting png

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-21 20:50:33 +02:00