mirror of
https://github.com/different-ai/openwork
synced 2026-05-14 19:16:24 +02:00
When using an IME (e.g. Chinese, Japanese, Korean input methods), pressing Enter to confirm character conversion was incorrectly triggering form submissions, message sends, and other actions. Changes across 10 files: - composer.tsx: triple-check IME state (event.isComposing + manual compositionstart/end flag + keyCode === 229) with addEventListener binding to work around SolidJS event delegation limitations - model-picker-modal.tsx: guard Enter for model selection - question-modal.tsx: guard Enter for option/custom input (2 handlers) - rename-session-modal.tsx: guard Enter for session rename - rename-workspace-modal.tsx: guard Enter for workspace rename - dashboard.tsx: guard Enter for workspace/session list items (3 handlers) - session.tsx: guard Enter for workspace/session list items (3 handlers) - proto-v1-ux.tsx: guard Enter for expandable section toggle - skills.tsx: guard Enter for skill card activation - onboarding.tsx: guard Enter for directory path input Co-authored-by: taoyuan <taoyuan@gmail.com>