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__
docker
scripts
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
gulpfile.js
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
vite.config.js
vitest.config.js test: update to vitest 1.6.0, use v8 coverage provider (#5389) 2024-05-13 13:25:21 +02:00