learning_ai_common_plat/packages/command-palette
saravanakumardb1 de7e0dcb84 fix(command-palette): guard keydown with undefined key (no crash)
Some keydown events (autofill, IME/composition, certain extensions) arrive with
e.key === undefined, crashing the hotkey handler at e.key.toLowerCase(). Guard
e.key (and hotkey.key) before comparing. +1 test (undefined-key keydown is
ignored without throwing). 27 pass.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-31 04:47:40 -07:00
..
src fix(command-palette): guard keydown with undefined key (no crash) 2026-05-31 04:47:40 -07:00
package.json chore(deps): bump happy-dom 18 -> 20 (test env) 2026-05-31 03:42:57 -07:00
tsconfig.json feat(packages): Wave 2 v0.4 + Wave 3 v0.1 — ai-ui expanded, command-palette new 2026-05-27 12:43:23 -07:00
vitest.config.ts feat(packages): Wave 2 v0.4 + Wave 3 v0.1 — ai-ui expanded, command-palette new 2026-05-27 12:43:23 -07:00