monkeytype/frontend
Leonabcd123 13b75f46bf
feat(test): add indicate typos both (@Leonabcd123) (#7072)
### Description

Added a "both" option to indicate typos that keeps the replace
functionality, and makes the below functionality show the correct
instead of the incorrect letters. We just check whether the mode is
`both` when deciding whether to pass `input` to `createHintsHtml` or to
pass `currentWord`. All functionality of replace and below is kept by
just adding or operators to check whether indicateTypos is `both` OR
replace/below.

Implementing #7024

---------

Co-authored-by: Jack <jack@monkeytype.com>
2025-11-15 10:46:31 +01:00
..
__tests__ chore: upgrade to vite 7 (@miodec) (#7051) 2025-10-27 17:17:21 +01:00
docker chore: bump node version 2025-10-31 14:18:59 +01:00
scripts build: extract vite plugins (@fehmer) (#7103) 2025-11-12 16:54:56 +01:00
src feat(test): add indicate typos both (@Leonabcd123) (#7072) 2025-11-15 10:46:31 +01:00
static feat(theme): add Vesper Light (@SameerJS6) (#7040) 2025-11-13 15:34:51 +01:00
vite-plugins build: extract vite plugins (@fehmer) (#7103) 2025-11-12 16:54:56 +01:00
.eslintrc.cjs chore(eslint): add rule to protect against accessing __testing outside of test files 2025-09-01 14:25:58 +02:00
.firebaserc_example
.oxlintrc.json chore: change oxlint config to jsonc 2025-09-11 22:04:48 +02:00
firebase.json
package.json chore: update vitest to 4.0.8 (@fehmer) (#7096) 2025-11-12 12:42:30 +01:00
tsconfig.json build: extract vite plugins (@fehmer) (#7103) 2025-11-12 16:54:56 +01:00
vite.config.dev.js build: extract vite plugins (@fehmer) (#7103) 2025-11-12 16:54:56 +01:00
vite.config.js refactor: use virtual module for env-config (@fehmer) (#7095) 2025-11-12 14:23:03 +01:00
vite.config.prod.js build: extract vite plugins (@fehmer) (#7103) 2025-11-12 16:54:56 +01:00
vitest.config.ts build: extract vite plugins (@fehmer) (#7103) 2025-11-12 16:54:56 +01:00