diff --git a/apps/browser-extension/entrypoints/content/chatgpt.ts b/apps/browser-extension/entrypoints/content/chatgpt.ts index 51a04736..7c3d28aa 100644 --- a/apps/browser-extension/entrypoints/content/chatgpt.ts +++ b/apps/browser-extension/entrypoints/content/chatgpt.ts @@ -159,7 +159,7 @@ async function getRelatedMemoriesForChatGPT(actionSource: string) { if (response?.success && response?.data) { const promptElement = document.getElementById("prompt-textarea") if (promptElement) { - promptElement.dataset.supermemories = `
- Most finish in under a minute. Below is optional — ways to add + Most finish in under a minute. Below is optional: ways to add more later.
@@ -956,7 +1152,7 @@ export default function OnboardingPage() {Your first save is ready. When you want more, use Integrations - for browser, phone, editor, and AI tools — all in one place. + for browser, phone, editor, and AI tools, all in one place.
diff --git a/apps/web/app/(app)/page.tsx b/apps/web/app/(app)/page.tsx index e7d7caff..1f30081a 100644 --- a/apps/web/app/(app)/page.tsx +++ b/apps/web/app/(app)/page.tsx @@ -78,7 +78,7 @@ const GRADIENT_TOP_WIDTH_MAX = 1440 function gradientTopPositionForWidth(width: number) { const minW = 320 const pctWide = 15 - const pctNarrow = 70 + const pctNarrow = 55 const w = Math.min(GRADIENT_TOP_WIDTH_MAX, Math.max(minW, width)) const t = (w - minW) / (GRADIENT_TOP_WIDTH_MAX - minW) const eased = t * t @@ -402,6 +402,18 @@ export default function NewPage() { [setDocId], ) + // Separate from handleOpenDocument because the graph view only has a document ID, + // not the full document object. The modal will fetch the document via the docId + // query param, so there may be a brief loading state (unlike handleOpenDocument + // which pre-populates via setSelectedDocument). + const handleOpenDocumentById = useCallback( + (documentId: string) => { + analytics.documentModalOpened({ document_id: documentId }) + setDocId(documentId) + }, + [setDocId], + ) + const handleQuickNoteSave = useCallback( (content: string) => { if (content.trim()) { @@ -515,12 +527,11 @@ export default function NewPage() { const gradientTopPosition = gradientTopPositionForWidth(viewportWidth) const isChatView = viewMode === "chat" - const isGraphMode = viewMode === "graph" && !isMobile - const isMemoriesDesktop = viewMode === "list" && !isMobile - const isHomeDesktop = viewMode === "dashboard" && !isMobile - const showNovaBackdrop = isGraphMode || isMemoriesDesktop || isHomeDesktop + const showNovaBackdrop = + viewMode === "graph" || viewMode === "list" || viewMode === "dashboard" const isDashboardShell = viewMode === "dashboard" || (viewMode === "graph" && isMobile) + const isGraphMode = viewMode === "graph" return (