[PR #491] [MERGED] feat: delete draft document #1004

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/491
Author: @G3root
Created: 10/2/2023
Status: Merged
Merged: 10/10/2023
Merged by: @dguyen

Base: feat/refreshHead: delete-document


📝 Commits (10+)

  • ba50a77 feat: add delete document procedure
  • 5335396 feat: add cascade for document link
  • 83103e3 feat: add delete option
  • e4026b5 chore: remove migration
  • 66f04ae chore: remove formatting
  • c35b2a4 feat: add delete modal
  • de5a6ed Merge branch 'feat/refresh' into delete-document
  • 251387f chore: rename methods
  • a336516 refactor: rename modal
  • 6795ebf chore: delete modal route

📊 Changes

5 files changed (+145 additions, -1 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx (+16 -1)
apps/web/src/app/(dashboard)/documents/delete-draft-document-dialog.tsx (+89 -0)
packages/lib/server-only/document/delete-draft-document.ts (+13 -0)
📝 packages/trpc/server/document-router/router.ts (+21 -0)
📝 packages/trpc/server/document-router/schema.ts (+6 -0)

📄 Description

fixes #472

Screencast 2023-10-02 22:02:59.webm


🔄 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/491 **Author:** [@G3root](https://github.com/G3root) **Created:** 10/2/2023 **Status:** ✅ Merged **Merged:** 10/10/2023 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `feat/refresh` ← **Head:** `delete-document` --- ### 📝 Commits (10+) - [`ba50a77`](https://github.com/documenso/documenso/commit/ba50a77fecd6179ef1ab2b0d6becffdefd3d0c43) feat: add delete document procedure - [`5335396`](https://github.com/documenso/documenso/commit/5335396bd8f258233c72e4caa82f52c7ebfec972) feat: add cascade for document link - [`83103e3`](https://github.com/documenso/documenso/commit/83103e36c6cc9fdda711b9c226d9ace38fef4f8c) feat: add delete option - [`e4026b5`](https://github.com/documenso/documenso/commit/e4026b579fe185144232b0bb2406b1ec79de26dd) chore: remove migration - [`66f04ae`](https://github.com/documenso/documenso/commit/66f04ae53b733ef9acdb65e5a9f29491aebac83a) chore: remove formatting - [`c35b2a4`](https://github.com/documenso/documenso/commit/c35b2a4f8f77f0a4680860969759feb18da2e29c) feat: add delete modal - [`de5a6ed`](https://github.com/documenso/documenso/commit/de5a6ed751e536fe765a655501103483523a5e61) Merge branch 'feat/refresh' into delete-document - [`251387f`](https://github.com/documenso/documenso/commit/251387fccfd06b4f4eb35c50130a78a312823409) chore: rename methods - [`a336516`](https://github.com/documenso/documenso/commit/a336516aa68e082e3d1513156243e654c8fa388d) refactor: rename modal - [`6795ebf`](https://github.com/documenso/documenso/commit/6795ebf439072d4ed6dac7d9f247c506509b94a6) chore: delete modal route ### 📊 Changes **5 files changed** (+145 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx` (+16 -1) ➕ `apps/web/src/app/(dashboard)/documents/delete-draft-document-dialog.tsx` (+89 -0) ➕ `packages/lib/server-only/document/delete-draft-document.ts` (+13 -0) 📝 `packages/trpc/server/document-router/router.ts` (+21 -0) 📝 `packages/trpc/server/document-router/schema.ts` (+6 -0) </details> ### 📄 Description fixes #472 [Screencast 2023-10-02 22:02:59.webm](https://github.com/documenso/documenso/assets/84864519/e224d6c6-239b-4a00-9b53-8598d4408786) --- <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:25 +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#1004
No description provided.