kvm/ui
Nitish Agarwal 1f79b7c737 fix: normalize Unicode characters in paste modal for proper detection
Fixes #957 - Paste modal now correctly detects Spanish characters
requiring AltRight modifier (@, |, #) and accented characters (ñ)
by normalizing all input text to NFC form before keyboard layout
lookup.

Root cause: macOS and other sources may provide text in NFD
(decomposed) form while keyboard layouts store characters in NFC
(composed) form. JavaScript object property lookup requires exact
byte match, causing lookups to fail despite characters being defined.

Solution: Apply .normalize('NFC') to all user input characters before
validation and paste execution.

Testing: Browser-based validation testing completed with Spanish
keyboard layout (es-ES) using text from multiple sources (TextEdit,
Safari, Notes) on macOS. Hardware testing requires JetKVM device.
2025-11-17 08:01:18 +05:30
..
localization feat: add remote IP address to connection stats sidebar (#944) 2025-11-11 12:00:37 +01:00
public Update UI dependencies (#819) 2025-09-24 12:16:02 +02:00
src fix: normalize Unicode characters in paste modal for proper detection 2025-11-17 08:01:18 +05:30
tools Localize the client/browser UI with inlang paraglide-js (#864) 2025-10-23 14:27:29 +02:00
.env.cloud-development feat(cloud): Add custom cloud API URL configuration support (#181) 2025-02-25 16:10:46 +01:00
.env.cloud-production feat(cloud): Add custom cloud API URL configuration support (#181) 2025-02-25 16:10:46 +01:00
.env.cloud-staging feat(cloud): Add custom cloud API URL configuration support (#181) 2025-02-25 16:10:46 +01:00
.gitignore Release 202412292127 2024-12-29 21:27:42 +01:00
.prettierrc refactor: network settings UI (#486) 2025-05-20 15:22:08 +02:00
dev_device.sh network enhanecment / refactor (#361) 2025-04-16 01:39:23 +02:00
eslint.config.cjs Localize the client/browser UI with inlang paraglide-js (#864) 2025-10-23 14:27:29 +02:00
index.html Localize the client/browser UI with inlang paraglide-js (#864) 2025-10-23 14:27:29 +02:00
package-lock.json chore: upgrade UI packages (except vite) (#954) 2025-11-10 14:53:18 +01:00
package.json chore: upgrade UI packages (except vite) (#954) 2025-11-10 14:53:18 +01:00
postcss.config.js chore: Upgrade UI vite and tailwind packages (#443) 2025-05-15 14:21:03 +02:00
tailwind.config.js chore(ui): Patch-bump packages and use tailwind upgrade (#456) 2025-05-16 19:59:57 +02:00
tsconfig.json Localize the client/browser UI with inlang paraglide-js (#864) 2025-10-23 14:27:29 +02:00
tsconfig.node.json Localize the client/browser UI with inlang paraglide-js (#864) 2025-10-23 14:27:29 +02:00
vite-env.d.ts Release 202412292127 2024-12-29 21:27:42 +01:00
vite.config.ts Localize the client/browser UI with inlang paraglide-js (#864) 2025-10-23 14:27:29 +02:00