discourse/plugins/discourse-ai/test/javascripts/acceptance
David Battersby 3685518098
FIX: AI bot submission in safari during IME composition (#40276)
Follow up to #40167 which added `event.isComposing` on the keydown
check. This works fine in Chrome but Safari has some known bugs and
quirks for `isComposing` during IME text composition. In Safari, the
event order for composition and key events is often out-of-order.

This change switches the approach to use `beforeinput` and check for
`insertLineBreak` on the textarea. It also adds a `<form>` wrapper
around the helper-prompt input, so the browser filters IME confirmation
natively on both Chrome and Safari.
2026-05-26 16:27:31 +08:00
..
ai-bot-chats-tab-test.js FEATURE: Bot only PMs filter (#39891) 2026-05-18 10:29:03 -03:00
ai-bot-conversations-test.js FIX: AI bot submission in safari during IME composition (#40276) 2026-05-26 16:27:31 +08:00
ai-bot-sidebar-link-test.js DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
post-helper-menu-test.js DEV: Remove plugin names from test titles (#39418) 2026-04-21 19:19:52 +02:00
topic-summary-test.js FIX: State-changing summary generation is exposed via GET (CSRFable navigation) (#40232) 2026-05-22 13:59:21 -03:00