aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/preview
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/dashboard/preview')
-rw-r--r--apps/web/components/dashboard/preview/ActionBar.tsx4
-rw-r--r--apps/web/components/dashboard/preview/AssetContentSection.tsx4
-rw-r--r--apps/web/components/dashboard/preview/AttachmentBox.tsx8
-rw-r--r--apps/web/components/dashboard/preview/BookmarkHtmlHighlighter.tsx2
-rw-r--r--apps/web/components/dashboard/preview/BookmarkPreview.tsx4
-rw-r--r--apps/web/components/dashboard/preview/LinkContentSection.tsx4
-rw-r--r--apps/web/components/dashboard/preview/NoteEditor.tsx4
-rw-r--r--apps/web/components/dashboard/preview/TextContentSection.tsx6
8 files changed, 18 insertions, 18 deletions
diff --git a/apps/web/components/dashboard/preview/ActionBar.tsx b/apps/web/components/dashboard/preview/ActionBar.tsx
index 62d9c849..6e4cd5a2 100644
--- a/apps/web/components/dashboard/preview/ActionBar.tsx
+++ b/apps/web/components/dashboard/preview/ActionBar.tsx
@@ -10,8 +10,8 @@ import { toast } from "@/components/ui/use-toast";
import { useTranslation } from "@/lib/i18n/client";
import { Pencil, Trash2 } from "lucide-react";
-import type { ZBookmark } from "@hoarder/shared/types/bookmarks";
-import { useUpdateBookmark } from "@hoarder/shared-react/hooks/bookmarks";
+import type { ZBookmark } from "@karakeep/shared/types/bookmarks";
+import { useUpdateBookmark } from "@karakeep/shared-react/hooks/bookmarks";
import DeleteBookmarkConfirmationDialog from "../bookmarks/DeleteBookmarkConfirmationDialog";
import { EditBookmarkDialog } from "../bookmarks/EditBookmarkDialog";
diff --git a/apps/web/components/dashboard/preview/AssetContentSection.tsx b/apps/web/components/dashboard/preview/AssetContentSection.tsx
index 8590d2ad..fd299320 100644
--- a/apps/web/components/dashboard/preview/AssetContentSection.tsx
+++ b/apps/web/components/dashboard/preview/AssetContentSection.tsx
@@ -11,8 +11,8 @@ import {
} from "@/components/ui/select";
import { useTranslation } from "@/lib/i18n/client";
-import { getAssetUrl } from "@hoarder/shared-react/utils/assetUtils";
-import { BookmarkTypes, ZBookmark } from "@hoarder/shared/types/bookmarks";
+import { getAssetUrl } from "@karakeep/shared-react/utils/assetUtils";
+import { BookmarkTypes, ZBookmark } from "@karakeep/shared/types/bookmarks";
// 20 MB
const BIG_FILE_SIZE = 20 * 1024 * 1024;
diff --git a/apps/web/components/dashboard/preview/AttachmentBox.tsx b/apps/web/components/dashboard/preview/AttachmentBox.tsx
index 19622f8d..15acd799 100644
--- a/apps/web/components/dashboard/preview/AttachmentBox.tsx
+++ b/apps/web/components/dashboard/preview/AttachmentBox.tsx
@@ -18,14 +18,14 @@ import {
useAttachBookmarkAsset,
useDetachBookmarkAsset,
useReplaceBookmarkAsset,
-} from "@hoarder/shared-react/hooks/assets";
-import { getAssetUrl } from "@hoarder/shared-react/utils/assetUtils";
-import { BookmarkTypes, ZBookmark } from "@hoarder/shared/types/bookmarks";
+} from "@karakeep/shared-react/hooks/assets";
+import { getAssetUrl } from "@karakeep/shared-react/utils/assetUtils";
+import { BookmarkTypes, ZBookmark } from "@karakeep/shared/types/bookmarks";
import {
humanFriendlyNameForAssertType,
isAllowedToAttachAsset,
isAllowedToDetachAsset,
-} from "@hoarder/trpc/lib/attachments";
+} from "@karakeep/trpc/lib/attachments";
export default function AttachmentBox({ bookmark }: { bookmark: ZBookmark }) {
const { t } = useTranslation();
diff --git a/apps/web/components/dashboard/preview/BookmarkHtmlHighlighter.tsx b/apps/web/components/dashboard/preview/BookmarkHtmlHighlighter.tsx
index bed229a6..a3b34f9a 100644
--- a/apps/web/components/dashboard/preview/BookmarkHtmlHighlighter.tsx
+++ b/apps/web/components/dashboard/preview/BookmarkHtmlHighlighter.tsx
@@ -9,7 +9,7 @@ import { Check, Trash2 } from "lucide-react";
import {
SUPPORTED_HIGHLIGHT_COLORS,
ZHighlightColor,
-} from "@hoarder/shared/types/highlights";
+} from "@karakeep/shared/types/highlights";
import { HIGHLIGHT_COLOR_MAP } from "./highlights";
diff --git a/apps/web/components/dashboard/preview/BookmarkPreview.tsx b/apps/web/components/dashboard/preview/BookmarkPreview.tsx
index 07ae0809..df09f687 100644
--- a/apps/web/components/dashboard/preview/BookmarkPreview.tsx
+++ b/apps/web/components/dashboard/preview/BookmarkPreview.tsx
@@ -22,8 +22,8 @@ import {
getSourceUrl,
isBookmarkStillCrawling,
isBookmarkStillLoading,
-} from "@hoarder/shared-react/utils/bookmarkUtils";
-import { BookmarkTypes, ZBookmark } from "@hoarder/shared/types/bookmarks";
+} from "@karakeep/shared-react/utils/bookmarkUtils";
+import { BookmarkTypes, ZBookmark } from "@karakeep/shared/types/bookmarks";
import SummarizeBookmarkArea from "../bookmarks/SummarizeBookmarkArea";
import ActionBar from "./ActionBar";
diff --git a/apps/web/components/dashboard/preview/LinkContentSection.tsx b/apps/web/components/dashboard/preview/LinkContentSection.tsx
index f1fe3820..f37f110e 100644
--- a/apps/web/components/dashboard/preview/LinkContentSection.tsx
+++ b/apps/web/components/dashboard/preview/LinkContentSection.tsx
@@ -18,12 +18,12 @@ import {
useCreateHighlight,
useDeleteHighlight,
useUpdateHighlight,
-} from "@hoarder/shared-react/hooks/highlights";
+} from "@karakeep/shared-react/hooks/highlights";
import {
BookmarkTypes,
ZBookmark,
ZBookmarkedLink,
-} from "@hoarder/shared/types/bookmarks";
+} from "@karakeep/shared/types/bookmarks";
function FullPageArchiveSection({ link }: { link: ZBookmarkedLink }) {
const archiveAssetId =
diff --git a/apps/web/components/dashboard/preview/NoteEditor.tsx b/apps/web/components/dashboard/preview/NoteEditor.tsx
index 67da40cc..393628b5 100644
--- a/apps/web/components/dashboard/preview/NoteEditor.tsx
+++ b/apps/web/components/dashboard/preview/NoteEditor.tsx
@@ -2,8 +2,8 @@ import { Textarea } from "@/components/ui/textarea";
import { toast } from "@/components/ui/use-toast";
import { useClientConfig } from "@/lib/clientConfig";
-import type { ZBookmark } from "@hoarder/shared/types/bookmarks";
-import { useUpdateBookmark } from "@hoarder/shared-react/hooks/bookmarks";
+import type { ZBookmark } from "@karakeep/shared/types/bookmarks";
+import { useUpdateBookmark } from "@karakeep/shared-react/hooks/bookmarks";
export function NoteEditor({ bookmark }: { bookmark: ZBookmark }) {
const demoMode = !!useClientConfig().demoMode;
diff --git a/apps/web/components/dashboard/preview/TextContentSection.tsx b/apps/web/components/dashboard/preview/TextContentSection.tsx
index a58bc717..0c1aae67 100644
--- a/apps/web/components/dashboard/preview/TextContentSection.tsx
+++ b/apps/web/components/dashboard/preview/TextContentSection.tsx
@@ -2,9 +2,9 @@ import Image from "next/image";
import { BookmarkMarkdownComponent } from "@/components/dashboard/bookmarks/BookmarkMarkdownComponent";
import { ScrollArea } from "@radix-ui/react-scroll-area";
-import type { ZBookmarkTypeText } from "@hoarder/shared/types/bookmarks";
-import { getAssetUrl } from "@hoarder/shared-react/utils/assetUtils";
-import { BookmarkTypes, ZBookmark } from "@hoarder/shared/types/bookmarks";
+import type { ZBookmarkTypeText } from "@karakeep/shared/types/bookmarks";
+import { getAssetUrl } from "@karakeep/shared-react/utils/assetUtils";
+import { BookmarkTypes, ZBookmark } from "@karakeep/shared/types/bookmarks";
export function TextContentSection({ bookmark }: { bookmark: ZBookmark }) {
if (bookmark.content.type != BookmarkTypes.TEXT) {