aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/attachments.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-12-27 11:59:39 +0200
committerGitHub <noreply@github.com>2025-12-27 09:59:39 +0000
commit267db791290f4f539d7bda113992e3d1690b0e8b (patch)
tree0144ea00dcf6a49bdaaf46511cd074651aeeee5a /apps/web/lib/attachments.tsx
parentbb6b742a040a70478d276529774bde67b8f93648 (diff)
downloadkarakeep-267db791290f4f539d7bda113992e3d1690b0e8b.tar.zst
feat: support archiving as pdf (#2309)
* feat: support archiving as pdf * add supprot for manually triggering pdf downloads * fix submenu * menu cleanup * fix store pdf
Diffstat (limited to 'apps/web/lib/attachments.tsx')
-rw-r--r--apps/web/lib/attachments.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/lib/attachments.tsx b/apps/web/lib/attachments.tsx
index 81b9f12d..5d7175ec 100644
--- a/apps/web/lib/attachments.tsx
+++ b/apps/web/lib/attachments.tsx
@@ -2,6 +2,7 @@ import {
Archive,
Camera,
FileCode,
+ FileText,
Image,
Paperclip,
SquareUser,
@@ -13,6 +14,7 @@ import { ZAssetType } from "@karakeep/shared/types/bookmarks";
export const ASSET_TYPE_TO_ICON: Record<ZAssetType, React.ReactNode> = {
screenshot: <Camera className="size-4" />,
+ pdf: <FileText className="size-4" />,
assetScreenshot: <Camera className="size-4" />,
fullPageArchive: <Archive className="size-4" />,
precrawledArchive: <Archive className="size-4" />,