[PR #1210] [MERGED] feat: move document to team #1476

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1210
Author: @ephraimduncan
Created: 6/30/2024
Status: Merged
Merged: 7/2/2024
Merged by: @Mythie

Base: mainHead: feat/move-document-to-team


📝 Commits (4)

  • 2f100a0 feat: move document to team
  • 2476e53 feat: add move document audit logs
  • 83841ab fix: update move dialog design and disable moving for teams
  • 80b9671 Merge branch 'main' into feat/move-document-to-team

📊 Changes

9 files changed (+272 additions, -2 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx (+17 -0)
apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx (+117 -0)
📝 apps/web/src/components/document/document-history-sheet.tsx (+1 -1)
📝 packages/lib/server-only/document/find-document-audit-logs.ts (+2 -1)
packages/lib/server-only/document/move-document-to-team.ts (+83 -0)
📝 packages/lib/types/document-audit-logs.ts (+14 -0)
📝 packages/lib/utils/document-audit-logs.ts (+4 -0)
📝 packages/trpc/server/document-router/router.ts (+29 -0)
📝 packages/trpc/server/document-router/schema.ts (+5 -0)

📄 Description

Summary by CodeRabbit

  • New Features

    • Introduced a new dialog component allowing users to move documents between teams.
    • Added audit logging for document movements between teams.
  • Enhancements

    • Updated document history to include a new type for tracking document movements between teams.
    • Improved feedback messages for document movement actions.
  • Bug Fixes

    • Improved control flow in the document history component to remove unnecessary code.
  • Backend Updates

    • Added backend support for moving documents to selected teams, including validations and audit log entries.

🔄 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/1210 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 6/30/2024 **Status:** ✅ Merged **Merged:** 7/2/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/move-document-to-team` --- ### 📝 Commits (4) - [`2f100a0`](https://github.com/documenso/documenso/commit/2f100a064bfbcaa1e3d9fbaa8b9b29ba0a18ab91) feat: move document to team - [`2476e53`](https://github.com/documenso/documenso/commit/2476e53b43228d2e8e1203a0531711420da7e86e) feat: add move document audit logs - [`83841ab`](https://github.com/documenso/documenso/commit/83841abbf122e4a7c7d28be237ac285f01f1f3d3) fix: update move dialog design and disable moving for teams - [`80b9671`](https://github.com/documenso/documenso/commit/80b9671f4c05d2e4783c41c446517f5594f07e3d) Merge branch 'main' into feat/move-document-to-team ### 📊 Changes **9 files changed** (+272 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx` (+17 -0) ➕ `apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx` (+117 -0) 📝 `apps/web/src/components/document/document-history-sheet.tsx` (+1 -1) 📝 `packages/lib/server-only/document/find-document-audit-logs.ts` (+2 -1) ➕ `packages/lib/server-only/document/move-document-to-team.ts` (+83 -0) 📝 `packages/lib/types/document-audit-logs.ts` (+14 -0) 📝 `packages/lib/utils/document-audit-logs.ts` (+4 -0) 📝 `packages/trpc/server/document-router/router.ts` (+29 -0) 📝 `packages/trpc/server/document-router/schema.ts` (+5 -0) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new dialog component allowing users to move documents between teams. - Added audit logging for document movements between teams. - **Enhancements** - Updated document history to include a new type for tracking document movements between teams. - Improved feedback messages for document movement actions. - **Bug Fixes** - Improved control flow in the document history component to remove unnecessary code. - **Backend Updates** - Added backend support for moving documents to selected teams, including validations and audit log entries. <!-- 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:26 +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#1476
No description provided.