[PR #1760] [CLOSED] feat: add document attachments feature #1835

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1760
Author: @catalinpit
Created: 4/25/2025
Status: Closed

Base: mainHead: feat/add-attachments


📝 Commits (10+)

  • 1b67be9 feat: add document attachments feature
  • f7ee4d0 chore: merged main
  • 7ac48cb chore: add template attachment management feature
  • 396a7db feat: enhance document management by adding attachments support
  • e3f8e76 feat: enhance document schema and update attachment handling
  • 6980db5 feat: enhance document attachment handling and audit logging
  • dbacfaa feat: enhance document attachment updates and audit logging
  • d10ec43 fix: improve document attachment rendering logic
  • cec25ac feat: add support for attachments in template management
  • 6da5688 chore: simplify document attachment rendering in DocumentSigningForm

📊 Changes

31 files changed (+974 additions, -52415 deletions)

View changed files

apps/remix/app/components/general/document-signing/document-signing-attachments-dialog.tsx (+63 -0)
📝 apps/remix/app/components/general/document-signing/document-signing-page-view.tsx (+6 -2)
apps/remix/app/components/general/document/document-attachment-form.tsx (+192 -0)
apps/remix/app/components/general/template/template-attachment-form.tsx (+192 -0)
📝 apps/remix/app/components/tables/templates-table-action-dropdown.tsx (+3 -1)
📝 apps/remix/app/routes/_authenticated+/t.$teamUrl+/documents.$id.edit.tsx (+7 -5)
📝 apps/remix/app/routes/_authenticated+/t.$teamUrl+/templates.$id.edit.tsx (+2 -0)
📝 packages/lib/server-only/document/get-document-by-token.ts (+1 -0)
📝 packages/lib/server-only/template/create-document-from-template.ts (+10 -0)
packages/lib/translations/.gitignore (+0 -5)
packages/lib/translations/de/web.po (+0 -8731)
packages/lib/translations/es/web.po (+0 -8732)
packages/lib/translations/it/web.po (+0 -8737)
packages/lib/translations/ko/web.po (+0 -8731)
packages/lib/translations/nl/web.po (+0 -8732)
packages/lib/translations/sq/web.po (+0 -8731)
📝 packages/lib/types/document-audit-logs.ts (+25 -0)
📝 packages/lib/utils/document-audit-logs.ts (+4 -0)
packages/prisma/migrations/20250424072556_add_attachments/migration.sql (+22 -0)
packages/prisma/migrations/20250430063330_add_default_value_attachment_type/migration.sql (+2 -0)

...and 11 more files

📄 Description

The video below shows 3 scenarios:

  • adding and removing attachments to a document
  • adding and modifying attachments on a template
  • creating a document from a template that has attachments

https://github.com/user-attachments/assets/bc1ebb42-1126-4d04-ba39-6e0d043ee8da


🔄 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/1760 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 4/25/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/add-attachments` --- ### 📝 Commits (10+) - [`1b67be9`](https://github.com/documenso/documenso/commit/1b67be9099c328093c79ffb01fee6d40fb91facb) feat: add document attachments feature - [`f7ee4d0`](https://github.com/documenso/documenso/commit/f7ee4d0ba2f25874f61366039788536fbd1d35ea) chore: merged main - [`7ac48cb`](https://github.com/documenso/documenso/commit/7ac48cb3f5aee58917ac41d7e30d23d69617a35b) chore: add template attachment management feature - [`396a7db`](https://github.com/documenso/documenso/commit/396a7db587132a982c8b1d0c00ea99672bde48c7) feat: enhance document management by adding attachments support - [`e3f8e76`](https://github.com/documenso/documenso/commit/e3f8e76e6a24f088d6b1537af391475adfb315f1) feat: enhance document schema and update attachment handling - [`6980db5`](https://github.com/documenso/documenso/commit/6980db57d3a2d2251aafcc7a62a7ddc29094b58e) feat: enhance document attachment handling and audit logging - [`dbacfaa`](https://github.com/documenso/documenso/commit/dbacfaa841ea0ab13613669d3cc8a79ab35129db) feat: enhance document attachment updates and audit logging - [`d10ec43`](https://github.com/documenso/documenso/commit/d10ec437cf0da1223a80a2b680708164fba2d3ac) fix: improve document attachment rendering logic - [`cec25ac`](https://github.com/documenso/documenso/commit/cec25ac71958f70b96aba0c6bab5440e205d70b6) feat: add support for attachments in template management - [`6da5688`](https://github.com/documenso/documenso/commit/6da56887eef8f4f4c844852ee1a183fec54fe7ee) chore: simplify document attachment rendering in DocumentSigningForm ### 📊 Changes **31 files changed** (+974 additions, -52415 deletions) <details> <summary>View changed files</summary> ➕ `apps/remix/app/components/general/document-signing/document-signing-attachments-dialog.tsx` (+63 -0) 📝 `apps/remix/app/components/general/document-signing/document-signing-page-view.tsx` (+6 -2) ➕ `apps/remix/app/components/general/document/document-attachment-form.tsx` (+192 -0) ➕ `apps/remix/app/components/general/template/template-attachment-form.tsx` (+192 -0) 📝 `apps/remix/app/components/tables/templates-table-action-dropdown.tsx` (+3 -1) 📝 `apps/remix/app/routes/_authenticated+/t.$teamUrl+/documents.$id.edit.tsx` (+7 -5) 📝 `apps/remix/app/routes/_authenticated+/t.$teamUrl+/templates.$id.edit.tsx` (+2 -0) 📝 `packages/lib/server-only/document/get-document-by-token.ts` (+1 -0) 📝 `packages/lib/server-only/template/create-document-from-template.ts` (+10 -0) ➖ `packages/lib/translations/.gitignore` (+0 -5) ➖ `packages/lib/translations/de/web.po` (+0 -8731) ➖ `packages/lib/translations/es/web.po` (+0 -8732) ➖ `packages/lib/translations/it/web.po` (+0 -8737) ➖ `packages/lib/translations/ko/web.po` (+0 -8731) ➖ `packages/lib/translations/nl/web.po` (+0 -8732) ➖ `packages/lib/translations/sq/web.po` (+0 -8731) 📝 `packages/lib/types/document-audit-logs.ts` (+25 -0) 📝 `packages/lib/utils/document-audit-logs.ts` (+4 -0) ➕ `packages/prisma/migrations/20250424072556_add_attachments/migration.sql` (+22 -0) ➕ `packages/prisma/migrations/20250430063330_add_default_value_attachment_type/migration.sql` (+2 -0) _...and 11 more files_ </details> ### 📄 Description The video below shows 3 scenarios: - adding and removing attachments to a document - adding and modifying attachments on a template - creating a document from a template that has attachments https://github.com/user-attachments/assets/bc1ebb42-1126-4d04-ba39-6e0d043ee8da --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:31:16 +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#1835
No description provided.