supermemory/apps/web/components
MaheshtheDev 1706752668 mobile responsiveness pass + connections reauth fix (#959)
Nova mobile pass
- viewport: viewportFit cover for iOS safe-area-inset
- safe-area utilities (pb-safe, pt-safe, bottom-safe-5, scroll-fade-x) in globals.css
- chat FAB pinned above iPhone home indicator; chat sidebar widths responsive across sm/md/lg with min() clamps
- chat input CoT panel max-h capped via min(60dvh, 420px)
- header tab strip swapped from visible scrollbar to scroll-fade-x mask + snap-x
- nova empty state uses svh on mobile, dvh from sm up

Add-memory modal rebuilt for mobile
- mobile shell switched from fullscreen Dialog to vaul Drawer at 85svh with swipe-down dismissal and scaled background
- in-modal header removed; tabs moved to the bottom of the sheet for thumb reach
- four tab compactLabels: Note, Links, Files, Connections
- desktop tabs now render only when !isMobile (no DOM duplication)
- note/link content state lifted to parent so switching tabs preserves typed input
- NoteContent snapshots initialContent via lazy useState so the editor isn't reset on every keystroke
- shared Drawer base uses rounded-t-xl
- removed legacy pt-4 on tab content for mobile

Connections — replace expiresAt with sync-run health
- new useConnectionHealth hook reads the latest sync run and matches auth-failure patterns; backend errorKind field still needed (TODO)
- regex tightened so 401/403 require co-occurring auth/token/grant context; refresh_token requires expired/revoked/invalid/missing qualifier
- badge label changed Disconnected -> Needs reauth
- Reconnect button replaces the sync action when needsReauth, kicks off the same OAuth flow
- per-row reconnect tracking via mutation.variables instead of a single shared id (no race when multiple rows clicked)
- fallback toast when authLink is missing so the spinner can't get stuck
- sync history panel timeline capped at max-h-260 with internal scroll
- useSyncRuns no longer refetches on mount; cache (30s) actually applies, cutting N requests per modal open
2026-05-17 21:49:23 +00:00
..
add-document mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
chat mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
document-cards fix: Add plugin document rendering and MCP preview support (#938) 2026-05-15 18:26:37 +00:00
document-modal Fix modal memory graph scoping by document and space (#948) 2026-05-17 00:55:12 -07:00
integrations fix: Add plugin document rendering and MCP preview support (#938) 2026-05-15 18:26:37 +00:00
mcp-modal chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
memory-graph Fix modal memory graph scoping by document and space (#948) 2026-05-17 00:55:12 -07:00
nova mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
onboarding add responsivness in share graph, bookmark section, navigation controls (#940) 2026-05-15 08:37:01 -07:00
settings mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
text-editor chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00: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 Show own space as Your conversations (#956) 2026-05-17 00:15:37 -07:00
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 fix: improve settings sidebar overflow (#924) 2026-05-10 17:56:28 -07:00
graph-layout-view.tsx feat: make graph popover content scrollable and add View full button (#920) 2026-05-11 02:09:36 +00: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 feat: highlight chat shows inline reply and uses highlight as assistant's first message (#944) 2026-05-16 08:11:08 +00: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: PWA install instructions modal for mobile (#952) 2026-05-16 21:24:19 -07: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 chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00: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 Brand own space as Nova chats (#957) 2026-05-17 00:25:22 -07: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 Brand own space as Nova chats (#957) 2026-05-17 00:25:22 -07: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 chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00: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