mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-27 08:13:28 +08:00
* 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> |
||
---|---|---|
.. | ||
__tests__ | ||
email-templates | ||
private | ||
redis-scripts | ||
src | ||
.gitignore | ||
docker-compose.yml | ||
example.env | ||
jest-mongodb-config.js | ||
jest.config.ts | ||
knip.json | ||
package-lock.json | ||
package.json | ||
tsconfig.json |