[PR #2128] [CLOSED] feat: generates coordinates for bounding boxes #2064

Closed
opened 2026-02-26 20:32:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2128
Author: @ephraimduncan
Created: 11/4/2025
Status: Closed

Base: mainHead: exp/autoplace-fields


📝 Commits (10+)

  • 94098bd feat: generates coordinates for bounding boxes
  • 29be66a feat: add AI field auto-placement with canvas registry
  • 00e33c5 chore: cleanup
  • 134d5ac chore: refactor
  • 233e6e6 feat: multiple pages
  • cdfd373 feat: add glow animation
  • ac4b373 feat: convert AI field placement to server-side processing
  • 5fbad9e fix: merge conflicts
  • 9e0f07f chore: prompt changes
  • dbed8b3 feat: generate recipients and fields based on recipients

📊 Changes

43 files changed (+3622 additions, -85 deletions)

View changed files

📝 .env.example (+8 -0)
📝 .gitignore (+3 -0)
📝 apps/remix/app/app.css (+1 -0)
📝 apps/remix/app/components/dialogs/organisation-email-create-dialog.tsx (+0 -1)
apps/remix/app/components/dialogs/recipient-detection-prompt-dialog.tsx (+251 -0)
apps/remix/app/components/dialogs/suggested-recipients-form.tsx (+408 -0)
📝 apps/remix/app/components/embed/authoring/configure-document-recipients.tsx (+0 -7)
📝 apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page-renderer.tsx (+1 -21)
📝 apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page.tsx (+300 -10)
📝 apps/remix/app/components/general/envelope-editor/envelope-editor-upload-page.tsx (+2 -4)
📝 apps/remix/app/components/general/envelope/envelope-drop-zone-wrapper.tsx (+141 -11)
📝 apps/remix/app/components/general/envelope/envelope-upload-button.tsx (+221 -15)
apps/remix/app/utils/detect-document-fields.ts (+39 -0)
apps/remix/app/utils/detect-document-recipients.ts (+67 -0)
📝 apps/remix/package.json (+4 -0)
apps/remix/server/api/document-analysis/authorization.ts (+61 -0)
apps/remix/server/api/document-analysis/debug-visualizer.ts (+183 -0)
apps/remix/server/api/document-analysis/field-detection.ts (+118 -0)
apps/remix/server/api/document-analysis/index.ts (+180 -0)
apps/remix/server/api/document-analysis/index.types.ts (+16 -0)

...and 23 more files

📄 Description

Demo - Auto detect recipients and fields

https://github.com/user-attachments/assets/aa39e001-b6e9-48f0-bf7f-bb20a98a5da2


🔄 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/2128 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 11/4/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `exp/autoplace-fields` --- ### 📝 Commits (10+) - [`94098bd`](https://github.com/documenso/documenso/commit/94098bd7629160d63391d3585e7a6504c524fdc1) feat: generates coordinates for bounding boxes - [`29be66a`](https://github.com/documenso/documenso/commit/29be66a844a702324af17eb0c1fb213b58199998) feat: add AI field auto-placement with canvas registry - [`00e33c5`](https://github.com/documenso/documenso/commit/00e33c53317dd3700a6436a6265c8aaea97189f6) chore: cleanup - [`134d5ac`](https://github.com/documenso/documenso/commit/134d5ac03ee65e87f930909d325171f0ece7e8cf) chore: refactor - [`233e6e6`](https://github.com/documenso/documenso/commit/233e6e603c5bb56a7a87118885be2bb2e12c6e15) feat: multiple pages - [`cdfd373`](https://github.com/documenso/documenso/commit/cdfd373958536944e6fdf0f59c9aff3b67a0c54a) feat: add glow animation - [`ac4b373`](https://github.com/documenso/documenso/commit/ac4b3737d6477e900f3d39ad20a51ea2785f0142) feat: convert AI field placement to server-side processing - [`5fbad9e`](https://github.com/documenso/documenso/commit/5fbad9e36767b612e1e647c83889b1d1171509eb) fix: merge conflicts - [`9e0f07f`](https://github.com/documenso/documenso/commit/9e0f07f8063898e40d0f5d7c7c636d7fef45721d) chore: prompt changes - [`dbed8b3`](https://github.com/documenso/documenso/commit/dbed8b362effb5fc9ca96a3557902d800e021a36) feat: generate recipients and fields based on recipients ### 📊 Changes **43 files changed** (+3622 additions, -85 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+8 -0) 📝 `.gitignore` (+3 -0) 📝 `apps/remix/app/app.css` (+1 -0) 📝 `apps/remix/app/components/dialogs/organisation-email-create-dialog.tsx` (+0 -1) ➕ `apps/remix/app/components/dialogs/recipient-detection-prompt-dialog.tsx` (+251 -0) ➕ `apps/remix/app/components/dialogs/suggested-recipients-form.tsx` (+408 -0) 📝 `apps/remix/app/components/embed/authoring/configure-document-recipients.tsx` (+0 -7) 📝 `apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page-renderer.tsx` (+1 -21) 📝 `apps/remix/app/components/general/envelope-editor/envelope-editor-fields-page.tsx` (+300 -10) 📝 `apps/remix/app/components/general/envelope-editor/envelope-editor-upload-page.tsx` (+2 -4) 📝 `apps/remix/app/components/general/envelope/envelope-drop-zone-wrapper.tsx` (+141 -11) 📝 `apps/remix/app/components/general/envelope/envelope-upload-button.tsx` (+221 -15) ➕ `apps/remix/app/utils/detect-document-fields.ts` (+39 -0) ➕ `apps/remix/app/utils/detect-document-recipients.ts` (+67 -0) 📝 `apps/remix/package.json` (+4 -0) ➕ `apps/remix/server/api/document-analysis/authorization.ts` (+61 -0) ➕ `apps/remix/server/api/document-analysis/debug-visualizer.ts` (+183 -0) ➕ `apps/remix/server/api/document-analysis/field-detection.ts` (+118 -0) ➕ `apps/remix/server/api/document-analysis/index.ts` (+180 -0) ➕ `apps/remix/server/api/document-analysis/index.types.ts` (+16 -0) _...and 23 more files_ </details> ### 📄 Description ## Demo - Auto detect recipients and fields https://github.com/user-attachments/assets/aa39e001-b6e9-48f0-bf7f-bb20a98a5da2 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:32:17 +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/documenso#2064
No description provided.