monkeytype/frontend/static
Christian Fehmer 1d4d7dab87
feat: Allow more results for premium users (fehmer, Miodec) (#4778)
* feat: Unlimited history for premium users UI

* disable button while loading, show spinner

* optional chaining

* add isPremium to /users, remove check from frontend

* add /results max batch size to configuration

* result batching ui v1

* rename variables, update button based on state, update text

* Return allowed results in /results if limit is partly overshooting the max limit

* use br instead of margin

* let result batches code handle button disabling

* hide title

* limit max width

* hide section when below batch size

* update limit color based on the % of limit used

* bring back loaded bar

* remove unused css

* fix alignemtn

* remove text for now

* add result getting log

* always hiding for non premium users for now

* Add server configuration users.premium.enabled, throw error on /results if premium user exceeds regular limit and premium is globally disabled

* Disable premium feature globally by default

* cleanup open todos

* Don't use premium user max limit on /results if premium feature is disabled on server

* fix merge issue

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-20 16:17:20 +00:00
..
.well-known updated email addresses 2023-02-14 00:22:37 +01:00
about chore: contributors script 2023-11-13 13:57:47 +00:00
challenges revert: sourcecode text change 2023-08-22 22:24:47 +02:00
css
fonts Add Hack Nerd Font. (#4514) ojas-bhagavath 2023-08-08 11:57:40 +02:00
funbox feat(funbox): add mode that doubles each letter (LyricLy) (#4771) 2023-11-09 13:56:37 +00:00
html feat: Allow more results for premium users (fehmer, Miodec) (#4778) 2023-11-20 16:17:20 +00:00
images impr: increase favicon quality by using svg (fehmer) (#4652) 2023-09-25 11:41:04 +01:00
js chore: update jQuery to 3.7.1 (fehmer) (#4649) 2023-09-21 13:06:11 +01:00
languages chore: remove duplicates 2023-11-17 15:57:14 +00:00
layouts impr(layouts): add Portuguese Portugal ISO and ANSI (diogozarro) (#4795) 2023-11-15 14:32:36 +00:00
quotes chore: quote lengths script 2023-11-20 15:17:13 +00:00
sound impr(sound): add support for various error sounds (W0LFB0MB) (#4679) 2023-10-02 16:09:30 +01:00
themes Prettier fix (#4708) 2023-10-07 21:02:58 -04:00
webfonts Add Hack Nerd Font. (#4514) ojas-bhagavath 2023-08-08 11:57:40 +02:00
email-handler.html refactor: rename centerContent to contentWrapper 2023-09-23 12:17:49 +01:00
main.html impr: update title on page change 2023-09-27 11:16:34 +01:00
manifest.json
privacy-policy.html docs: fix missing space 2023-11-16 13:46:19 +00:00
robots.txt added sitemap link 2023-01-16 02:21:16 +01:00
security-policy.html docs: update discord username 2023-09-25 12:22:14 +01:00
sitemap.xml added sitemap 2023-01-16 01:48:48 +01:00
terms-of-service.html docs: update discord username 2023-09-25 12:22:14 +01:00