supermemory/apps/web/components
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
..
add-document feat(web): company brain onboarding redesign + connector entitlement (#1178) 2026-06-30 22:01:20 +00:00
brain-home feat(web): company brain trial visibility + setup timeline (#1384) 2026-08-02 07:46:05 +00:00
chat fix(web): guard e.key before toLowerCase in chat keydown handler 2026-08-03 01:33:03 +00:00
document-cards Support HTML file uploads in Nova (#1076) 2026-06-10 06:09:20 +00:00
document-modal fix(web): match YouTube URLs by hostname instead of substring (#1182) 2026-07-10 16:20:18 -07:00
integrations docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
mcp-modal MCP Revamp (#1120) (#1380) 2026-07-30 17:08:51 -07:00
memory-graph memory graph loader (#1072) 2026-06-09 17:39:35 +00:00
nova fix(web): org plan badges via org-summaries and refresh Nova chat empty state (#968) 2026-05-18 23:44:09 +00:00
onboarding add responsivness in share graph, bookmark section, navigation controls (#940) 2026-05-15 08:37:01 -07:00
onboarding-brain feat(web): company brain trial visibility + setup timeline (#1384) 2026-08-02 07:46:05 +00:00
settings feat(web): add Company Brain skills settings (#1322) 2026-08-02 05:36:32 +00:00
text-editor Improve quick note editor interactions & fix filter chips responsiveness (#989) 2026-05-23 11:54:17 -07:00
add-space-modal.tsx feat(spaces): per-space entity context + edit-space modal (#1078) 2026-06-12 20:51:37 +00:00
animated-gradient-background.tsx feat: major iteration on the app (#896) 2026-05-02 23:58:58 +00:00
app-experience.tsx feat(web): Slack disconnect UI and connect-error toasts (#1375) 2026-07-31 07:11:26 +00:00
bottom-nav.tsx feat(settings): settings modal overhaul (#1069) 2026-06-09 12:07:47 +05:30
brain-connector-icons.tsx feat(web): brain connections board + MCP connect from web (#1181) 2026-07-02 16:24:50 +00:00
brain-trial-pill.tsx feat(web): company brain trial visibility + setup timeline (#1384) 2026-08-02 07:46:05 +00:00
company-brain-header.tsx feat(web): company brain trial visibility + setup timeline (#1384) 2026-08-02 07:46:05 +00:00
company-brain-promo.tsx feat(web): surface Company Brain to personal-brain users (#1370) 2026-07-28 04:25:04 +00:00
configure-view.tsx feat(web): add Company Brain skills settings (#1322) 2026-08-02 05:36:32 +00:00
connect-ai-modal.tsx MCP Revamp (#1120) (#1380) 2026-07-30 17:08:51 -07:00
dashboard-view.tsx Add shared Agents memory workspace (#1290) 2026-07-23 12:18:44 -07:00
digests-view.tsx add weekly digests, log, and opt out options (#1107) 2026-06-18 01:06:40 +00:00
document-icon.tsx fix(web): match YouTube URLs by hostname instead of substring (#1182) 2026-07-10 16:20:18 -07:00
documents-command-palette.tsx feat(settings): settings modal overhaul (#1069) 2026-06-09 12:07:47 +05:30
edit-space-modal.tsx feat(spaces): per-space entity context + edit-space modal (#1078) 2026-06-12 20:51:37 +00:00
ensure-workspace.tsx feat(brain): add /brain Slack-first onboarding entry (#1310) 2026-07-21 21:19:54 +00:00
error-boundary.tsx error boundaries 2026-02-12 16:41:12 -08:00
feedback-modal.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
fullscreen-note-modal.tsx Revert "Improve quick note editor interactions & fix filter chips responsiveness" (#987) 2026-05-21 22:42:01 +05:30
granola-connect-modal.tsx feat/granola connector (#1007) 2026-06-03 15:19:49 +00:00
graph-layout-view.tsx Improve memory graph (#973) 2026-06-05 15:48:41 -07:00
header.tsx feat(web): company brain onboarding research UI (#1197) 2026-07-05 00:06:02 +00:00
highlights-card.tsx fix: add show more/less toggle for truncated highlights in Nova (#1029) 2026-05-31 19:10:43 -07:00
initial-header.tsx fix(web): restore Nova onboarding analytics events (#1023) 2026-05-29 19:54:13 +00:00
integration-icons.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
integrations-view.tsx docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
login-tools-panel.tsx Show the orbit animation on the login panel (#1168) 2026-06-27 10:55:37 -07:00
memories-grid.tsx Add OpenCode to Agents spaces (#1354) 2026-07-24 08:51:19 -07:00
orbit-memory.tsx Show the orbit animation on the login panel (#1168) 2026-06-27 10:55:37 -07:00
org-plan-badge.tsx feat(billing): add Max plan to nova with cancel/resume flow (#1024) 2026-05-31 19:10:17 +00:00
pwa-install-prompt.tsx feat(web): pwa prompt 'Add to Home Screen' opens share menu (#963) 2026-05-18 05:32:04 +00:00
query-client.tsx chore: remove the new folder and fix imports (#740) 2026-02-16 14:30:29 -07:00
quick-note-card.tsx Improve quick note editor interactions & fix filter chips responsiveness (#989) 2026-05-23 11:54:17 -07:00
remove-connection-dialog.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
review-memories-card.tsx review suggestions option for inferred memories (#1138) 2026-07-04 20:57:33 +00:00
review-memories-modal.tsx review suggestions option for inferred memories (#1138) 2026-07-04 20:57:33 +00:00
select-spaces-modal.tsx fix(web): rework agents discover panel in Select Space modal (#1379) 2026-07-31 04:52:36 +00:00
share-modal.tsx fix(web): use organization branding in Company Brain shares (#1360) 2026-07-25 03:46:17 +00:00
slack-connect-card.tsx feat(web): add Slack connect card to home + space selector polish (#1137) 2026-06-22 18:20:09 +00:00
space-folder-icon.tsx feat(web): mobile UX for dashboard, nav, and spaces (#1000) 2026-05-25 16:09:34 +05:30
space-glyph.tsx feat(web): mobile UX for dashboard, nav, and spaces (#1000) 2026-05-25 16:09:34 +05:30
space-profile-modal.tsx add org level context and space level profile (#1002) 2026-05-26 10:17:56 -07:00
space-profile-panel.tsx feat(spaces): per-space entity context + edit-space modal (#1078) 2026-06-12 20:51:37 +00:00
space-selector.tsx Add shared Agents memory workspace (#1290) 2026-07-23 12:18:44 -07:00
spinner.tsx feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
superloader.tsx Grok 4.3, web sources UX, and mobile polish (#1064) 2026-06-08 12:34:15 +05:30
timeline-view.tsx fix(web): match YouTube URLs by hostname instead of substring (#1182) 2026-07-10 16:20:18 -07:00
user-profile-menu.tsx feat(web): surface Company Brain to personal-brain users (#1370) 2026-07-28 04:25:04 +00:00
utils.ts fix(web): match YouTube URLs by hostname instead of substring (#1182) 2026-07-10 16:20:18 -07:00