diff options
| author | Mahesh Sanikommu <[email protected]> | 2025-12-06 17:23:42 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-06 17:23:42 -0800 |
| commit | 41d24a4a1cc7a3c054fb5460d19cff7aac1d609d (patch) | |
| tree | c91d2837f43f99cc6979a169a7facfd6e148ce79 /apps | |
| parent | feat(tools): allow passing apiKey via options for browser support (#599) (diff) | |
| download | supermemory-41d24a4a1cc7a3c054fb5460d19cff7aac1d609d.tar.xz supermemory-41d24a4a1cc7a3c054fb5460d19cff7aac1d609d.zip | |
fix ui issues and package issue (#610)
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/components/content-cards/google-docs.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/content-cards/note.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/content-cards/tweet.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/content-cards/website.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/graph-dialog.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/masonry-memory-list.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/memories-utils/index.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/memory-list-view.tsx | 2 | ||||
| -rw-r--r-- | apps/web/lib/document-icon.tsx | 2 | ||||
| -rw-r--r-- | apps/web/package.json | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/apps/web/components/content-cards/google-docs.tsx b/apps/web/components/content-cards/google-docs.tsx index aa7da8cd..6b44a064 100644 --- a/apps/web/components/content-cards/google-docs.tsx +++ b/apps/web/components/content-cards/google-docs.tsx @@ -16,7 +16,7 @@ import { } from "@repo/ui/components/alert-dialog" import { ExternalLink, FileText, Brain, Trash2 } from "lucide-react" import { cn } from "@lib/utils" -import { colors } from "@repo/ui/colors" +import { colors } from "@repo/ui/memory-graph/constants" import { getPastelBackgroundColor } from "../memories-utils" interface GoogleDocsCardProps { diff --git a/apps/web/components/content-cards/note.tsx b/apps/web/components/content-cards/note.tsx index ea0e362c..5fd6f740 100644 --- a/apps/web/components/content-cards/note.tsx +++ b/apps/web/components/content-cards/note.tsx @@ -12,7 +12,7 @@ import { AlertDialogTrigger, } from "@repo/ui/components/alert-dialog" -import { colors } from "@repo/ui/colors" +import { colors } from "@repo/ui/memory-graph/constants" import { Brain, ExternalLink, Trash2 } from "lucide-react" import { cn } from "@lib/utils" import { useState } from "react" diff --git a/apps/web/components/content-cards/tweet.tsx b/apps/web/components/content-cards/tweet.tsx index adab6134..b2599770 100644 --- a/apps/web/components/content-cards/tweet.tsx +++ b/apps/web/components/content-cards/tweet.tsx @@ -26,7 +26,7 @@ import { AlertDialogTrigger, } from "@repo/ui/components/alert-dialog" import { Brain, Trash2 } from "lucide-react" -import { colors } from "@repo/ui/colors" +import { colors } from "@repo/ui/memory-graph/constants" import { getPastelBackgroundColor } from "../memories-utils" type MyTweetProps = { diff --git a/apps/web/components/content-cards/website.tsx b/apps/web/components/content-cards/website.tsx index b14b7a9f..fed79f4a 100644 --- a/apps/web/components/content-cards/website.tsx +++ b/apps/web/components/content-cards/website.tsx @@ -16,7 +16,7 @@ import { ExternalLink, Trash2 } from "lucide-react" import { useState } from "react" import { cn } from "@lib/utils" import { getPastelBackgroundColor } from "../memories-utils" -import { colors } from "@repo/ui/colors" +import { colors } from "@repo/ui/memory-graph/constants" interface WebsiteCardProps { title: string diff --git a/apps/web/components/graph-dialog.tsx b/apps/web/components/graph-dialog.tsx index efc1c05b..8849d4ce 100644 --- a/apps/web/components/graph-dialog.tsx +++ b/apps/web/components/graph-dialog.tsx @@ -6,7 +6,7 @@ import type { DocumentsWithMemoriesResponseSchema } from "@repo/validation/api" import { useInfiniteQuery } from "@tanstack/react-query" import { useCallback, useEffect, useMemo, useState } from "react" import type { z } from "zod" -import { MemoryGraph } from "@supermemory/memory-graph" +import { MemoryGraph } from "@repo/ui/memory-graph" import { Dialog, DialogContent } from "@repo/ui/components/dialog" import { ConnectAIModal } from "@/components/connect-ai-modal" import { AddMemoryView } from "@/components/views/add-memory" diff --git a/apps/web/components/masonry-memory-list.tsx b/apps/web/components/masonry-memory-list.tsx index 1ffd2130..1a29093f 100644 --- a/apps/web/components/masonry-memory-list.tsx +++ b/apps/web/components/masonry-memory-list.tsx @@ -2,7 +2,7 @@ import { useIsMobile } from "@hooks/use-mobile" import type { DocumentsWithMemoriesResponseSchema } from "@repo/validation/api" -import { colors } from "@repo/ui/colors" +import { colors } from "@repo/ui/memory-graph/constants" import { Sparkles } from "lucide-react" import { Masonry, useInfiniteLoader } from "masonic" import { memo, useCallback, useMemo, useState } from "react" diff --git a/apps/web/components/memories-utils/index.tsx b/apps/web/components/memories-utils/index.tsx index 01f45781..fca4d367 100644 --- a/apps/web/components/memories-utils/index.tsx +++ b/apps/web/components/memories-utils/index.tsx @@ -1,4 +1,4 @@ -import type { DocumentWithMemories } from "@supermemory/memory-graph" +import type { DocumentWithMemories } from "@ui/memory-graph/types" export const formatDate = (date: string | Date) => { const dateObj = new Date(date) diff --git a/apps/web/components/memory-list-view.tsx b/apps/web/components/memory-list-view.tsx index f8869fd3..6fc80afa 100644 --- a/apps/web/components/memory-list-view.tsx +++ b/apps/web/components/memory-list-view.tsx @@ -15,7 +15,7 @@ import { AlertDialogTitle, AlertDialogTrigger, } from "@repo/ui/components/alert-dialog" -import { colors } from "@repo/ui/colors" +import { colors } from "@repo/ui/memory-graph/constants" import type { DocumentsWithMemoriesResponseSchema } from "@repo/validation/api" import { useVirtualizer } from "@tanstack/react-virtual" import { Brain, ExternalLink, Sparkles, Trash2 } from "lucide-react" diff --git a/apps/web/lib/document-icon.tsx b/apps/web/lib/document-icon.tsx index 2fe2ff9a..edeaf76b 100644 --- a/apps/web/lib/document-icon.tsx +++ b/apps/web/lib/document-icon.tsx @@ -1,5 +1,5 @@ import { MCPIcon } from "@/components/menu" -import { colors } from "@repo/ui/colors" +import { colors } from "@repo/ui/memory-graph/constants" import { GoogleDocs, MicrosoftWord, diff --git a/apps/web/package.json b/apps/web/package.json index c141118a..e8fd6da3 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -18,7 +18,6 @@ "@ai-sdk/google": "^2.0.0-beta.13", "@ai-sdk/react": "2.0.0-beta.24", "@better-fetch/fetch": "^1.1.18", - "@supermemory/memory-graph": "workspace:*", "@dnd-kit/core": "^6.3.1", "@dnd-kit/modifiers": "^9.0.0", "@dnd-kit/sortable": "^10.0.0", @@ -73,6 +72,7 @@ "react": "19.2.0", "react-dom": "19.2.0", "react-dropzone": "^14.3.8", + "react-markdown": "^10.1.0", "react-tweet": "^3.2.2", "recharts": "2", "slate": "^0.118.0", |