[PR #1434] [MERGED] fix: duplicate templates #1629

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1434
Author: @dguyen
Created: 11/1/2024
Status: Merged
Merged: 11/1/2024
Merged by: @Mythie

Base: mainHead: fix/duplicate-template


📝 Commits (1)

📊 Changes

2 files changed (+13 additions, -5 deletions)

View changed files

📝 packages/lib/server-only/template/duplicate-template.ts (+12 -1)
📝 packages/ui/primitives/template-flow/add-template-settings.tsx (+1 -4)

📄 Description

Description

Fixes:

  • Missing meta when duplicating template
  • Templates overriding time zone

Summary by CodeRabbit

  • New Features

    • Enhanced template duplication functionality to include associated metadata.
    • Improved logic for setting default timezone in the template settings form.
  • Bug Fixes

    • Refined control flow for setting timezone based on template metadata.
  • Chores

    • Removed unnecessary localization dependency from the template settings component.

🔄 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/1434 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 11/1/2024 **Status:** ✅ Merged **Merged:** 11/1/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/duplicate-template` --- ### 📝 Commits (1) - [`5b525c9`](https://github.com/documenso/documenso/commit/5b525c9141813036aaa09c3f873ef92d7f3a15a4) fix: duplicate templates ### 📊 Changes **2 files changed** (+13 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/lib/server-only/template/duplicate-template.ts` (+12 -1) 📝 `packages/ui/primitives/template-flow/add-template-settings.tsx` (+1 -4) </details> ### 📄 Description ## Description Fixes: - Missing meta when duplicating template - Templates overriding time zone <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced template duplication functionality to include associated metadata. - Improved logic for setting default timezone in the template settings form. - **Bug Fixes** - Refined control flow for setting timezone based on template metadata. - **Chores** - Removed unnecessary localization dependency from the template settings component. <!-- 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:34:04 +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#1629
No description provided.