Skip to content

add IME composition guards across the board - #291

Merged
maxwellpeterson merged 1 commit into
mainfrom
mpeterson/ime
Aug 21, 2026
Merged

maxwellpeterson merged 1 commit into
mainfrom
mpeterson/ime

Conversation

@maxwellpeterson

Copy link
Copy Markdown
Member

Closes #81

@github-actions github-actions Bot added the workshop/frontend Changes to the Workshop frontend label Aug 20, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@github-actions

Copy link
Copy Markdown

Preview: pr291-mpeterson-ime

https://pr291-mpeterson-ime-router.cloudflare-os-previews.workers.dev

Dashboard · deleted when this PR closes

@maxwellpeterson
maxwellpeterson marked this pull request as ready for review August 20, 2026 23:49
@maxwellpeterson
maxwellpeterson merged commit 1a0f20b into main Aug 21, 2026
12 checks passed
@maxwellpeterson
maxwellpeterson deleted the mpeterson/ime branch August 21, 2026 00:14
tosaka07 added a commit to tosaka07/cloudflare-os that referenced this pull request Aug 21, 2026
* upstream/main:
  Seed Linear and Spotify OAuth creds in local dev (cloudflare#90)
  add IME composition guards across the board (cloudflare#291)
  follow-up fixes from cloudflare#274 (cloudflare#290)
  Don't send the chat message on an IME composition Enter (cloudflare#280)
  Lay the foundation for a Google Drive gatekeeper (cloudflare#286)
  fix gatekeeper connection modal on mobile (cloudflare#289)
  make context collection settings visible on mobile (cloudflare#288)
  fix modal presentation for embedded gatekeeper UI (cloudflare#287)
  Frontend reconnect hardening: tab wake & reconnect probe (cloudflare#172)
  store context files as byte arrays instead of JS strings (cloudflare#274)
  Pin @cloudflare/* to the public registry, and move CI onto setup-vp (cloudflare#283)
  Make the Workshop UI fully responsive on phones (cloudflare#284)
darjss pushed a commit to darjss/cloudflare-os-erxes that referenced this pull request Aug 26, 2026
teknium1 added a commit to NousResearch/hermes-agent that referenced this pull request Sep 14, 2026
… every desktop text field

Widens the salvaged Kanban fix (PR #94611 by @huklaa) to the whole bug
class, following cloudflare-os PR #291 which centralized one
isImeComposing predicate and swept every Enter-submit site.

- New shared helper src/lib/ime.ts (isImeComposing / isSubmitEnter):
  handles nativeEvent.isComposing (React), event.isComposing (DOM), and
  the legacy Chromium/Safari keyCode 229 commit-Enter that arrives after
  compositionend.
- Sweeps 21 previously unguarded Enter-submit sites: dialogs (project,
  worktree, profile-remote-override, pet rename), settings fields
  (credential keys, model API key, quick-entry shortcut, attachment
  size, combobox), quick entry, pet overlay composer, pet generate +
  hatch, review ship bar, file rename, preview browser address bar,
  model catalog menu, MCP setup + approval strips, Kanban drawer.
- Upgrades two partial guards (onboarding, session-actions-menu) that
  checked isComposing but missed keyCode 229.
- find-in-page: Enter step no longer fires mid-composition (typed CJK
  search queries jumped the viewport on every conversion commit).

Validation: tsc clean, eslint clean, 135 tests green across ime/find-bar/
composer/kanban suites; sabotage run (guard removed) fails the new test.
teknium1 added a commit to NousResearch/hermes-agent that referenced this pull request Sep 14, 2026
… every desktop text field

Widens the salvaged Kanban fix (PR #94611 by @huklaa) to the whole bug
class, following cloudflare-os PR #291 which centralized one
isImeComposing predicate and swept every Enter-submit site.

- New shared helper src/lib/ime.ts (isImeComposing / isSubmitEnter):
  handles nativeEvent.isComposing (React), event.isComposing (DOM), and
  the legacy Chromium/Safari keyCode 229 commit-Enter that arrives after
  compositionend.
- Sweeps 21 previously unguarded Enter-submit sites: dialogs (project,
  worktree, profile-remote-override, pet rename), settings fields
  (credential keys, model API key, quick-entry shortcut, attachment
  size, combobox), quick entry, pet overlay composer, pet generate +
  hatch, review ship bar, file rename, preview browser address bar,
  model catalog menu, MCP setup + approval strips, Kanban drawer.
- Upgrades two partial guards (onboarding, session-actions-menu) that
  checked isComposing but missed keyCode 229.
- find-in-page: Enter step no longer fires mid-composition (typed CJK
  search queries jumped the viewport on every conversion commit).

Validation: tsc clean, eslint clean, 135 tests green across ime/find-bar/
composer/kanban suites; sabotage run (guard removed) fails the new test.
QuixThe2nd pushed a commit to QuixThe2nd/hermes-ide that referenced this pull request Sep 15, 2026
…ware Enter guards across every desktop text field
sremes pushed a commit to sremes/hermes-mobile that referenced this pull request Sep 18, 2026
… every desktop text field

Widens the salvaged Kanban fix (PR #94611 by @huklaa) to the whole bug
class, following cloudflare-os PR #291 which centralized one
isImeComposing predicate and swept every Enter-submit site.

- New shared helper src/lib/ime.ts (isImeComposing / isSubmitEnter):
  handles nativeEvent.isComposing (React), event.isComposing (DOM), and
  the legacy Chromium/Safari keyCode 229 commit-Enter that arrives after
  compositionend.
- Sweeps 21 previously unguarded Enter-submit sites: dialogs (project,
  worktree, profile-remote-override, pet rename), settings fields
  (credential keys, model API key, quick-entry shortcut, attachment
  size, combobox), quick entry, pet overlay composer, pet generate +
  hatch, review ship bar, file rename, preview browser address bar,
  model catalog menu, MCP setup + approval strips, Kanban drawer.
- Upgrades two partial guards (onboarding, session-actions-menu) that
  checked isComposing but missed keyCode 229.
- find-in-page: Enter step no longer fires mid-composition (typed CJK
  search queries jumped the viewport on every conversion commit).

Validation: tsc clean, eslint clean, 135 tests green across ime/find-bar/
composer/kanban suites; sabotage run (guard removed) fails the new test.
gmackie pushed a commit to gmackie/educate-os that referenced this pull request Nov 3, 2026
…nse and read-and-respond, read-aloud, drawing pad, voice recording' (cloudflare#291) from SCHO-323-young-learners into main
kanekoshoyu pushed a commit to kanekoshoyu/hermes-agent-1 that referenced this pull request Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

workshop/frontend Changes to the Workshop frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enter during IME composition sends the message (Japanese/Chinese/Korean input)

2 participants