monkeytype/frontend
Nad Alaba 661c138812
fix(zen mode): issues when changing tape mode and other caret issues (@NadAlaba) (#5824)
* fix(zen mode): undefined word when changing tape mode during test (@NadAlaba)

* fix(zen mode): shrinking full-width-caret when changing tape mode during test (@NadAlaba)

* fix(zen mode): messed up caret in RTL languages (@NadAlaba)

because of the letter '_' that is added to the beginning of a word
in zen mode, the caret is getting positioned on the 2nd letter.

Also, since lastWordLetter is always undefined (because wordLen is
always 0) offsetHeight and offsetTop are getting the default values
regardless of font characteristics.

* fix caret staying in position in (blind + word tape + zen) mode

* refactor: combine last 2 solutions

* rename parameter
2024-09-02 12:10:45 +02:00
..
__tests__ fix(config): some settings sometimes being reset on refresh 2024-08-16 01:11:59 +02:00
docker chore: switch from npm to pnpm (#5690) 2024-07-30 22:36:19 +02:00
scripts chore: add more eslint rules (#5687) 2024-07-30 18:17:58 +02:00
src fix(zen mode): issues when changing tape mode and other caret issues (@NadAlaba) (#5824) 2024-09-02 12:10:45 +02:00
static impr(quotes): add English quote (#5832) 2024-09-02 10:58:44 +02:00
.eslintrc.cjs refactor: restructure project to a true monorepo (#5626) 2024-07-22 15:08:11 +02:00
.firebaserc_example
firebase.json chore: output version to version.json 2024-07-26 18:17:08 +02:00
gulpfile.js
knip.json
package.json impr: use ts-rest for results endpoint (@fehmer) (#5758) 2024-08-23 12:13:50 +02:00
tsconfig.json refactor: restructure project to a true monorepo (#5626) 2024-07-22 15:08:11 +02:00
vite.config.dev.js impr(dev): add quick login button to frontend dev modal 2024-07-27 16:48:58 +02:00
vite.config.js chore: rebuild all files instead of just what changed 2024-08-09 17:01:10 +02:00
vite.config.prod.js fix: missing env definition 2024-07-27 18:10:08 +02:00
vitest.config.js chore: fix tests using machine timezone (@fehmer) (#5740) 2024-08-08 12:10:11 +02:00