supermemory/apps/web/components
vimzh 3fe7eb83d1 fix(tweet-preview): shape-check, fallback UI, memoize, and warn on bad data
Copilot review flagged three things:

1. Casting an arbitrary parsed object to Tweet without validating shape
   can still crash inside enrichTweet. Added an isTweetLike type guard
   that requires the 'user' field, which both CustomTweetHeader and the
   downstream enrichTweet expect.
2. Returning null on bad data silently hid the failure. Now render a
   small 'Tweet preview unavailable' fallback (matching the style of
   the existing fallback in document-modal/content/tweet.tsx) and emit
   a console.warn so failures show up during debugging.
3. JSON.parse was running on every render. Wrapped in useMemo keyed by
   the data prop so reparsing only happens when the input changes.
2026-05-24 12:44:28 +05:30
..
add-document Revert "Improve quick note editor interactions & fix filter chips responsiveness" (#987) 2026-05-21 22:42:01 +05:30
chat fix: graph controls gap on compact viewports + model selector z-index (#982) 2026-05-23 08:47:19 -07:00
document-cards fix(tweet-preview): shape-check, fallback UI, memoize, and warn on bad data 2026-05-24 12:44:28 +05:30
document-modal Revert "Improve quick note editor interactions & fix filter chips responsiveness" (#987) 2026-05-21 22:42:01 +05:30
integrations Fix Raycast API key bug and redesign setup modal (#960) 2026-05-17 23:15:04 +00:00
mcp-modal chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
memory-graph Revert "feat(graph): auto-paginate consumer graph + loading progress chip" (#975) 2026-05-19 14:35:15 -07: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
settings chore: replace play icon with sync icon on connections list (#983) 2026-05-21 17:32:34 +05:30
text-editor Improve quick note editor interactions & fix filter chips responsiveness (#989) 2026-05-23 11:54:17 -07:00
add-space-modal.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
animated-gradient-background.tsx feat: major iteration on the app (#896) 2026-05-02 23:58:58 +00:00
connect-ai-modal.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
dashboard-view.tsx fix chat scroll and role section (#972) 2026-05-21 21:21:19 +05:30
document-icon.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
documents-command-palette.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
ensure-workspace.tsx feat: enhanced the integration page for more conversion (#899) 2026-05-04 17:41:52 +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
graph-layout-view.tsx Revert "feat(graph): auto-paginate consumer graph + loading progress chip" (#975) 2026-05-19 14:35:15 -07:00
header.tsx mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
highlights-card.tsx feat: highlight chat shows inline reply and uses highlight as assistant's first message (#944) 2026-05-16 08:11:08 +00:00
initial-header.tsx fix: redirect new users to onboarding from plugin connect page (#908) 2026-05-11 10:57:43 -07:00
integration-icons.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
integrations-view.tsx add codex plugin logo and add in description (#943) 2026-05-15 08:25:43 -07:00
memories-grid.tsx Improve quick note editor interactions & fix filter chips responsiveness (#989) 2026-05-23 11:54:17 -07:00
next-app-research-cta.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +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
select-spaces-modal.tsx fix(web): org plan badges via org-summaries and refresh Nova chat empty state (#968) 2026-05-18 23:44:09 +00:00
share-modal.tsx add responsivness in share graph, bookmark section, navigation controls (#940) 2026-05-15 08:37:01 -07:00
space-selector.tsx fix(web): org plan badges via org-summaries and refresh Nova chat empty state (#968) 2026-05-18 23:44: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 chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
timeline-view.tsx enable timeline memory selection (#990) 2026-05-23 11:49:52 -07:00
user-profile-menu.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
utils.ts chore: remove the new folder and fix imports (#740) 2026-02-16 14:30:29 -07:00