[PR #89] [CLOSED] feature: Support pasting an image in the text field #1525

Closed
opened 2026-03-02 11:58:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/89
Author: @ahmadmucom
Created: 4/8/2024
Status: Closed

Base: mainHead: paste_images


📝 Commits (2)

  • 362a30f feature: Add PDF support
  • d43df95 feature: Support pasting an image in the text field

📊 Changes

17 files changed (+12477 additions, -17010 deletions)

View changed files

📝 apps/mobile/lib/upload.ts (+4 -2)
📝 apps/web/app/api/assets/route.ts (+2 -1)
📝 apps/web/components/dashboard/UploadDropzone.tsx (+5 -3)
📝 apps/web/components/dashboard/bookmarks/AssetCard.tsx (+7 -0)
📝 apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx (+22 -17)
📝 apps/web/components/dashboard/bookmarks/EditorCard.tsx (+24 -0)
📝 apps/workers/openaiWorker.ts (+65 -2)
📝 apps/workers/package.json (+3 -1)
📝 apps/workers/searchWorker.ts (+8 -0)
📝 apps/workers/utils.ts (+12 -0)
packages/db/drizzle/0015_first_reavers.sql (+3 -0)
packages/db/drizzle/meta/0015_snapshot.json (+959 -0)
📝 packages/db/drizzle/meta/_journal.json (+7 -0)
📝 packages/db/schema.ts (+4 -1)
📝 packages/trpc/routers/bookmarks.ts (+3 -0)
📝 packages/trpc/types/bookmarks.ts (+1 -1)
📝 pnpm-lock.yaml (+11348 -16982)

📄 Description

  • Added onPaste listener on the textfield to support pasting images from the clipboard so they can be uploaded directly.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/89 **Author:** [@ahmadmucom](https://github.com/ahmadmucom) **Created:** 4/8/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `paste_images` --- ### 📝 Commits (2) - [`362a30f`](https://github.com/karakeep-app/karakeep/commit/362a30f860cd08ef468b0a433b3c2f2077560833) feature: Add PDF support - [`d43df95`](https://github.com/karakeep-app/karakeep/commit/d43df95c3a55bc2c13bbb96ff70e9034c05fc9a1) feature: Support pasting an image in the text field ### 📊 Changes **17 files changed** (+12477 additions, -17010 deletions) <details> <summary>View changed files</summary> 📝 `apps/mobile/lib/upload.ts` (+4 -2) 📝 `apps/web/app/api/assets/route.ts` (+2 -1) 📝 `apps/web/components/dashboard/UploadDropzone.tsx` (+5 -3) 📝 `apps/web/components/dashboard/bookmarks/AssetCard.tsx` (+7 -0) 📝 `apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx` (+22 -17) 📝 `apps/web/components/dashboard/bookmarks/EditorCard.tsx` (+24 -0) 📝 `apps/workers/openaiWorker.ts` (+65 -2) 📝 `apps/workers/package.json` (+3 -1) 📝 `apps/workers/searchWorker.ts` (+8 -0) 📝 `apps/workers/utils.ts` (+12 -0) ➕ `packages/db/drizzle/0015_first_reavers.sql` (+3 -0) ➕ `packages/db/drizzle/meta/0015_snapshot.json` (+959 -0) 📝 `packages/db/drizzle/meta/_journal.json` (+7 -0) 📝 `packages/db/schema.ts` (+4 -1) 📝 `packages/trpc/routers/bookmarks.ts` (+3 -0) 📝 `packages/trpc/types/bookmarks.ts` (+1 -1) 📝 `pnpm-lock.yaml` (+11348 -16982) </details> ### 📄 Description - Added onPaste listener on the textfield to support pasting images from the clipboard so they can be uploaded directly. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:58:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1525
No description provided.