From 93630ce88dcb07bcdf7445185fe20612a5c22b7b Mon Sep 17 00:00:00 2001
From: Moondragon85 <42060641+Moondragon85@users.noreply.github.com>
Date: Sat, 27 Dec 2025 12:52:37 +0100
Subject: feat: add Matter import support (#2245)

* Matter import

* use zod

* fix date parsing

---------

Co-authored-by: Mohamed Bassem <me@mbassem.com>
---
 apps/web/components/settings/ImportExport.tsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'apps/web/components/settings/ImportExport.tsx')

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
@@ -179,6 +179,23 @@ export function ImportExportRow() {
             <p>Import</p>
           </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(
-- 
cgit v1.2.3-70-g09d2

