[PR #2416] feat: add pdf image renderer #2287

Open
opened 2026-02-26 20:33:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2416
Author: @dguyen
Created: 1/27/2026
Status: 🔄 Open

Base: mainHead: feat/add-pdf-image-renderer


📝 Commits (10+)

  • 4fb3c2c feat: add pdf image renderer
  • 8186d28 fix: add client side pdf render
  • a69fe94 fix: refactor
  • c20affa Merge branch 'main' into feat/add-pdf-image-renderer
  • cb6d6e4 fix: replace etag with hard cache
  • ab3e8a4 fix: pdf viewer scroll elements
  • 5fa4c42 fix: refactor how non-s3 pdfs are loaded
  • 84deea1 Merge branch 'main' into feat/add-pdf-image-renderer
  • 9a2f374 fix: reorder migrations
  • 653d340 fix: virtualisation issues

📊 Changes

98 files changed (+3098 additions, -1249 deletions)

View changed files

📝 apps/remix/app/components/dialogs/assistant-confirmation-dialog.tsx (+1 -1)
📝 apps/remix/app/components/dialogs/document-duplicate-dialog.tsx (+9 -4)
📝 apps/remix/app/components/embed/authoring/configure-document-upload.tsx (+12 -5)
📝 apps/remix/app/components/embed/authoring/configure-document-view.types.ts (+7 -0)
📝 apps/remix/app/components/embed/authoring/configure-fields-view.tsx (+8 -12)
📝 apps/remix/app/components/embed/embed-client-loading.tsx (+1 -1)
📝 apps/remix/app/components/embed/embed-direct-template-client-page.tsx (+5 -8)
📝 apps/remix/app/components/embed/embed-document-fields.tsx (+1 -3)
📝 apps/remix/app/components/embed/embed-document-signing-page-v1.tsx (+5 -8)
📝 apps/remix/app/components/embed/multisign/multi-sign-document-signing-view.tsx (+13 -10)
📝 apps/remix/app/components/general/app-nav-mobile.tsx (+4 -4)
📝 apps/remix/app/components/general/direct-template/direct-template-page.tsx (+4 -3)
📝 apps/remix/app/components/general/direct-template/direct-template-signing-form.tsx (+1 -5)
📝 apps/remix/app/components/general/document-signing/document-signing-auto-sign.tsx (+1 -1)
📝 apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx (+5 -8)
📝 apps/remix/app/components/general/document-signing/document-signing-page-view-v2.tsx (+13 -6)
📝 apps/remix/app/components/general/document/document-certificate-qr-view.tsx (+20 -10)
📝 apps/remix/app/components/general/document/document-edit-form.tsx (+4 -3)
📝 apps/remix/app/components/general/envelope-editor/envelope-editor-fields-drag-drop.tsx (+3 -12)
📝 apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page-renderer.tsx (+20 -29)

...and 78 more files

📄 Description

Description

Replace the PDF renderer with an custom image renderer.

This allows us to remove the "react-pdf" dependency and allows us to use a virtual list to improve performance.


🔄 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/documenso/documenso/pull/2416 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 1/27/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/add-pdf-image-renderer` --- ### 📝 Commits (10+) - [`4fb3c2c`](https://github.com/documenso/documenso/commit/4fb3c2cb0fbfae5365a09cdc294eece57a06b189) feat: add pdf image renderer - [`8186d28`](https://github.com/documenso/documenso/commit/8186d2817fbe0a677343ff2967b55554638deeba) fix: add client side pdf render - [`a69fe94`](https://github.com/documenso/documenso/commit/a69fe940b5c5b116b49aef61526725667230a73f) fix: refactor - [`c20affa`](https://github.com/documenso/documenso/commit/c20affa28631dd4de8a9392be876f869b8dcc4ad) Merge branch 'main' into feat/add-pdf-image-renderer - [`cb6d6e4`](https://github.com/documenso/documenso/commit/cb6d6e46d057ae35a180bb57c46e31c2ff27c058) fix: replace etag with hard cache - [`ab3e8a4`](https://github.com/documenso/documenso/commit/ab3e8a4074fa23b3e8069b7823bade7f78b9f7d6) fix: pdf viewer scroll elements - [`5fa4c42`](https://github.com/documenso/documenso/commit/5fa4c420989550f5768d86f0428469da998e69fe) fix: refactor how non-s3 pdfs are loaded - [`84deea1`](https://github.com/documenso/documenso/commit/84deea11e4c08c614c7bf41a081d7ab5d49ec7cd) Merge branch 'main' into feat/add-pdf-image-renderer - [`9a2f374`](https://github.com/documenso/documenso/commit/9a2f3747db71ddb5d020242e056dd364314c0916) fix: reorder migrations - [`653d340`](https://github.com/documenso/documenso/commit/653d3406683e2c71f8f7dd0e3aa3338085468557) fix: virtualisation issues ### 📊 Changes **98 files changed** (+3098 additions, -1249 deletions) <details> <summary>View changed files</summary> 📝 `apps/remix/app/components/dialogs/assistant-confirmation-dialog.tsx` (+1 -1) 📝 `apps/remix/app/components/dialogs/document-duplicate-dialog.tsx` (+9 -4) 📝 `apps/remix/app/components/embed/authoring/configure-document-upload.tsx` (+12 -5) 📝 `apps/remix/app/components/embed/authoring/configure-document-view.types.ts` (+7 -0) 📝 `apps/remix/app/components/embed/authoring/configure-fields-view.tsx` (+8 -12) 📝 `apps/remix/app/components/embed/embed-client-loading.tsx` (+1 -1) 📝 `apps/remix/app/components/embed/embed-direct-template-client-page.tsx` (+5 -8) 📝 `apps/remix/app/components/embed/embed-document-fields.tsx` (+1 -3) 📝 `apps/remix/app/components/embed/embed-document-signing-page-v1.tsx` (+5 -8) 📝 `apps/remix/app/components/embed/multisign/multi-sign-document-signing-view.tsx` (+13 -10) 📝 `apps/remix/app/components/general/app-nav-mobile.tsx` (+4 -4) 📝 `apps/remix/app/components/general/direct-template/direct-template-page.tsx` (+4 -3) 📝 `apps/remix/app/components/general/direct-template/direct-template-signing-form.tsx` (+1 -5) 📝 `apps/remix/app/components/general/document-signing/document-signing-auto-sign.tsx` (+1 -1) 📝 `apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx` (+5 -8) 📝 `apps/remix/app/components/general/document-signing/document-signing-page-view-v2.tsx` (+13 -6) 📝 `apps/remix/app/components/general/document/document-certificate-qr-view.tsx` (+20 -10) 📝 `apps/remix/app/components/general/document/document-edit-form.tsx` (+4 -3) 📝 `apps/remix/app/components/general/envelope-editor/envelope-editor-fields-drag-drop.tsx` (+3 -12) 📝 `apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page-renderer.tsx` (+20 -29) _...and 78 more files_ </details> ### 📄 Description ## Description Replace the PDF renderer with an custom image renderer. This allows us to remove the "react-pdf" dependency and allows us to use a virtual list to improve performance. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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/documenso#2287
No description provided.