From 033e8a2d26bb0ecaa8301609960d35d3467a88f4 Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Sat, 25 May 2024 23:20:17 +0200 Subject: feature: Allow import Netscape HTML format (#163) * [Feature request] Netscape HTML format import/export #96 added the possibility to add exported bookmarks via the webUI for ease of use * [Feature request] Netscape HTML format import/export #96 updated the documentation * Extract the parser into its own file and reuse the existing bookmark upload logic --------- Co-authored-by: kamtschatka Co-authored-by: MohamedBassem --- .../components/utils/BookmarkAlreadyExistsToast.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 apps/web/components/utils/BookmarkAlreadyExistsToast.tsx (limited to 'apps/web/components/utils') diff --git a/apps/web/components/utils/BookmarkAlreadyExistsToast.tsx b/apps/web/components/utils/BookmarkAlreadyExistsToast.tsx new file mode 100644 index 00000000..66bdb17a --- /dev/null +++ b/apps/web/components/utils/BookmarkAlreadyExistsToast.tsx @@ -0,0 +1,20 @@ +import Link from "next/link"; +import { ExternalLink } from "lucide-react"; + +export default function BookmarkAlreadyExistsToast({ + bookmarkId, +}: { + bookmarkId: string; +}) { + return ( +
+ Bookmark already exists. + + Open + +
+ ); +} -- cgit v1.2.3-70-g09d2