[PR #1990] [MERGED] fix: refactor document router #1982

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1990
Author: @dguyen
Created: 8/24/2025
Status: Merged
Merged: 8/24/2025
Merged by: @Mythie

Base: mainHead: fix/refactor-document-router


📝 Commits (4)

  • 0cafbdf fix: refactor document router
  • cb22473 fix: strange bug
  • 6f1b7ec fix: strange bug
  • 2cea311 Merge branch 'main' into fix/refactor-document-router

📊 Changes

71 files changed (+1310 additions, -1072 deletions)

View changed files

📝 apps/remix/app/components/dialogs/document-delete-dialog.tsx (+1 -1)
📝 apps/remix/app/components/dialogs/document-duplicate-dialog.tsx (+3 -2)
📝 apps/remix/app/components/dialogs/document-resend-dialog.tsx (+1 -1)
📝 apps/remix/app/components/general/app-command-menu.tsx (+1 -1)
📝 apps/remix/app/components/general/document/document-audit-log-download-button.tsx (+1 -1)
📝 apps/remix/app/components/general/document/document-drop-zone-wrapper.tsx (+1 -1)
📝 apps/remix/app/components/general/document/document-edit-form.tsx (+16 -34)
📝 apps/remix/app/components/general/document/document-page-view-button.tsx (+1 -1)
📝 apps/remix/app/components/general/document/document-page-view-dropdown.tsx (+2 -2)
📝 apps/remix/app/components/general/document/document-page-view-recent-activity.tsx (+1 -1)
📝 apps/remix/app/components/general/document/document-upload.tsx (+1 -1)
📝 apps/remix/app/components/general/legacy-field-warning-popover.tsx (+1 -1)
📝 apps/remix/app/components/general/template/template-page-view-documents-table.tsx (+1 -1)
📝 apps/remix/app/components/general/template/template-page-view-recent-activity.tsx (+1 -1)
📝 apps/remix/app/components/tables/document-logs-table.tsx (+1 -1)
📝 apps/remix/app/components/tables/documents-table-action-button.tsx (+1 -1)
📝 apps/remix/app/components/tables/documents-table-action-dropdown.tsx (+2 -2)
📝 apps/remix/app/components/tables/documents-table.tsx (+1 -1)
📝 apps/remix/app/components/tables/inbox-table.tsx (+2 -3)
📝 apps/remix/app/routes/_authenticated+/t.$teamUrl+/documents._index.tsx (+2 -4)

...and 51 more files

📄 Description

Description

  • Refactor document TRPC router to follow new conventions
  • Restrict user prisma queries across the application

Todo:

  • Wait for E2E tests to pass
  • Compare openapi spec to ensure nothing broke during refactor
  • Double check response schemas

🔄 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/1990 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 8/24/2025 **Status:** ✅ Merged **Merged:** 8/24/2025 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/refactor-document-router` --- ### 📝 Commits (4) - [`0cafbdf`](https://github.com/documenso/documenso/commit/0cafbdfc775e11c4b25ff43b8b395c289124499c) fix: refactor document router - [`cb22473`](https://github.com/documenso/documenso/commit/cb224739ccf175317b14dcef8757239454c0288f) fix: strange bug - [`6f1b7ec`](https://github.com/documenso/documenso/commit/6f1b7ec9de85247da3ee44d86d19a1e67564d569) fix: strange bug - [`2cea311`](https://github.com/documenso/documenso/commit/2cea3119d76cfe578659aec1f2855ccd38dd3da8) Merge branch 'main' into fix/refactor-document-router ### 📊 Changes **71 files changed** (+1310 additions, -1072 deletions) <details> <summary>View changed files</summary> 📝 `apps/remix/app/components/dialogs/document-delete-dialog.tsx` (+1 -1) 📝 `apps/remix/app/components/dialogs/document-duplicate-dialog.tsx` (+3 -2) 📝 `apps/remix/app/components/dialogs/document-resend-dialog.tsx` (+1 -1) 📝 `apps/remix/app/components/general/app-command-menu.tsx` (+1 -1) 📝 `apps/remix/app/components/general/document/document-audit-log-download-button.tsx` (+1 -1) 📝 `apps/remix/app/components/general/document/document-drop-zone-wrapper.tsx` (+1 -1) 📝 `apps/remix/app/components/general/document/document-edit-form.tsx` (+16 -34) 📝 `apps/remix/app/components/general/document/document-page-view-button.tsx` (+1 -1) 📝 `apps/remix/app/components/general/document/document-page-view-dropdown.tsx` (+2 -2) 📝 `apps/remix/app/components/general/document/document-page-view-recent-activity.tsx` (+1 -1) 📝 `apps/remix/app/components/general/document/document-upload.tsx` (+1 -1) 📝 `apps/remix/app/components/general/legacy-field-warning-popover.tsx` (+1 -1) 📝 `apps/remix/app/components/general/template/template-page-view-documents-table.tsx` (+1 -1) 📝 `apps/remix/app/components/general/template/template-page-view-recent-activity.tsx` (+1 -1) 📝 `apps/remix/app/components/tables/document-logs-table.tsx` (+1 -1) 📝 `apps/remix/app/components/tables/documents-table-action-button.tsx` (+1 -1) 📝 `apps/remix/app/components/tables/documents-table-action-dropdown.tsx` (+2 -2) 📝 `apps/remix/app/components/tables/documents-table.tsx` (+1 -1) 📝 `apps/remix/app/components/tables/inbox-table.tsx` (+2 -3) 📝 `apps/remix/app/routes/_authenticated+/t.$teamUrl+/documents._index.tsx` (+2 -4) _...and 51 more files_ </details> ### 📄 Description ## Description - Refactor document TRPC router to follow new conventions - Restrict user prisma queries across the application Todo: - Wait for E2E tests to pass - Compare openapi spec to ensure nothing broke during refactor - Double check response schemas --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:31:55 +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#1982
No description provided.