[PR #1650] [CLOSED] feat: dictate next signers in signing order #1769

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1650
Author: @ephraimduncan
Created: 2/14/2025
Status: Closed

Base: archive/nextjsHead: feat/dictate-signers


📝 Commits (5)

  • 4189a34 feat: dictate next signers in signing ordeR
  • 1e90ca4 chore: disable form on last signer
  • 00e402f chore: cleanup
  • 8b82d22 fix: build errors
  • 8a6942f chore: let user activily modify next signer

📊 Changes

22 files changed (+621 additions, -154 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx (+7 -16)
📝 apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx (+1 -0)
📝 apps/web/src/app/(signing)/sign/[token]/form.tsx (+82 -30)
📝 apps/web/src/app/(signing)/sign/[token]/page.tsx (+4 -1)
📝 apps/web/src/app/(signing)/sign/[token]/recipient-context.tsx (+0 -5)
📝 apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx (+357 -91)
📝 apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx (+3 -0)
📝 apps/web/src/app/embed/completed.tsx (+0 -1)
📝 packages/lib/server-only/document-meta/upsert-document-meta.ts (+4 -0)
📝 packages/lib/server-only/document/complete-document-with-token.ts (+59 -0)
packages/lib/server-only/recipient/get-is-last-recipient.ts (+46 -0)
📝 packages/lib/types/document.ts (+1 -0)
packages/prisma/migrations/20250213164804_add_modify_next_signer_meta/migration.sql (+2 -0)
packages/prisma/migrations/20250214131444_add_modify_signer_to_template_meta/migration.sql (+2 -0)
📝 packages/prisma/schema.prisma (+2 -0)
📝 packages/trpc/server/document-router/router.ts (+5 -5)
📝 packages/trpc/server/document-router/schema.ts (+1 -0)
📝 packages/trpc/server/recipient-router/router.ts (+2 -1)
📝 packages/trpc/server/recipient-router/schema.ts (+6 -0)
📝 packages/ui/primitives/document-flow/add-signers.tsx (+32 -0)

...and 2 more files

📄 Description

Demo

https://github.com/user-attachments/assets/13239723-e67d-4e02-9f51-7ee599ff7cbe


🔄 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/1650 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 2/14/2025 **Status:** ❌ Closed **Base:** `archive/nextjs` ← **Head:** `feat/dictate-signers` --- ### 📝 Commits (5) - [`4189a34`](https://github.com/documenso/documenso/commit/4189a34de0139b2921e396a6be235c26adfca34f) feat: dictate next signers in signing ordeR - [`1e90ca4`](https://github.com/documenso/documenso/commit/1e90ca45a62814392490a35a097e4e4b76827bb0) chore: disable form on last signer - [`00e402f`](https://github.com/documenso/documenso/commit/00e402f4cbcb154919464529601d9e31d6c99323) chore: cleanup - [`8b82d22`](https://github.com/documenso/documenso/commit/8b82d22f9f31357033eb770f94388b8051d3fd97) fix: build errors - [`8a6942f`](https://github.com/documenso/documenso/commit/8a6942f9dac2338103bc1923bed0db7c65153a49) chore: let user activily modify next signer ### 📊 Changes **22 files changed** (+621 additions, -154 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx` (+7 -16) 📝 `apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx` (+1 -0) 📝 `apps/web/src/app/(signing)/sign/[token]/form.tsx` (+82 -30) 📝 `apps/web/src/app/(signing)/sign/[token]/page.tsx` (+4 -1) 📝 `apps/web/src/app/(signing)/sign/[token]/recipient-context.tsx` (+0 -5) 📝 `apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx` (+357 -91) 📝 `apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx` (+3 -0) 📝 `apps/web/src/app/embed/completed.tsx` (+0 -1) 📝 `packages/lib/server-only/document-meta/upsert-document-meta.ts` (+4 -0) 📝 `packages/lib/server-only/document/complete-document-with-token.ts` (+59 -0) ➕ `packages/lib/server-only/recipient/get-is-last-recipient.ts` (+46 -0) 📝 `packages/lib/types/document.ts` (+1 -0) ➕ `packages/prisma/migrations/20250213164804_add_modify_next_signer_meta/migration.sql` (+2 -0) ➕ `packages/prisma/migrations/20250214131444_add_modify_signer_to_template_meta/migration.sql` (+2 -0) 📝 `packages/prisma/schema.prisma` (+2 -0) 📝 `packages/trpc/server/document-router/router.ts` (+5 -5) 📝 `packages/trpc/server/document-router/schema.ts` (+1 -0) 📝 `packages/trpc/server/recipient-router/router.ts` (+2 -1) 📝 `packages/trpc/server/recipient-router/schema.ts` (+6 -0) 📝 `packages/ui/primitives/document-flow/add-signers.tsx` (+32 -0) _...and 2 more files_ </details> ### 📄 Description ## Demo https://github.com/user-attachments/assets/13239723-e67d-4e02-9f51-7ee599ff7cbe --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:30:59 +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#1769
No description provided.