[PR #138] [CLOSED] feat: add name field #744

Closed
opened 2026-02-26 18:48:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/138
Author: @Mythie
Created: 4/19/2023
Status: Closed

Base: mainHead: feat/DOC-170-add-name-field


📝 Commits (10+)

  • b444d5c feat: add name field
  • 36195ed Merge branch 'main' into feat/DOC-170-add-name-field
  • 69ae50f fix: insert name on mount using recipient name
  • 12138c1 Merge branch 'main' into feat/DOC-170-add-name-field
  • 61a4b37 Merge branch 'main' into feat/DOC-170-add-name-field
  • 78765b2 Merge branch 'main' into feat/DOC-170-add-name-field
  • 6540f8f cleanup
  • 1e82329 pre env condition debug
  • 5073879 more debug
  • 353a3f6 pr env config debug

📊 Changes

9 files changed (+270 additions, -78 deletions)

View changed files

📝 apps/web/components/editor/field-type-selector.tsx (+9 -2)
apps/web/components/editor/name-dialog.tsx (+95 -0)
📝 apps/web/components/editor/pdf-signer.tsx (+141 -71)
📝 apps/web/components/editor/signable-field.tsx (+10 -2)
📝 apps/web/next.config.js (+4 -0)
📝 apps/web/pages/api/documents/[id]/sign.ts (+5 -1)
📝 packages/pdf/insertTextInPDF.ts (+3 -2)
packages/prisma/migrations/20230419055523_doc_170_add_name_field_type/migration.sql (+2 -0)
📝 packages/prisma/schema.prisma (+1 -0)

📄 Description

Adds support for a name field which will be pre-filled with the recipients name if they haven't signed a form on Documenso before.

Video of the functionality can be found below, do note that some styling has been done after the fact to reduce font sizes a little:

https://www.loom.com/share/e99ec698fd4242dc901c77b8f5986741

Closes #53


🔄 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/138 **Author:** [@Mythie](https://github.com/Mythie) **Created:** 4/19/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/DOC-170-add-name-field` --- ### 📝 Commits (10+) - [`b444d5c`](https://github.com/documenso/documenso/commit/b444d5c928765aa0aee55b25c881042f2811cebe) feat: add name field - [`36195ed`](https://github.com/documenso/documenso/commit/36195ed703ca2f8323246d09f753876f3d862ca8) Merge branch 'main' into feat/DOC-170-add-name-field - [`69ae50f`](https://github.com/documenso/documenso/commit/69ae50fdc8c0961153f9ac167cb623d87d1e049a) fix: insert name on mount using recipient name - [`12138c1`](https://github.com/documenso/documenso/commit/12138c1d97c08aa941aa04a1305cec1353275a7f) Merge branch 'main' into feat/DOC-170-add-name-field - [`61a4b37`](https://github.com/documenso/documenso/commit/61a4b371a7eafca85c9e78d6791273d5dc781888) Merge branch 'main' into feat/DOC-170-add-name-field - [`78765b2`](https://github.com/documenso/documenso/commit/78765b227a0d39e89f537b4a6d157d923f2ba085) Merge branch 'main' into feat/DOC-170-add-name-field - [`6540f8f`](https://github.com/documenso/documenso/commit/6540f8f34e50df962cc031977eee8fce10696bab) cleanup - [`1e82329`](https://github.com/documenso/documenso/commit/1e8232905743f3173d2aa58b52245e824b49c4b0) pre env condition debug - [`5073879`](https://github.com/documenso/documenso/commit/507387942c5477bb1434dc1be2da81337ff8ebe2) more debug - [`353a3f6`](https://github.com/documenso/documenso/commit/353a3f6e6419c9e7c8c18f33d03ebb0ca231ae27) pr env config debug ### 📊 Changes **9 files changed** (+270 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/components/editor/field-type-selector.tsx` (+9 -2) ➕ `apps/web/components/editor/name-dialog.tsx` (+95 -0) 📝 `apps/web/components/editor/pdf-signer.tsx` (+141 -71) 📝 `apps/web/components/editor/signable-field.tsx` (+10 -2) 📝 `apps/web/next.config.js` (+4 -0) 📝 `apps/web/pages/api/documents/[id]/sign.ts` (+5 -1) 📝 `packages/pdf/insertTextInPDF.ts` (+3 -2) ➕ `packages/prisma/migrations/20230419055523_doc_170_add_name_field_type/migration.sql` (+2 -0) 📝 `packages/prisma/schema.prisma` (+1 -0) </details> ### 📄 Description Adds support for a name field which will be pre-filled with the recipients name if they haven't signed a form on Documenso before. Video of the functionality can be found below, do note that some styling has been done after the fact to reduce font sizes a little: https://www.loom.com/share/e99ec698fd4242dc901c77b8f5986741 Closes #53 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:44 +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#744
No description provided.