[PR #1376] [MERGED] feat: add custom font sizes to fields #1593

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1376
Author: @ephraimduncan
Created: 10/2/2024
Status: Merged
Merged: 10/16/2024
Merged by: @Mythie

Base: mainHead: feat/custom-font-sizes


📝 Commits (3)

  • f992959 feat: add custom font sizes to fields
  • 3611288 fix: changes based on review
  • 4068038 fix: merge conflicts

📊 Changes

30 files changed (+663 additions, -186 deletions)

View changed files

📝 apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx (+1 -1)
📝 packages/lib/advanced-fields-validation/validate-checkbox.ts (+2 -7)
📝 packages/lib/advanced-fields-validation/validate-dropdown.ts (+6 -6)
packages/lib/advanced-fields-validation/validate-fields.ts (+19 -0)
📝 packages/lib/advanced-fields-validation/validate-number.ts (+6 -9)
📝 packages/lib/advanced-fields-validation/validate-radio.ts (+1 -5)
📝 packages/lib/advanced-fields-validation/validate-text.ts (+6 -6)
📝 packages/lib/server-only/pdf/insert-field-in-pdf.ts (+31 -16)
📝 packages/lib/server-only/pdf/insert-text-in-pdf.ts (+2 -1)
📝 packages/lib/translations/de/common.po (+58 -40)
packages/lib/translations/de/marketing.js (+1 -0)
packages/lib/translations/de/web.js (+1 -0)
📝 packages/lib/translations/en/common.po (+58 -40)
packages/lib/translations/en/marketing.js (+1 -0)
packages/lib/translations/en/web.js (+1 -0)
📝 packages/lib/translations/fr/common.po (+58 -40)
packages/lib/translations/fr/marketing.js (+1 -0)
packages/lib/translations/fr/web.js (+1 -0)
📝 packages/lib/types/field-meta.ts (+34 -0)
📝 packages/ui/primitives/document-flow/field-item-advanced-settings.tsx (+73 -4)

...and 10 more files

📄 Description

Description

Add custom font sizes to fields

https://github.com/user-attachments/assets/1473a4d7-8dc6-4ead-acf5-dd78be7782a0

Summary by CodeRabbit

Release Notes

  • New Features

    • Added support for advanced settings for new field types: Date, Email, Initials, and Name.
    • Introduced a font size configuration option for various field types, enhancing customization.
  • Improvements

    • Enhanced validation logic for checkbox, dropdown, radio, and text fields to include font size checks.
    • Updated translations for improved clarity and accuracy in multiple languages.
    • Improved handling of input values and default states for number fields.
  • Bug Fixes

    • Fixed state management issues in CheckboxField and ensured at least one checkbox value is always present.

These updates enhance user experience by providing more flexible field configurations and improved validation processes.


🔄 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/1376 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 10/2/2024 **Status:** ✅ Merged **Merged:** 10/16/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/custom-font-sizes` --- ### 📝 Commits (3) - [`f992959`](https://github.com/documenso/documenso/commit/f992959005f475860b7471dd8505f4bd260365a9) feat: add custom font sizes to fields - [`3611288`](https://github.com/documenso/documenso/commit/3611288beb55aa5cb4b3bb0d81f6ded6857157ff) fix: changes based on review - [`4068038`](https://github.com/documenso/documenso/commit/4068038d60efc308d20d20e532e6bedd868d0c03) fix: merge conflicts ### 📊 Changes **30 files changed** (+663 additions, -186 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx` (+1 -1) 📝 `packages/lib/advanced-fields-validation/validate-checkbox.ts` (+2 -7) 📝 `packages/lib/advanced-fields-validation/validate-dropdown.ts` (+6 -6) ➕ `packages/lib/advanced-fields-validation/validate-fields.ts` (+19 -0) 📝 `packages/lib/advanced-fields-validation/validate-number.ts` (+6 -9) 📝 `packages/lib/advanced-fields-validation/validate-radio.ts` (+1 -5) 📝 `packages/lib/advanced-fields-validation/validate-text.ts` (+6 -6) 📝 `packages/lib/server-only/pdf/insert-field-in-pdf.ts` (+31 -16) 📝 `packages/lib/server-only/pdf/insert-text-in-pdf.ts` (+2 -1) 📝 `packages/lib/translations/de/common.po` (+58 -40) ➕ `packages/lib/translations/de/marketing.js` (+1 -0) ➕ `packages/lib/translations/de/web.js` (+1 -0) 📝 `packages/lib/translations/en/common.po` (+58 -40) ➕ `packages/lib/translations/en/marketing.js` (+1 -0) ➕ `packages/lib/translations/en/web.js` (+1 -0) 📝 `packages/lib/translations/fr/common.po` (+58 -40) ➕ `packages/lib/translations/fr/marketing.js` (+1 -0) ➕ `packages/lib/translations/fr/web.js` (+1 -0) 📝 `packages/lib/types/field-meta.ts` (+34 -0) 📝 `packages/ui/primitives/document-flow/field-item-advanced-settings.tsx` (+73 -4) _...and 10 more files_ </details> ### 📄 Description ## Description Add custom font sizes to fields https://github.com/user-attachments/assets/1473a4d7-8dc6-4ead-acf5-dd78be7782a0 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Added support for advanced settings for new field types: Date, Email, Initials, and Name. - Introduced a font size configuration option for various field types, enhancing customization. - **Improvements** - Enhanced validation logic for checkbox, dropdown, radio, and text fields to include font size checks. - Updated translations for improved clarity and accuracy in multiple languages. - Improved handling of input values and default states for number fields. - **Bug Fixes** - Fixed state management issues in CheckboxField and ensured at least one checkbox value is always present. These updates enhance user experience by providing more flexible field configurations and improved validation processes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:55 +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#1593
No description provided.