supermemory/apps/web
Cursor Agent 8cedfd2883
fix(web): guard e.key before toLowerCase in chat keydown handler
When a keydown event fires with e.key === undefined (e.g. from synthetic
events via browser extensions, accessibility tools, or IME compositions),
calling e.key.toLowerCase() throws an unhandled TypeError.

Add optional chaining so e.key?.toLowerCase() safely returns undefined
when e.key is absent, causing the if-condition to evaluate to false and
the handler to skip gracefully.

Fixes Sentry issue CONSUMER-APP-19V.

Co-authored-by: Dhravya Shah <dhravya@supermemory.com>
2026-08-03 01:33:03 +00:00
..
app validate MCP OAuth login flow (#1395) 2026-08-01 05:15:22 +00:00
components fix(web): guard e.key before toLowerCase in chat keydown handler 2026-08-03 01:33:03 +00:00
hooks feat(web): company brain trial visibility + setup timeline (#1384) 2026-08-02 07:46:05 +00:00
lib feat(web): add Company Brain skills settings (#1322) 2026-08-02 05:36:32 +00:00
public add weekly digests, log, and opt out options (#1107) 2026-06-18 01:06:40 +00:00
stores feat(web): company brain entitlement helper, hook + ?org deep-link activation (#1110) 2026-06-22 17:54:13 +00:00
.env.example feat: deep-research on user profile and tiptap integration (#672) 2026-01-15 21:53:53 +00:00
.gitignore sentry sourcemaps 2025-08-23 09:55:40 -07:00
biome.json feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
components.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
globals.css Render Nova connector setup cards (#1071) 2026-07-28 15:58:50 +00:00
instrumentation-client.ts feat: warning when model is unavailable in the region (#814) 2026-03-28 05:52:41 +00:00
middleware.ts MCP Revamp (#1120) (#1380) 2026-07-30 17:08:51 -07:00
next.config.ts Rewrite @supermemory/memory-graph with perf optimizations + consolidate consumers (#809) 2026-03-28 19:06:27 -07:00
open-next.config.ts feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
package.json chore(web): remove unused @lobbyside/react integration (#1156) 2026-06-23 10:00:59 -07:00
postcss.config.mjs feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
README.md New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
tsconfig.json fix 2026-02-09 22:07:09 -08:00
wrangler.jsonc feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00

supermemory Consumer