[PR #2379] [MERGED] feat: add audit logs to document details page #2259

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2379
Author: @Mythie
Created: 1/13/2026
Status: Merged
Merged: 1/13/2026
Merged by: @Mythie

Base: mainHead: feat/admin-document-audit-logs


📝 Commits (1)

  • 04e193a feat: add audit logs to document details page

📊 Changes

8 files changed (+326 additions, -0 deletions)

View changed files

📝 AGENTS.md (+2 -0)
apps/remix/app/components/tables/admin-document-logs-table.tsx (+210 -0)
📝 apps/remix/app/routes/_authenticated+/admin+/documents.$id.tsx (+25 -0)
packages/prisma/migrations/20260113022858_add_envelope_id_index_to_document_audit_log_table/migration.sql (+2 -0)
📝 packages/prisma/schema.prisma (+2 -0)
packages/trpc/server/admin-router/find-document-audit-logs.ts (+66 -0)
packages/trpc/server/admin-router/find-document-audit-logs.types.ts (+17 -0)
📝 packages/trpc/server/admin-router/router.ts (+2 -0)

📄 Description

  • Add collapsible audit logs section with paginated table
  • Add View JSON button to inspect raw audit log entries
  • Display legacy document ID and recipient roles
  • Add admin TRPC endpoint for fetching audit logs
  • Add database index on envelopeId for DocumentAuditLog table
image

🔄 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/2379 **Author:** [@Mythie](https://github.com/Mythie) **Created:** 1/13/2026 **Status:** ✅ Merged **Merged:** 1/13/2026 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/admin-document-audit-logs` --- ### 📝 Commits (1) - [`04e193a`](https://github.com/documenso/documenso/commit/04e193acc0ddee6958a6e056d0a3aa1886bf7eee) feat: add audit logs to document details page ### 📊 Changes **8 files changed** (+326 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `AGENTS.md` (+2 -0) ➕ `apps/remix/app/components/tables/admin-document-logs-table.tsx` (+210 -0) 📝 `apps/remix/app/routes/_authenticated+/admin+/documents.$id.tsx` (+25 -0) ➕ `packages/prisma/migrations/20260113022858_add_envelope_id_index_to_document_audit_log_table/migration.sql` (+2 -0) 📝 `packages/prisma/schema.prisma` (+2 -0) ➕ `packages/trpc/server/admin-router/find-document-audit-logs.ts` (+66 -0) ➕ `packages/trpc/server/admin-router/find-document-audit-logs.types.ts` (+17 -0) 📝 `packages/trpc/server/admin-router/router.ts` (+2 -0) </details> ### 📄 Description - Add collapsible audit logs section with paginated table - Add View JSON button to inspect raw audit log entries - Display legacy document ID and recipient roles - Add admin TRPC endpoint for fetching audit logs - Add database index on envelopeId for DocumentAuditLog table <img width="887" height="724" alt="image" src="https://github.com/user-attachments/assets/aeb904c9-515f-49e1-9f8f-513aef455678" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:33:07 +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#2259
No description provided.