monkeytype/frontend
Nad Alaba 5cd8b0e6e4
fix(xp): displayed level-xp not calculated correctly, animations sometimes not playing correctly (NadAlaba) (#5379)
* new xp details calculation based on same level-xp-formula

* fix displayed xp on profile page

* fix xp-bar width on account-button

* change ordering to minimize code duplication

* animate xp bar between different levels when (endingLevel-startingLevel<1)

* refactoring and commenting on levels functions

* fix flash level animation

the animation of flashLevel() was not visible because the css property
'transition',
which was set to 0.125s in order to highlight the level on hover,
was conflicting with the parameters of jquery animate()

* annotate a clever trick and give more suitable variable names

* update function and variable names

* rename function

* naming

* reeename

* reeeeEeeeEeeeename

* rererereeeeeeeeeeeeee

name

* fix function names in comments

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-05-15 15:17:06 +02:00
..
__tests__ refactor(utils): distribute color, numbers, strings and other group of functions into separate util files from misc.ts (sanidhyas3s) (#5254) 2024-04-03 22:12:48 +02:00
docker chore: improve docker files for local development (#5157) 2024-03-04 16:10:22 +01:00
scripts chore: quote lengths script 2024-03-11 22:32:40 +01:00
src fix(xp): displayed level-xp not calculated correctly, animations sometimes not playing correctly (NadAlaba) (#5379) 2024-05-15 15:17:06 +02:00
static chore: quote lengths script 2024-05-13 15:03:41 +02:00
.eslintignore
.firebaserc_example
firebase.json fix: dont rewrite static assets to index 2024-02-23 19:43:33 +01:00
gulpfile.js build: replace webpack with vite (#5096) 2024-02-22 02:24:20 +01:00
knip.json
package-lock.json test: update to vitest 1.6.0, use v8 coverage provider (#5389) 2024-05-13 13:25:21 +02:00
package.json test: update to vitest 1.6.0, use v8 coverage provider (#5389) 2024-05-13 13:25:21 +02:00
tsconfig.json test: replace jest with vitest on frontend (fehmer) (#5105) 2024-02-26 12:23:50 +01:00
vite.config.js impr: add selfhosting using docker only (fehmer) (#5170) 2024-03-12 12:02:13 +01:00
vitest.config.js test: update to vitest 1.6.0, use v8 coverage provider (#5389) 2024-05-13 13:25:21 +02:00