supermemory/apps/web/components
abhay-codes07 8db722d76c
fix(web): reset command palette selection when the result list changes
The effect commented 'Reset selection on items change' had an empty
dependency array, so it only ever ran on mount. Arrow down to row 5 of
the recent-documents list, then type a query that returns two results:
selectedIndex stays 5, no row is highlighted (nothing renders
data-index=5), and Enter silently does nothing because items[5] is
undefined. The selection also never snaps back to the top result when
new results stream in.

Snap the selection to the top whenever the query text changes, and
clamp it into range whenever the item list shrinks (async search
results replacing the recent docs, refetches while the palette is
open).
2026-07-13 00:08:57 +05:30
..
add-document feat(web): company brain onboarding redesign + connector entitlement (#1178) 2026-06-30 22:01:20 +00:00
brain-home feat(web): hide getting-started once setup done, swap setup tile (#1190) 2026-07-03 04:12:38 +00:00
chat fix(web): use backend URL fallback for direct fetches (#1212) 2026-07-10 20:02:24 -07: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 feat(web): add staff custom MCP connection cards (#1199) 2026-07-06 06:11:09 +00:00
mcp-modal Add Antigravity MCP setup (#1119) 2026-06-16 12:10:36 +05:30
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 onboarding research UI (#1197) 2026-07-05 00:06:02 +00:00
settings feat(web): Company Brain proactiveness (automations) settings (#1207) 2026-07-07 21:20:50 +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 fix(web): use backend URL fallback for direct fetches (#1212) 2026-07-10 20:02:24 -07: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
company-brain-header.tsx feat(web): company brain onboarding research UI (#1197) 2026-07-05 00:06:02 +00:00
connect-ai-modal.tsx Add Antigravity MCP setup (#1119) 2026-06-16 12:10:36 +05:30
dashboard-view.tsx review suggestions option for inferred memories (#1138) 2026-07-04 20:57:33 +00: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 fix(web): reset command palette selection when the result list changes 2026-07-13 00:08:57 +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(web): make /integrations a real route with connect deeplinks (#1155) 2026-06-23 20:42:29 +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 feat(web): company brain onboarding redesign + connector entitlement (#1178) 2026-06-30 22:01:20 +00: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 org level context and space level profile (#1002) 2026-05-26 10:17:56 -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 feat(web): company brain — invite-accept page, space UX/visibility, org-scoped daily brief (#1112) 2026-06-22 18:12:18 +00:00
share-modal.tsx add responsivness in share graph, bookmark section, navigation controls (#940) 2026-05-15 08:37:01 -07: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 feat(web): add Slack connect card to home + space selector polish (#1137) 2026-06-22 18:20:09 +00: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): Company Brain proactiveness (automations) settings (#1207) 2026-07-07 21:20:50 +00:00
utils.ts fix(web): match YouTube URLs by hostname instead of substring (#1182) 2026-07-10 16:20:18 -07:00