[PR #941] [CLOSED] feat: document version history view #1268

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/941
Author: @paolo
Created: 2/16/2024
Status: Closed

Base: mainHead: feat/doc-history-modal


📝 Commits (4)

  • 5f50b41 feat: add empty document history dialog
  • 944d235 feat: add function to get document audit logs by document id
  • 9467419 feat: add router method to get document audit logs by document id
  • 40d8485 feat: display plain and unstyled audit log records

📊 Changes

5 files changed (+114 additions, -0 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx (+15 -0)
apps/web/src/app/(dashboard)/documents/document-history-dialog.tsx (+61 -0)
packages/lib/server-only/document/get-document-audit-logs-by-document-id.ts (+17 -0)
📝 packages/trpc/server/document-router/router.ts (+17 -0)
📝 packages/trpc/server/document-router/schema.ts (+4 -0)

📄 Description

This PR adds UI to the existing DocumentAuditLog records.
version-history-action

Changes:

  • Added new function to fetch document audit logs by document id
  • Added the mentioned function into the document router
  • Added a new Action/Dialog within the Documents list, and fetch available audit logs for the selected document.

🔄 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/941 **Author:** [@paolo](https://github.com/paolo) **Created:** 2/16/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/doc-history-modal` --- ### 📝 Commits (4) - [`5f50b41`](https://github.com/documenso/documenso/commit/5f50b41861632cc3a3ea6f4bf43ca423bba6c888) feat: add empty document history dialog - [`944d235`](https://github.com/documenso/documenso/commit/944d235110b04def077792bdea92bee9123a938d) feat: add function to get document audit logs by document id - [`9467419`](https://github.com/documenso/documenso/commit/9467419d83595429fbc2dde834d2eab7b21affdb) feat: add router method to get document audit logs by document id - [`40d8485`](https://github.com/documenso/documenso/commit/40d8485a2c388d84f196fd60b132b324ee93348c) feat: display plain and unstyled audit log records ### 📊 Changes **5 files changed** (+114 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx` (+15 -0) ➕ `apps/web/src/app/(dashboard)/documents/document-history-dialog.tsx` (+61 -0) ➕ `packages/lib/server-only/document/get-document-audit-logs-by-document-id.ts` (+17 -0) 📝 `packages/trpc/server/document-router/router.ts` (+17 -0) 📝 `packages/trpc/server/document-router/schema.ts` (+4 -0) </details> ### 📄 Description This PR adds UI to the existing DocumentAuditLog records. <img width="1257" alt="version-history-action" src="https://github.com/documenso/documenso/assets/21358/3adb1846-8d49-46c4-887b-8e498cf9c1c2"> Changes: * Added new function to fetch document audit logs by document id * Added the mentioned function into the document router * Added a new Action/Dialog within the Documents list, and fetch available audit logs for the selected document. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:32:32 +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#1268
No description provided.