[PR #1924] [CLOSED] feat: attachments #1932

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

📋 Pull Request Information

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

Base: mainHead: feat/add-attachments-reworked


📝 Commits (4)

  • f53fad8 feat: attachments
  • 2c89b08 chore: merge main
  • 90e40e4 chore: remove duplicate route
  • 01ff304 Merge branch 'main' into feat/add-attachments-reworked

📊 Changes

25 files changed (+996 additions, -19 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 (+5 -1)
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/types/document-audit-logs.ts (+25 -0)
📝 packages/lib/utils/document-audit-logs.ts (+4 -0)
packages/prisma/migrations/20250725090922_add_attachments/migration.sql (+28 -0)
📝 packages/prisma/schema.prisma (+36 -8)
packages/trpc/server/document-router/find-document-attachments.ts (+47 -0)
packages/trpc/server/document-router/find-document-attachments.types.ts (+16 -0)
📝 packages/trpc/server/document-router/router.ts (+6 -0)
packages/trpc/server/document-router/set-document-attachments.ts (+124 -0)
packages/trpc/server/document-router/set-document-attachments.types.ts (+26 -0)
packages/trpc/server/template-router/find-template-attachments.ts (+46 -0)
packages/trpc/server/template-router/find-template-attachments.types.ts (+16 -0)

...and 5 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/1924 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 7/25/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/add-attachments-reworked` --- ### 📝 Commits (4) - [`f53fad8`](https://github.com/documenso/documenso/commit/f53fad8cd7b28489a57a618707a587c69d1a28c7) feat: attachments - [`2c89b08`](https://github.com/documenso/documenso/commit/2c89b0805a0d5cb8415f6bbcbc39bf0f9344e50e) chore: merge main - [`90e40e4`](https://github.com/documenso/documenso/commit/90e40e436851c7e430312be518d83c8d97beb79b) chore: remove duplicate route - [`01ff304`](https://github.com/documenso/documenso/commit/01ff304e6ec1bc8983952c338e3fb2b727d5e0bc) Merge branch 'main' into feat/add-attachments-reworked ### 📊 Changes **25 files changed** (+996 additions, -19 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` (+5 -1) ➕ `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/types/document-audit-logs.ts` (+25 -0) 📝 `packages/lib/utils/document-audit-logs.ts` (+4 -0) ➕ `packages/prisma/migrations/20250725090922_add_attachments/migration.sql` (+28 -0) 📝 `packages/prisma/schema.prisma` (+36 -8) ➕ `packages/trpc/server/document-router/find-document-attachments.ts` (+47 -0) ➕ `packages/trpc/server/document-router/find-document-attachments.types.ts` (+16 -0) 📝 `packages/trpc/server/document-router/router.ts` (+6 -0) ➕ `packages/trpc/server/document-router/set-document-attachments.ts` (+124 -0) ➕ `packages/trpc/server/document-router/set-document-attachments.types.ts` (+26 -0) ➕ `packages/trpc/server/template-router/find-template-attachments.ts` (+46 -0) ➕ `packages/trpc/server/template-router/find-template-attachments.types.ts` (+16 -0) _...and 5 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:43 +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#1932
No description provided.