[PR #633] [MERGED] Feat/duplicate document #1088

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/633
Author: @sean-brydon
Created: 11/7/2023
Status: Merged
Merged: 11/8/2023
Merged by: @Mythie

Base: feat/refreshHead: feat/duplicate-document


📝 Commits (4)

📊 Changes

4 files changed (+187 additions, -1 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx (+10 -1)
apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx (+101 -0)
packages/lib/server-only/document/duplicate-document-by-id.ts (+56 -0)
📝 packages/trpc/server/document-router/router.ts (+20 -0)

📄 Description

TODO:

  • Extract logic out of router into helper function
  • Make loading state correct in modal

Adds the ability to duplicate a document

Demo:
https://github.com/documenso/documenso/assets/55134778/61543afb-c7c1-4794-b428-eda20b67e32d

Screenies:

IPad
CleanShot 2023-11-07 at 23 21 33

Iphone
CleanShot 2023-11-07 at 23 21 12

Desktop
CleanShot 2023-11-07 at 23 20 52


🔄 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/633 **Author:** [@sean-brydon](https://github.com/sean-brydon) **Created:** 11/7/2023 **Status:** ✅ Merged **Merged:** 11/8/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `feat/refresh` ← **Head:** `feat/duplicate-document` --- ### 📝 Commits (4) - [`c17ba12`](https://github.com/documenso/documenso/commit/c17ba12edbc7790c3afa459215a7e9de6be91b4f) WIP - add router - [`3c1225b`](https://github.com/documenso/documenso/commit/3c1225bb7b0c09c3515d4d21f2b60b9f73c22b9b) add dialog component - [`48d086f`](https://github.com/documenso/documenso/commit/48d086fdbc9e16b3b9fe54a4057983e8ab75da3e) move router logic to helper fn - [`3deb2e9`](https://github.com/documenso/documenso/commit/3deb2e9162162d42f211bfd6593eaabf34259ba8) add inital data as data ### 📊 Changes **4 files changed** (+187 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx` (+10 -1) ➕ `apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx` (+101 -0) ➕ `packages/lib/server-only/document/duplicate-document-by-id.ts` (+56 -0) 📝 `packages/trpc/server/document-router/router.ts` (+20 -0) </details> ### 📄 Description TODO: - [x] Extract logic out of router into helper function - [x] Make loading state correct in modal Adds the ability to duplicate a document Demo: https://github.com/documenso/documenso/assets/55134778/61543afb-c7c1-4794-b428-eda20b67e32d Screenies: IPad ![CleanShot 2023-11-07 at 23 21 33](https://github.com/documenso/documenso/assets/55134778/c2d39923-bf70-4fd4-a9fc-e7c86b3a30a3) Iphone ![CleanShot 2023-11-07 at 23 21 12](https://github.com/documenso/documenso/assets/55134778/07e7297d-c6e3-46c4-ad66-f1199b18dc1b) Desktop ![CleanShot 2023-11-07 at 23 20 52](https://github.com/documenso/documenso/assets/55134778/5e71344b-6e5e-469e-9432-a69629192cd0) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:47 +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#1088
No description provided.