* 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>
* Update _list.json to add Portuguese from Portugal layouts, both ISO and ANSI
* Update _list.json moved portuguese_pt down
* Update _list.json moved portuguese_pt down
* Update turkish_5k.json
correction for misspelled words and a few additions and deletions
* Update turkish_5k.json
fixed typos and added new words for improvement
* Update turkish.json
Typo fixes
* Update turkish.json
* Update turkish.json
* Update turkish.json
* docs: added some checkboxes, a heading and a comment explaining it.
Why is this good?
- People usually don't do things unless they are asked to and also can
happen that they just know it. Mostly the conventional commit
messages.
* docs: added some comments about the ci checks and a bonus comment to
remove the "close #" if you are not using it.
* updated checks
* we are already talking about conventional commits in the checks section
* refactor: ensure language and theme comments are within checks also
move comment for visual changes to descriptions for screenshots
* refactor: moved "adding screenshots" to the checks section.
---------
Co-authored-by: Miodec <jack@monkeytype.com>
* wip: More results and filters for premium users
* use offset+limit instead of beforeTimestamp, add configuration for max results for regular/premium users
* add isPremium to /users response
* cleanup
* review comments
* review comments
* update base config
* update premium data type
* add undefined check
* interface name
* add start timestamp
* refactor
* move function to util, rename params, use isFinite
* merge fix
* fixed tests
---------
Co-authored-by: Miodec <jack@monkeytype.com>
* sharing is caring?
* replace 5 year old package with a more modern one
* ignore firebase config
* update import/resolver settings so that we no longer have to ignore @backend imports
---------
Co-authored-by: Miodec <jack@monkeytype.com>
refactored the speak checks to make sure many "unspeakable" funboxes can be used at once
unspeakable funboxes are only blocked when "speaks" funbox is enabled