[PR #757] [CLOSED] feat: Ability to add custom text field #1161

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/757
Author: @anikdhabal
Created: 12/11/2023
Status: Closed

Base: mainHead: issue#688


📝 Commits (5)

📊 Changes

20 files changed (+314 additions, -7 deletions)

View changed files

📝 apps/marketing/src/app/(marketing)/singleplayer/client.tsx (+2 -0)
apps/web/src/app/(signing)/sign/[token]/custom-field.tsx (+101 -0)
📝 apps/web/src/app/(signing)/sign/[token]/form.tsx (+28 -1)
📝 apps/web/src/app/(signing)/sign/[token]/page.tsx (+4 -0)
📝 apps/web/src/app/(signing)/sign/[token]/provider.tsx (+7 -0)
📝 packages/lib/server-only/field/set-fields-for-document.ts (+3 -0)
packages/prisma/migrations/20231211161128_custom_field/migration.sql (+5 -0)
📝 packages/prisma/schema.prisma (+2 -0)
📝 packages/trpc/server/field-router/router.ts (+1 -0)
📝 packages/trpc/server/field-router/schema.ts (+1 -0)
📝 packages/trpc/server/singleplayer-router/helper.ts (+1 -0)
📝 packages/trpc/server/singleplayer-router/router.ts (+1 -0)
📝 packages/trpc/server/singleplayer-router/schema.ts (+2 -0)
📝 packages/ui/primitives/document-flow/add-fields.tsx (+109 -3)
📝 packages/ui/primitives/document-flow/add-fields.types.ts (+1 -0)
📝 packages/ui/primitives/document-flow/add-signature.tsx (+41 -2)
📝 packages/ui/primitives/document-flow/add-signature.types.ts (+1 -0)
📝 packages/ui/primitives/document-flow/field-item.tsx (+1 -1)
📝 packages/ui/primitives/document-flow/single-player-mode-fields.tsx (+1 -0)
📝 packages/ui/primitives/document-flow/types.ts (+2 -0)

📄 Description

fixes #688

Loom Video:-

For SinglePlayerMode->

https://github.com/documenso/documenso/assets/81948346/cd9568af-3473-4399-93f3-ddc9625b42c9

For Main App->

https://github.com/documenso/documenso/assets/81948346/6f492227-9d60-486b-a273-a24f6a9b6545


🔄 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/757 **Author:** [@anikdhabal](https://github.com/anikdhabal) **Created:** 12/11/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `issue#688` --- ### 📝 Commits (5) - [`0737fb0`](https://github.com/documenso/documenso/commit/0737fb066ca9f57517541e2a40db7199af439830) feat: add custom field - [`d3e16a5`](https://github.com/documenso/documenso/commit/d3e16a5b2a2129bf515d3d391091cb62de2b6120) feat: add custom fields - [`7f02aeb`](https://github.com/documenso/documenso/commit/7f02aebffbb89af4d997de9bf29612b4dad57d7a) Merge branch 'main' into issue#688 - [`7f24738`](https://github.com/documenso/documenso/commit/7f24738c53372107464cef2ef22991d1e8ba280d) Update form.tsx - [`0c9677f`](https://github.com/documenso/documenso/commit/0c9677fb76196be9f4f49064e0b19664e03f05f8) Merge branch 'main' into issue#688 ### 📊 Changes **20 files changed** (+314 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `apps/marketing/src/app/(marketing)/singleplayer/client.tsx` (+2 -0) ➕ `apps/web/src/app/(signing)/sign/[token]/custom-field.tsx` (+101 -0) 📝 `apps/web/src/app/(signing)/sign/[token]/form.tsx` (+28 -1) 📝 `apps/web/src/app/(signing)/sign/[token]/page.tsx` (+4 -0) 📝 `apps/web/src/app/(signing)/sign/[token]/provider.tsx` (+7 -0) 📝 `packages/lib/server-only/field/set-fields-for-document.ts` (+3 -0) ➕ `packages/prisma/migrations/20231211161128_custom_field/migration.sql` (+5 -0) 📝 `packages/prisma/schema.prisma` (+2 -0) 📝 `packages/trpc/server/field-router/router.ts` (+1 -0) 📝 `packages/trpc/server/field-router/schema.ts` (+1 -0) 📝 `packages/trpc/server/singleplayer-router/helper.ts` (+1 -0) 📝 `packages/trpc/server/singleplayer-router/router.ts` (+1 -0) 📝 `packages/trpc/server/singleplayer-router/schema.ts` (+2 -0) 📝 `packages/ui/primitives/document-flow/add-fields.tsx` (+109 -3) 📝 `packages/ui/primitives/document-flow/add-fields.types.ts` (+1 -0) 📝 `packages/ui/primitives/document-flow/add-signature.tsx` (+41 -2) 📝 `packages/ui/primitives/document-flow/add-signature.types.ts` (+1 -0) 📝 `packages/ui/primitives/document-flow/field-item.tsx` (+1 -1) 📝 `packages/ui/primitives/document-flow/single-player-mode-fields.tsx` (+1 -0) 📝 `packages/ui/primitives/document-flow/types.ts` (+2 -0) </details> ### 📄 Description fixes #688 Loom Video:- For SinglePlayerMode-> https://github.com/documenso/documenso/assets/81948346/cd9568af-3473-4399-93f3-ddc9625b42c9 For Main App-> https://github.com/documenso/documenso/assets/81948346/6f492227-9d60-486b-a273-a24f6a9b6545 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:32:06 +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#1161
No description provided.