monkeytype/frontend/static/html
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
..
pages feat: Allow more results for premium users (fehmer, Miodec) (#4778) 2023-11-20 16:17:20 +00:00
footer.html refactor: fix version button wrapped in two buttons 2023-09-20 11:54:03 +01:00
head.html impr: increase favicon quality by using svg (fehmer) (#4652) 2023-09-25 11:41:04 +01:00
header.html refactor: use id instead of class 2023-09-23 12:17:49 +01:00
popups.html refactor: fix accessibility of edit profile button 2023-11-17 15:35:44 +00:00
warnings.html Accessibility (#4227) D3press3dd 2023-04-28 15:52:22 +02:00