aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/settings/ImportExport.tsx
diff options
context:
space:
mode:
authorMoondragon85 <42060641+Moondragon85@users.noreply.github.com>2025-12-27 12:52:37 +0100
committerGitHub <noreply@github.com>2025-12-27 11:52:37 +0000
commit93630ce88dcb07bcdf7445185fe20612a5c22b7b (patch)
tree888cefced37ae1a136c322daf65e03d55cbc07c5 /apps/web/components/settings/ImportExport.tsx
parent267db791290f4f539d7bda113992e3d1690b0e8b (diff)
downloadkarakeep-93630ce88dcb07bcdf7445185fe20612a5c22b7b.tar.zst
feat: add Matter import support (#2245)
* Matter import * use zod * fix date parsing --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
Diffstat (limited to 'apps/web/components/settings/ImportExport.tsx')
-rw-r--r--apps/web/components/settings/ImportExport.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/web/components/settings/ImportExport.tsx b/apps/web/components/settings/ImportExport.tsx
index b6e4da9a..1cef8483 100644
--- a/apps/web/components/settings/ImportExport.tsx
+++ b/apps/web/components/settings/ImportExport.tsx
@@ -180,6 +180,23 @@ export function ImportExportRow() {
</FilePickerButton>
</ImportCard>
<ImportCard
+ text="Matter"
+ description={t("settings.import.import_bookmarks_from_matter_export")}
+ >
+ <FilePickerButton
+ size={"sm"}
+ loading={false}
+ accept=".csv"
+ multiple={false}
+ className="flex items-center gap-2"
+ onFileSelect={(file) =>
+ runUploadBookmarkFile({ file, source: "matter" })
+ }
+ >
+ <p>Import</p>
+ </FilePickerButton>
+ </ImportCard>
+ <ImportCard
text="Omnivore"
description={t(
"settings.import.import_bookmarks_from_omnivore_export",