monkeytype/frontend
Seif Soliman 01d8363e19
impr(caret): handle mixed language direction (@byseif21) (#6695)
### Description
enhances the caret positioning logic to support mixed language
directions (LTR and RTL) within words. It introduces a new
hasRTLCharacters utility function to detect RTL characters in individual
words, allowing the caret to adjust dynamically based on word-specific
direction rather than relying solely on the language's default direction

#### notes:
* tested no affect to the normal single direction.
* no tap mode handle included 
 * related #6694 #6666

---------

Co-authored-by: Jack <jack@monkeytype.com>
2025-09-04 12:36:59 +02:00
..
__tests__ impr(caret): handle mixed language direction (@byseif21) (#6695) 2025-09-04 12:36:59 +02:00
docker chore: update nodejs to 20.19.4 (@fehmer) (#6805) 2025-07-30 10:06:04 +02:00
scripts build: rename json-validation to check-assets, improve error messages (@fehmer) (#6933) 2025-09-03 18:10:34 +02:00
src impr(caret): handle mixed language direction (@byseif21) (#6695) 2025-09-04 12:36:59 +02:00
static feat(layout): add handsdown neu, and neu inverted (@aleksiye) (#6921) 2025-09-01 12:42:10 +02: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(deps): upgrade oxlint to 1.8.0, fix errors (@camc314) (#6776) 2025-07-24 14:32:12 +02:00
firebase.json
package.json build: rename json-validation to check-assets, improve error messages (@fehmer) (#6933) 2025-09-03 18:10:34 +02:00
tsconfig.json refactor: remove global type namespaces (@miodec) (#5907) 2024-09-23 15:34:16 +02:00
vite.config.dev.js refactor(schema): move font config to schema (@fehmer) (#6780) 2025-07-26 13:34:03 +02:00
vite.config.js refactor(schema): move font config to schema (@fehmer) (#6780) 2025-07-26 13:34:03 +02:00
vite.config.prod.js chore: implement manual chunks, make sentry a dynamic import 2025-08-20 21:56:26 +02:00
vitest.config.ts test: don't use globals for vitest (@fehmer) (#6871) 2025-08-14 11:25:44 +02:00